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

dm Ids API Documentation

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

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.

dm Ids API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/dm/ids
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "ids": [
            "3104754"
        ],
        "kind": "products",
        "limit": 100,
        "total": 5000,
        "offset": 0,
        "has_more": true
    },
    "meta": {
        "billable": true
    },
...

Parameters

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

Runnable path

This endpoint has no required query parameters.

3 optional filters available.

kind string Optional

products only.

Example value example
offset string Optional

Zero based offset into the id list.

Example value example
limit string Optional

Maximum ids to return.

Example value 10

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": {
        "ids": [
            "3104754"
        ],
        "kind": "products",
        "limit": 100,
        "total": 5000,
        "offset": 0,
        "has_more": true
    },
    "meta": {
        "billable": true
    },
    "success": true
}

Errors

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

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.

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.