Skip to content
Scrappa Get API key
Dunelm API 1 credit / request

Dunelm Sitemap API Documentation

GET https://scrappa.co/api/dunelm/sitemap

Dunelm Sitemap API reads the public sitemap index and its five child maps. The index lists the available maps. A child map lists urls with an ISO date, an optional product id and a type of product, category or static. Use those ids unchanged on the Product and Reviews routes.

Credits: 1 credit per successful request. Failed requests are not billed.

Dunelm Sitemap API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/dunelm/sitemap
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "map": "index",
        "maps": [
            "product-1",
            "product-2",
            "product-3",
            "category",
            "static"
        ],
        "items": [
            {
                "id": null,
                "url": "https://www.dunelm.com/sitemap/product-1-sitemap.xml",
...

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.

map string Optional

index, product-1, product-2, product-3, category or static. Default index.

Example value example
page integer Optional

One-based page inside the selected map.

Example value 1
per_page integer Optional

Items per page, up to 1000. Default 1000.

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": {
        "map": "index",
        "maps": [
            "product-1",
            "product-2",
            "product-3",
            "category",
            "static"
        ],
        "items": [
            {
                "id": null,
                "url": "https://www.dunelm.com/sitemap/product-1-sitemap.xml",
                "type": "static",
                "lastmod": null
            }
        ],
        "source": "dunelm",
        "pagination": {
            "page": 1,
            "total": 5,
            "per_page": 1000,
            "total_pages": 1,
            "has_next_page": false
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "sitemap"
    },
    "success": true
}

Errors

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

404

Not Found

The map has no items on the requested page. Not billed.

422

Validation Error

Send a valid sitemap map name. This response is not billed.

503

Upstream Unavailable

Dunelm sitemap is temporarily unavailable. Not billed.

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.