Skip to content
Scrappa Get API key
Agriaffaires API 1 credit / request

Agriaffaires Autocomplete API Documentation

GET https://scrappa.co/api/agriaffaires/v1/autocomplete

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.

Agriaffaires Autocomplete API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/agriaffaires/v1/autocomplete
Auth header
x-api-key
Cost
1 credit / request
value = example
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

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

Runnable path

1 required parameter needed before sending a request.

3 optional filters available.

value string Required

Search word, 1 to 80 characters.

Example value example
kind string Optional

search, rubric or model. Default search.

Example value example
rubric string Optional

Rubric id for model suggestions.

Example value example
make string Optional

Make id for model suggestions.

Example value example

Errors

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

API Error

Public data is temporarily unavailable.

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.