Skip to content
Scrappa Get API key
Datart API 42 credits / request

Datart Sitemap Ids API Documentation

GET https://scrappa.co/api/datart/categories

Datart Sitemap Ids API Documentation 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.

Datart Sitemap Ids API Documentation 42 credits / request

Endpoint

Request preview
GET
https://scrappa.co/api/datart/categories
Auth header
x-api-key
Cost
42 credits / request
Response preview
200 OK
{
    "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
    },
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

3 optional filters available.

sitemap string Optional

Optional sitemap file name from the first call.

Example value example
offset integer Optional

First entry to return, from 0.

Example value 10
limit integer Optional

Entries to return, 1 to 500.

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "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

Handle these documented responses before retrying or showing customer-facing failures.

502

Upstream Unavailable

Datart could not be reached. Retry. Not billed.

{
    "error": {
        "code": "UPSTREAM_UNAVAILABLE"
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.