Skip to content
Scrappa Get API key
dm-drogerie markt API 1-5 credits / request

dm Availability API Documentation

GET https://scrappa.co/api/dm/availability

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.

dm Availability API Documentation 1-5 credits / request

Endpoint

Request preview
GET
https://scrappa.co/api/dm/availability
Auth header
x-api-key
Cost
1-5 credits / request
dan = example store_ids = example
Response preview
200 OK
{
    "data": {
        "id": "3104754",
        "stores": [
            {
                "text": "Momentan verfuegbar (5 Stueck)",
                "store_id": "D424",
                "availability": "GREEN"
            }
        ]
    },
    "meta": {
        "billable": true
    },
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

dan string Required

DAN from dm.search or dm.ids.

Example value example
store_ids string Required

Comma separated store ids, at most 30.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

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

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

An id failed validation. No credit is charged.

503

Upstream Unavailable

The public data is temporarily unavailable. No credit is charged.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.