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

Dunelm Category API Documentation

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

Dunelm Category API lists the public products of a category page. Take a category path from the Sitemap route. Filter with price bounds and facet keys, sort with the four proven values and page through the results. Each product carries a numeric GBP price, rating, full-size image URLs and a in_stock field that is null in list rows; stock state is returned on the Product route only. Filtered results and the page label always match the request. A sitemap path whose category page no longer exists returns 422 and is not billed.

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

Dunelm Category API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/dunelm/category
Auth header
x-api-key
Cost
1 credit / request
path = example
Response preview
200 OK
{
    "data": {
        "path": "/category/home-and-furniture/bathroom/all-bathroom",
        "source": "dunelm",
        "products": [],
        "pagination": {
            "page": 1,
            "total": 1413,
            "per_page": 60,
            "total_pages": 24,
            "has_next_page": true
        }
    },
    "meta": {
...

Parameters

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

Runnable path

1 required parameter needed before sending a request.

4 optional filters available.

path string Required

Category path from the sitemap, for example /category/home-and-furniture/bathroom/all-bathroom.

Example value example
page integer Optional

One-based page number.

Example value 1
low-price.priceTaxed number Optional

Lowest price in GBP.

Example value 10
high-price.priceTaxed number Optional

Highest price in GBP.

Example value 10
orderBy string Optional

newest, price_asc, price_desc or biggest_discount.

Example value example

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": {
        "path": "/category/home-and-furniture/bathroom/all-bathroom",
        "source": "dunelm",
        "products": [],
        "pagination": {
            "page": 1,
            "total": 1413,
            "per_page": 60,
            "total_pages": 24,
            "has_next_page": true
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "category"
    },
    "success": true
}

Errors

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

404

Not Found

The category has no products on the requested page. Not billed.

422

Validation Error

Send a valid category path. This response is not billed.

503

Upstream Unavailable

Dunelm could not be reached. 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.