Fruit And Vegetables

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:
  1. Begin date in reverse chronological order
  2. End date in chronological order
  3. Member state name in alphabetical order
  4. Variety in alphabetical order
  5. Product stage in alphabetical order

Request parameters

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

Example of a request

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

Response fields

Path Type Description

[]

Array

Array with fruit and vegetable supply chain prices

[].memberStateCode

String

The code of the EU Member State.

[].memberStateName

String

The name of the EU Member State.

[].beginDate

String

The valid start date period of the fruit and vegetable supply chain price.

[].endDate

String

The valid end date period of the fruit and vegetable supply chain price.

[].price

String

The price of the fruit and vegetable supply chain price.

[].unit

String

The unit of the fruit and vegetable supply chain price.

[].periodType

String

The type (Week, Month, Third, Year) of the period of the fruit and vegetable supply chain price.

[].period

Number

The number of the period of the fruit and vegetable supply chain price.

[].year

Number

The year of the fruit and vegetable supply chain price.

[].variety

String

The variety of the fruit and vegetable supply chain price.

[].productStage

String

The product stage of the fruit and vegetable supply chain price.

[].market

String

The market of the fruit and vegetable supply chain price.

[].isCalculated

String

The flag to indicate that the fruit and vegetable supply chain price is calculated (Y) or not (N).

[].isRegulated

String

The flag to indicate that the fruit and vegetable supply chain price is regulated (Y) or not (N).

Example of a response

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"
} ]

Fruit and vegetable supply chain prices product stages

Example of a request

GET /api/fruitAndVegetable/pricesSupplyChain/productStages HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with fruit and vegetable supply chain product stages

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 73

[ "Ex-packaging station price", "Farmgate price", "Retail buying price" ]

Fruit and vegetable supply chain prices products

Example of a request

GET /api/fruitAndVegetable/pricesSupplyChain/products HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with fruit and vegetable supply chain products

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 94

[ "Apples", "Apples for processing", "Apricots", "Asparagus", "Avocados", "Bananas", "Beans" ]

Fruit and vegetable supply chain prices varieties

Example of a request

GET /api/fruitAndVegetable/pricesSupplyChain/varieties HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with fruit and vegetable supply chain varieties

Example of a response

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" ]