# Douglas Product API Documentation

<p><strong>Douglas Product API</strong> returns one product by the site code from search or suggest. It includes the base product id, EAN, description, numeric price and currency, original price and discount, numeric rating and review count, stock, full-size images and variants with per-shade price and image. Ingredients are returned when the site lists them.</p><p><strong>Cost:</strong> 1 credit per request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/douglas-api/douglas_product](https://scrappa.co/docs/douglas-api/douglas_product)
- **API group:** Douglas API
- **Endpoint:** `GET https://scrappa.co/api/douglas/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 | Yes | Site code from search or suggest, for example 5000005003. |
| `country` | string | No | Storefront de (default), at or ch. |

## Example response

```json
{
    "data": {
        "id": "5000005003",
        "ean": "4060000000001",
        "name": "Eau de Parfum",
        "brand": "Douglas",
        "price": {
            "current": 49.9,
            "currency": "EUR",
            "original": 69.9,
            "discount_percent": 28.6
        },
        "images": [
            "https://images.douglas.de/is/image/dgl/5000005003-0"
        ],
        "rating": 4.5,
        "variants": [
            {
                "id": "5000005004",
                "size": "50 ml",
                "image": "https://images.douglas.de/is/image/dgl/5000005004-0",
                "price": {
                    "current": 49.9,
                    "currency": "EUR"
                },
                "shade": "50 ml",
                "in_stock": true
            }
        ],
        "ingredients": "Alcohol, Parfum, Aqua",
        "base_product": "5000005003",
        "review_count": 120
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Error | The id is unknown or belongs to another storefront. Not billed. |
|  | Error | Douglas 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)
