# dm Ids API Documentation

<p>Read public product ids (DANs) from the dm sitemap. Feed them unchanged into dm.product, dm.products, dm.availability, dm.ratings and dm.reviews. For store ids use dm.stores: the store sitemap carries store numbers, not store ids. One credit per successful request.</p>

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

## 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 |
| --- | --- | --- | --- |
| `kind` | string | No | products only. |
| `offset` | string | No | Zero based offset into the id list. |
| `limit` | string | No | Maximum ids to return. |

## Example response

```json
{
    "data": {
        "ids": [
            "3104754"
        ],
        "kind": "products",
        "limit": 100,
        "total": 5000,
        "offset": 0,
        "has_more": true
    },
    "meta": {
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The offset or limit failed validation. No credit is charged. |
| 503 | Upstream Unavailable | The public id source 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)
