# Dunelm Product API Documentation

<p><strong>Dunelm Product API</strong> returns one product by its id or by a product url from Search or Sitemap. It carries a numeric price in GBP, the original price and discount, stock state, defining attributes as specs, breadcrumbs, brand and full-size image URLs. A short review summary and JSON-LD fallback data are included when the page provides them. Title, SKU, url, category and rating come from the live page data. The price is the displayed in-stock SKU, so it can differ from the Search row; the original price comes from that SKU or the product price range when available.</p><p><strong>Credits:</strong> 1 credit per successful request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/dunelm-api/dunelm_product](https://scrappa.co/docs/dunelm-api/dunelm_product)
- **API group:** Dunelm API
- **Endpoint:** `GET https://scrappa.co/api/dunelm/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | No | Product id from Search or Sitemap. Send id or url. |
| `url` | string | No | Product url from Search or Sitemap. Send url or id. |

## Example response

```json
{
    "data": {
        "id": "1000273779",
        "price": {
            "amount": 82.5,
            "currency": "GBP"
        },
        "specs": [
            {
                "label": "Colour",
                "value": "White"
            }
        ],
        "title": "4 Tier Heated Airer",
        "rating": {
            "count": 38,
            "average": 4.7
        },
        "source": "dunelm",
        "discount": 50,
        "in_stock": true,
        "image_urls": [
            "https://images.dunelm.com/1000273779.jpg?$standardplayerzoom$"
        ],
        "original_price": {
            "amount": 165,
            "currency": "GBP"
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The id or url has no public product. This response is not billed. |
| 422 | Validation Error | Send a product id or a dunelm.com product url. Not billed. |
| 503 | Upstream Unavailable | Dunelm could not be reached. Not billed. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
