# Agriaffaires Autocomplete API Documentation

<p>Return public word and category suggestions for a typed value. Kind selects search, rubric or model suggestions; model suggestions also need a rubric and make id. 1 credit per successful request. Failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/agriaffaires-api/agriaffaires_autocomplete](https://scrappa.co/docs/agriaffaires-api/agriaffaires_autocomplete)
- **API group:** Agriaffaires API
- **Endpoint:** `GET https://scrappa.co/api/agriaffaires/v1/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 |
| --- | --- | --- | --- |
| `kind` | string | No | search, rubric or model. Default search. |
| `value` | string | Yes | Search word, 1 to 80 characters. |
| `rubric` | string | No | Rubric id for model suggestions. |
| `make` | string | No | Make id for model suggestions. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Public data is temporarily unavailable. |  |

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