GET /api/fruitAndVegetable/pricesSupplyChain?years=2021,2022&memberStateCodes=AT&beginDate=01/01/2022&endDate=06/02/2022&products=oranges HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
IMPORTANT NOTE
The fruit and vegetable prices API has been decommissioned.
The successor fruit and vegetables supply chain prices API has been released, it contains the fruit and vegetables prices for all the stages (Ex-packaging, Farmgate, and Retail), including all the historical data from the previous API.
Times series of average fruit and vegetables supply chain prices per Member State. More information can be found on the Info tab of the portal’s fruit and vegetables prices (supply chain) app.
As for fruit and vegetables supply chain prices are ordered in the following manner:
| Parameter | Optional | Description |
|---|---|---|
|
memberStateCodes |
true |
The optional codes of the EU Member States. |
|
years |
true |
The optional year(s) to search for fruit and vegetable supply chain prices. |
|
beginDate |
true |
The optional date interval start to search for fruit and vegetable supply chain prices. |
|
endDate |
true |
The optional date interval end to search for fruit and vegetable supply chain prices. |
|
productStages |
true |
The optional product stage(s) to search for fruit and vegetable supply chain prices. For more details check the REST API : /api/fruitAndVegetable/pricesSupplyChain/productStages |
|
products |
true |
The optional product(s) to search for fruit and vegetable supply chain prices. For more details check the REST API : /api/fruitAndVegetable/pricesSupplyChain/products |
|
varieties |
true |
The optional variety(ies) to search for fruit and vegetable supply chain prices. For more details check the REST API : /api/fruitAndVegetable/pricesSupplyChain/varieties |
GET /api/fruitAndVegetable/pricesSupplyChain?years=2021,2022&memberStateCodes=AT&beginDate=01/01/2022&endDate=06/02/2022&products=oranges HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with fruit and vegetable supply chain prices |
|
|
|
The code of the EU Member State. |
|
|
|
The name of the EU Member State. |
|
|
|
The valid start date period of the fruit and vegetable supply chain price. |
|
|
|
The valid end date period of the fruit and vegetable supply chain price. |
|
|
|
The price of the fruit and vegetable supply chain price. |
|
|
|
The unit of the fruit and vegetable supply chain price. |
|
|
|
The type (Week, Month, Third, Year) of the period of the fruit and vegetable supply chain price. |
|
|
|
The number of the period of the fruit and vegetable supply chain price. |
|
|
|
The year of the fruit and vegetable supply chain price. |
|
|
|
The variety of the fruit and vegetable supply chain price. |
|
|
|
The product stage of the fruit and vegetable supply chain price. |
|
|
|
The market of the fruit and vegetable supply chain price. |
|
|
|
The flag to indicate that the fruit and vegetable supply chain price is calculated (Y) or not (N). |
|
|
|
The flag to indicate that the fruit and vegetable supply chain price is regulated (Y) or not (N). |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 392
[ {
"memberStateCode" : "AT",
"memberStateName" : "Austria",
"beginDate" : "31/01/2022",
"endDate" : "06/02/2022",
"price" : "€155.51",
"unit" : "€/100Kg",
"periodType" : "Week",
"period" : 5,
"year" : 2022,
"variety" : "Oranges - Navel",
"productStage" : "Retail buying price",
"market" : "National average (AT)",
"isCalculated" : "N",
"isRegulated" : "Y"
} ]
GET /api/fruitAndVegetable/pricesSupplyChain/productStages HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with fruit and vegetable supply chain product stages |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 73
[ "Ex-packaging station price", "Farmgate price", "Retail buying price" ]
GET /api/fruitAndVegetable/pricesSupplyChain/products HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with fruit and vegetable supply chain products |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 94
[ "Apples", "Apples for processing", "Apricots", "Asparagus", "Avocados", "Bananas", "Beans" ]
GET /api/fruitAndVegetable/pricesSupplyChain/varieties HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with fruit and vegetable supply chain varieties |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 155
[ "Apples - All types and varieties", "Apples - Boskoop", "Apples - Braeburn", "Apples - Cox orange", "Apples - Elstar", "Apples - Fuji", "Apples - Gala" ]