# dm Suggest API Documentation

<p>Read public search suggestions for a keyword. One credit per successful request.</p>

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

## 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 |
| --- | --- | --- | --- |
| `q` | string | Yes | Prefix to complete. |
| `limit` | string | No | Maximum suggestions, 1 to 20. |

## Example response

```json
{
    "data": {
        "query": "haut",
        "suggestions": []
    },
    "meta": {
        "billable": true
    },
    "success": true
}
```

## Errors

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