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

Dunelm Autocomplete API Documentation

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

Dunelm Autocomplete API returns public search suggestions for a query. Each suggestion has text, a url and a type. The query echoes the request. When the public service supplies no url, the suggestion url is a dunelm.com search url for its text; when it supplies no type, the type is suggestion. Brand and category attributes and the attribution token are returned when the public service supplies them. Up to 20 suggestions can be requested.

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

Dunelm Autocomplete API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/dunelm/autocomplete
Auth header
x-api-key
Cost
1 credit / request
q = coffee shops
Response preview
200 OK
{
    "data": {
        "query": "sofa",
        "brands": [
            "Dunelm"
        ],
        "source": "dunelm",
        "categories": [
            "Home and Furniture > Sofa Beds"
        ],
        "suggestions": [
            {
                "url": "https://www.dunelm.com/search?q=sofa%20bed",
                "text": "sofa bed",
...

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.

1 optional filter available.

q string Required

Partial search query, for example sofa.

Example value coffee shops
limit integer Optional

Maximum suggestions, up to 20. Default 5.

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": {
        "query": "sofa",
        "brands": [
            "Dunelm"
        ],
        "source": "dunelm",
        "categories": [
            "Home and Furniture > Sofa Beds"
        ],
        "suggestions": [
            {
                "url": "https://www.dunelm.com/search?q=sofa%20bed",
                "text": "sofa bed",
                "type": "suggestion",
                "attributes": []
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "autocomplete"
    },
    "success": true
}

Errors

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

422

Validation Error

Send a query of 1 to 100 characters. This response is not billed.

503

Upstream Unavailable

Dunelm autocomplete 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.