# RTV Euro AGD Autocomplete API Documentation

<p><strong>RTV Euro AGD Autocomplete API Documentation</strong> Suggest search terms for a prefix. Every suggestion carries its value, the category link name and the category suffix. Cost: 1 credit per successful request with suggestions. Failed and empty requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/rtveuroagd-api/rtveuroagd_autocomplete](https://scrappa.co/docs/rtveuroagd-api/rtveuroagd_autocomplete)
- **API group:** RTV Euro AGD API
- **Endpoint:** `GET https://scrappa.co/api/rtveuroagd/autocomplete`

## 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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Search prefix, for example czajnik. Required. |

## Example response

```json
{
    "data": {
        "query": "czajnik",
        "suggestions": [
            {
                "value": "czajnik elektryczny",
                "category_suffix": "bhtml",
                "category_link_name": "czajniki"
            }
        ]
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The query is missing. Not billed. |
| 502 | Upstream Unavailable | The source did not answer. Not billed. |
| 503 | Upstream Unavailable | No data route is available. Not billed. |
| 502 | Upstream Unavailable | The upstream response format has changed. Not billed. |

## 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)
