# Jumbo Search API Documentation

<p>Search the Jumbo catalogue by keyword. Items carry the SKU, name, full-size image, product URL and EUR prices. Original price, sale price and discount are numbers. Prices arrive in cents and are returned in euro. Page with <code>offset</code> and <code>limit</code> (cap 200). Sponsored duplicates are removed. An empty result with <code>count: 0</code> is a billable success. Failed requests are free. 1 credit per successful request. The only supported filter key is <code>brand</code>, for example <code>{"brand":["Jumbo"]}</code>. Other keys return 422 so a filter is never silently ignored.</p>

- **Documentation:** [https://scrappa.co/docs/jumbo-api/jumbo_search](https://scrappa.co/docs/jumbo-api/jumbo_search)
- **API group:** Jumbo API
- **Endpoint:** `GET https://scrappa.co/api/jumbo/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | Yes | Search text, 1 to 120 characters, e.g. mango. |
| `offset` | integer | No | Zero-based result offset. Default 0. |
| `limit` | integer | No | Page size, 1 to 200. Default 24. |
| `sort` | string | No | PRICE_ASC or PRICE_DESC. |
| `filters` | object | No | JSON object of filter key to values. Only {"brand":["Jumbo"]} is supported; other keys return 422. |

## Example response

```json
{
    "data": {
        "count": 183,
        "items": [
            {
                "sku": "211863BAK",
                "url": "https://www.jumbo.com/producten/jumbo-mango-779641STK",
                "name": "Jumbo Mango",
                "unit": "pieces",
                "image": "https://www.jumbo.com/dam-images/fit-in/360x360/Products/mango.png",
                "price": 1,
                "on_sale": true,
                "currency": "EUR",
                "discount": 0.99,
                "sale_price": 1,
                "unit_price": 1,
                "regular_price": 1.99
            }
        ],
        "limit": 2,
        "query": "mango",
        "offset": 0,
        "search_type": "keyword",
        "has_next_page": true
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a value is invalid. Not billable. |
| 404 | Not Found | No Jumbo resource matched the given id. Not billable. |
| 503 | Upstream Unavailable | Jumbo could not be reached. Not billable. Retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
