---
title: "Agriaffaires API: Price Index | Perceptlayer"
description: "Price Index from Agriaffaires as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/agriaffaires/price-index
---

[APIs](https://perceptlayer.com/apis) / [Agriaffaires](https://perceptlayer.com/apis/agriaffaires) / Price Index

# Agriaffaires: Price Index

Price Index from Agriaffaires as JSON. 1 credit per successful call.

GET `/v1/agriaffaires/price-index`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `rubric` | string | Required | Up to 20 characters |
| `make` | string | Required | Up to 20 characters |
| `model` | string | Required | Up to 40 characters |
| `year` | string | Required | Up to 4 characters |

## Example request

Agriaffaires

GET /v1/agriaffaires/price-index?rubric=510&make=4039&model=6r195&year=2024 

```
{
  "success": true,
  "data": {
    "rubric": "510",
    "make": "4039",
    "model": "6r195",
    "year": "2024",
    "price_index": {
      "price_min": 126701,
      "price_max": 175000,
      "price_average": 158517,
      "number_classified": 23,
      "number_classified_online": 17,
      "rows": [
        {
          "referential_model_id": 1271301,
          "data_type": "Y",
          "data_value": 2024,
          "price_min": 126701,
          "price_max": 175000,
          "price_average": 158517,
          "number_classified": 23,
          "number_classified_online": 17
        }
      ]
    }
  },
  "meta": {
    "endpoint_family": "price_index"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/agriaffaires?try=price-index#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `rubric` | string |
| `make` | string |
| `model` | string |
| `year` | string |
| `price_index` | object |
