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

Agriaffaires Price Index API Documentation

GET https://scrappa.co/api/agriaffaires/v1/price-index

Read the public price observatory for one rubric, make, model and year. Ids come only from the price-taxonomy endpoint. Returns numeric price_min, price_max, price_average, number_classified and number_classified_online. 1 credit per successful request. Failed requests are free.

Agriaffaires Price Index API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/agriaffaires/v1/price-index
Auth header
x-api-key
Cost
1 credit / request
rubric = example make = example model = 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

4 required parameters needed before sending a request.

rubric string Required

Rubric id from price-taxonomy.

Example value example
make string Required

Make id from price-taxonomy.

Example value example
model string Required

Model id from price-taxonomy.

Example value example
year string Required

Four digit year.

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.