# dm Product API Documentation

<p>Read public dm product detail by DAN from search or dm.ids: numeric price, original price, discount, base price when dm shows one, ingredients from description groups, full size images and breadcrumbs. Rating and review count come from the public ratings summary. The structured_data field is passed through from the public source. One credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/dm-api/dm_product](https://scrappa.co/docs/dm-api/dm_product)
- **API group:** dm-drogerie markt API
- **Endpoint:** `GET https://scrappa.co/api/dm/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 |
| --- | --- | --- | --- |
| `dan` | string | Yes | DAN from a dm search result or dm.ids. |

## Example response

```json
{
    "data": {
        "product": {
            "id": "3104754",
            "ean": "4015600461234",
            "name": "NIVEA Creme",
            "price": 4.99,
            "images": [
                "https://products.dm.de/full.jpg"
            ],
            "rating": 4.6,
            "currency": "EUR",
            "discount": 2,
            "base_price": {
                "unit": "kg",
                "value": 49.9
            },
            "review_count": 812,
            "original_price": 6.99,
            "description_groups": []
        }
    },
    "meta": {
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The product id failed validation. No credit is charged. |
| 503 | Upstream Unavailable | The public data is temporarily unavailable. No credit is charged. |

## 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)
