# Agriaffaires Price Index API Documentation

<p>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.</p>

- **Documentation:** [https://scrappa.co/docs/agriaffaires-api/agriaffaires_price_index](https://scrappa.co/docs/agriaffaires-api/agriaffaires_price_index)
- **API group:** Agriaffaires API
- **Endpoint:** `GET https://scrappa.co/api/agriaffaires/v1/price-index`

## 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 |
| --- | --- | --- | --- |
| `rubric` | string | Yes | Rubric id from price-taxonomy. |
| `make` | string | Yes | Make id from price-taxonomy. |
| `model` | string | Yes | Model id from price-taxonomy. |
| `year` | string | Yes | Four digit year. |

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