GET /api/fruitAndVegetable/prices?memberStateCodes=PT,SI&products=oranges&months=1,2,3&beginDate=12/02/2018&endDate=23/03/2020 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
IMPORTANT NOTE
The fruit and vegetable prices API is not receiving updated figures and will be decommissioned in the first half of 2025.
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).
Times series of average fruit and vegetables prices and supply chain prices per Member State and for the European Union (not for supply chain prices), showing prices in the full range from 2005 and 2010 respectively. 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. |
calendarYears |
true |
The optional calendar year(s) to search for fruit and vegetable prices. |
months |
true |
The optional month(s) to search for fruit and vegetable. |
weeks |
true |
The optional week(s) of a year to search for fruit and vegetable. The first week of January is number 1. |
beginDate |
true |
The optional date interval start to search for fruit and vegetable prices. |
endDate |
true |
The optional date interval end to search for fruit and vegetable prices. |
products |
true |
The optional product(s) to search for fruit and vegetable prices. |
varieties |
true |
The optional variety(ies) to search for fruit and vegetable prices. |
GET /api/fruitAndVegetable/prices?memberStateCodes=PT,SI&products=oranges&months=1,2,3&beginDate=12/02/2018&endDate=23/03/2020 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with fruit and vegetable 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 price. |
|
|
The valid end date period of the fruit and vegetable price. |
|
|
The week number of the year. |
|
|
The product of the fruit and vegetable. |
|
|
The variety of the fruit and vegetable. |
|
|
The description of the fruit and vegetable. |
|
|
The unit of the fruit and vegetable. |
|
|
The price of the fruit and vegetable. |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 306
[ {
"memberStateCode" : "PT",
"memberStateName" : "Portugal",
"beginDate" : "23/03/2019",
"endDate" : "30/04/2019",
"weekNumber" : 5,
"price" : "€180.17",
"unit" : "100 KG",
"product" : "oranges",
"variety" : "all types and varieties",
"description" : "Portugal - oranges - navel"
} ]
GET /api/fruitAndVegetable/products HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Fruit and Vegetable products |
|
|
The name of the product. |
|
|
The product group code of the fruit and vegetable. |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 124
[ {
"product" : "strawberries",
"productGroupCode" : "FRA"
}, {
"product" : "apples",
"productGroupCode" : "POM"
} ]
GET /api/fruitAndVegetable/varieties HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Fruit and Vegetable varieties |
|
|
The name of the variety. |
|
|
The name of the product. |
|
|
The code of the product. |
|
|
The product group code of the fruit and vegetable. |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 273
[ {
"variety" : "All types and varieties",
"productName" : "strawberries",
"productCode" : "FRACL1",
"productGroupCode" : "FRA"
}, {
"variety" : "Fuji - Cat. I - Cal. 70-80",
"productName" : "apples",
"productCode" : "POMFUJ",
"productGroupCode" : "POM"
} ]
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" ]