# Jumbo Categories API Documentation

<p>Return the public Jumbo category tree. Each node has a name, a full URL and a <code>friendly_url</code> slug. Feed that slug into the category endpoint. This is the public id source for category browsing. 1 credit per successful request.</p>

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

## 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.

## Example response

```json
{
    "data": {
        "count": 1,
        "categories": [
            {
                "url": "https://www.jumbo.com/producten/groente-fruit/",
                "name": "Groente en fruit",
                "children": [
                    {
                        "url": "https://www.jumbo.com/producten/groente-fruit/fruit/",
                        "name": "Fruit",
                        "friendly_url": "groente-fruit/fruit"
                    }
                ],
                "friendly_url": "groente-fruit"
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "categories"
    },
    "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)
