# dm Ratings API Documentation

<p>Read the public average rating and review count for up to 25 comma separated DANs in one call. The ratings field is passed through from the public source, so its shape may change. One credit per successful request.</p>

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

## 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 |
| --- | --- | --- | --- |
| `dans` | string | Yes | Comma separated DANs from dm.search or dm.ids, at most 25. |

## Example response

```json
{
    "data": {
        "ids": [
            "3104754"
        ],
        "ratings": []
    },
    "meta": {
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The id list 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)
