# Datart Sitemap Ids API Documentation

<p><strong>Datart Sitemap Ids API Documentation</strong> Call without a sitemap to list public sitemap file names. Pass one file name back to read typed entries with the priority the sitemap declares. Use offset and limit to bound the response. Slugs feed the category, product and reviews routes unchanged. Cost: 42 credits per successful request; a product sitemap child transfers about 0.93 MB.</p>

- **Documentation:** [https://scrappa.co/docs/datart-api/datart_categories](https://scrappa.co/docs/datart-api/datart_categories)
- **API group:** Datart API
- **Endpoint:** `GET https://scrappa.co/api/datart/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 |
| --- | --- | --- | --- |
| `sitemap` | string | No | Optional sitemap file name from the first call. |
| `offset` | integer | No | First entry to return, from 0. |
| `limit` | integer | No | Entries to return, 1 to 500. |

## Example response

```json
{
    "data": {
        "total": 3122,
        "offset": 0,
        "entries": [
            {
                "url": "https://www.datart.cz/lg-oled-tv.html",
                "slug": "lg-oled-tv",
                "priority": 0.9
            }
        ],
        "sitemap": "sitemap-articles-1.xml",
        "returned": 1
    },
    "meta": {
        "credits": 42,
        "billable": true,
        "endpoint_family": "categories"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 502 | Upstream Unavailable | Datart could not be reached. Retry. Not billed. |

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