# SNIPES Categories API Documentation

<p><strong>SNIPES Categories API</strong> lists the public category ids and names from the SNIPES category sitemap. Pass an <code>id</code> to the search route to browse that category with sort, filters and true paging.</p><p><strong>Cost:</strong> 1 credit per request. Failed requests are not billed. Only the soaked locale <code>de</code> is accepted. The category id is passed unchanged to the search route.</p>

- **Documentation:** [https://scrappa.co/docs/snipes-api/snipes_categories](https://scrappa.co/docs/snipes-api/snipes_categories)
- **API group:** SNIPES API
- **Endpoint:** `GET https://scrappa.co/api/snipes/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.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `locale` | string | No | Store locale. Only de is soaked. |

## Example response

```json
{
    "data": {
        "ids": [
            {
                "id": "51",
                "url": "https://www.snipes.com/de-de/c/schuhe-sneaker-51",
                "name": "schuhe sneaker"
            }
        ],
        "locale": "de"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "categories"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 503 | Upstream Unavailable | The sitemap could not be reached or held no ids. This response is not billable. |

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