# dm Availability API Documentation

<p>Read public in-store availability for one DAN at up to 30 store ids. Use store_id values from dm.stores, for example D424,D096. Numeric store numbers return 422. One credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/dm-api/dm_availability](https://scrappa.co/docs/dm-api/dm_availability)
- **API group:** dm-drogerie markt API
- **Endpoint:** `GET https://scrappa.co/api/dm/availability`

## 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 dm.search or dm.ids. |
| `store_ids` | string | Yes | Comma separated store ids, at most 30. |

## Example response

```json
{
    "data": {
        "id": "3104754",
        "stores": [
            {
                "text": "Momentan verfuegbar (5 Stueck)",
                "store_id": "D424",
                "availability": "GREEN"
            }
        ]
    },
    "meta": {
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | An 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)
