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.
Run this endpoint
Endpoint
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.
string
Required
Partial search query, for example sofa.
coffee shops
integer
Optional
Maximum suggestions, up to 20. Default 5.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"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.
Validation Error
Send a query of 1 to 100 characters. This response is not billed.
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.