Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: ProofPrice Farm and wholesale food prices API
termsOfService: https://proofprice.com/terms
contact:
name: ProofPrice
email: hello@proofprice.com
url: https://proofprice.com
license:
name: ProofPrice terms of use
url: https://proofprice.com/terms
x-logo:
url: https://proofprice.com/icon-512.png
version: 0.4.0
description: 'What did people actually pay for X, here, recently? Returns a price range from official open data: median, 10th–90th percentile, sample size, period, confidence, source and licence. Aggregates only; never individual records. The data keeps each source''s own licence: every answer names its source, that source''s licence and the attribution line to show, so reuse follows the publisher''s licence. The ProofPrice terms of use govern use of the API itself. Free, read-only, no API key. A few premium calls (price check, daily history) cost a few cents each after a free daily allowance, paid per call with x402; see https://proofprice.com/pricing and https://proofprice.com/pricing.json.'
servers:
- url: https://proofprice.com
tags:
- name: Farm and wholesale food prices
description: 'Farm and wholesale food prices: AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, MT, NL, PL, PT, RO, SK, SI, ES and SE. Sources: Producer prices for agricultural and forestry products, monthly (STATISTIK AUSTRIA), Agri-food data portal: agricultural market prices (cereals, beef, pigmeat, sheepmeat, poultry, eggs, raw milk, dairy, olive oil, fruit and vegetables), Producer prices of meat, milk and eggs, monthly (Natural Resources Institute Finland, Luke, tables 0200, 0100 and 0300), Prix moyens payes aux producteurs, cereales et oleoproteagineux (FranceAgriMer) and Prices of agricultural products, monthly (Statistics Poland, GUS).'
paths:
/api/v1/farm-prices:
get:
operationId: farmPrices
tags:
- Farm and wholesale food prices
summary: Farm and wholesale food prices (AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR…
description: 'Use this when a user asks what farmers or wholesalers get for a food commodity (wheat, barley, maize, beef, pigs, lamb, chicken, eggs, milk, butter and other dairy products, olive oil, fruit and vegetables) in Austria, EU member states, Finland, France or Poland, how that price compares with last week, last month or a year ago, or how high it is against the last 12 months. Returns the latest official price for the country and product, per tonne or per 100 kg and per kg, for the week (milk: month) it applies to, the stage of the supply chain it is quoted at (farm gate, ex-silo, carcass, ex-packaging station), the change from the previous period and from a year earlier, the last 12 months, the other series the portal holds, and the official source and licence. This is a published price (price_type official_statistic), not a range built from trades, so the range fields are null and there is no sample size. How fresh: Austria: monthly; the September 2026 sheet was published on 4 Nov 2026 (about five weeks after the month); EU member states: weekly for most products (raw milk monthly), updated as Member States report, usually within days (raw milk about two weeks after the month ends). Each answer states its week or month and flags quotes that are older than usual (fruit and vegetables are only quoted in season); Finland: monthly; the newest month in the tables on 23 Oct 2026 was August 2026 (published about two months later); France: quarterly, not live: the newest file read on 8 November 2026 runs to 30 June 2026 (campaign 2025/26); every answer states its campaign and quarter; Poland: monthly; the September 2026 tables were published on 22 Oct 2026 (about three weeks after the month). Always read the period in the answer: an old quote is flagged and given lower confidence. Do not use for supermarket or shop prices, for the price of a particular farm, field, animal or meal, for farmland, for fuel or energy, for futures or stock-market prices, or for other countries.'
parameters:
- name: country
in: query
required: true
description: 'AT = Austria (STATISTIK AUSTRIA: monthly producer prices of rapeseed, soybeans, potatoes, sunflower, poppy and pumpkin seed, turkey, carp, trout, hay, straw, game and grapes; other Austrian products come from the EU portal); EU member states, as ISO codes (GR for Greece): AT = Austria, BE = Belgium, BG = Bulgaria, HR = Croatia, CY = Cyprus, CZ = Czechia, DK = Denmark, EE = Estonia, FI = Finland, FR = France, DE = Germany, GR = Greece, HU = Hungary, IE = Ireland, IT = Italy, LV = Latvia, LT = Lithuania, MT = Malta, NL = Netherlands, PL = Poland, PT = Portugal, RO = Romania, SK = Slovakia, SI = Slovenia, ES = Spain, SE = Sweden. Not covered: LU (the portal holds no Luxembourg prices) and countries outside the EU such as GB and NO. Not every country reports every product (olive oil: ES, IT, PT, GR and HR only; dairy products about 16 countries); the answer says when a product is missing.; FI = Finland (Luke, Natural Resources Institute Finland: monthly average producer prices of beef, pigs, lamb, broilers, eggs and raw milk; other Finnish products come from the EU portal); FR = France (FranceAgriMer: quarterly average prices paid to producers for rapeseed, sunflower, peas, soya and other oilseeds, pulses and minor cereals; wheat, barley, maize and other main cereals come from the EU portal); PL = Poland (Statistics Poland, GUS: monthly procurement prices paid to farmers for cereals, potatoes, cattle, pigs, poultry and cows'' milk; other Polish products come from the EU portal)'
schema:
type: string
enum:
- AT
- BE
- BG
- HR
- CY
- CZ
- DK
- EE
- FI
- FR
- DE
- GR
- HU
- IE
- IT
- LV
- LT
- MT
- NL
- PL
- PT
- RO
- SK
- SI
- ES
- SE
- name: product
in: query
required: true
description: 'The product, e.g. ''wheat'', ''barley'', ''beef'', ''pig'', ''lamb'', ''chicken'', ''eggs'', ''milk'', ''butter'', ''olive oil'', ''tomatoes'', ''apples''. The full list is in the tool notes. AT: rapeseed, soybeans, sunflower seed, poppy seed, pumpkin seed, potatoes, turkey, carp, trout, hay, straw, roe deer, red deer, wild boar, chamois, white grapes, red grapes (STATISTIK AUSTRIA''s own monthly producer prices, net of VAT: oilseeds, potatoes, hay and straw per tonne, game and fish per kg, turkey and grapes per 100 kg). Other products (pig, cattle, milk, eggs, wheat ...) are answered from the European Commission portal. EU: required. The product, by name; aliases such as ''pork'', ''corn'', ''tomato'' are understood. Prices are weekly (raw milk monthly), per tonne for cereals and per 100 kg otherwise (piglets per head), each answer also gives the price per kg. Cereals (per tonne): wheat, milling wheat, feed wheat, durum wheat, barley, malting barley, maize, rye, oats, triticale. Beef (per 100 kg of carcass): beef, young bull, steer, heifer, cow, calf. Pigs, lamb and poultry meat (per 100 kg; piglets per head): pig, piglet, lamb, heavy lamb, light lamb, chicken, chicken breast, chicken legs. Eggs (per 100 kg): eggs, barn eggs, cage eggs, free range eggs, organic eggs. Milk and dairy (per 100 kg): milk, organic milk, butter, skimmed milk powder, whole milk powder, cheddar, gouda, edam, emmental, whey powder, cream, drinking milk. Olive oil (per 100 kg): olive oil, extra virgin olive oil, virgin olive oil, lampante olive oil. Fruit and vegetables (per 100 kg): apples, pears, peaches, nectarines, apricots, cherries, plums, strawberries, oranges, lemons, mandarins, clementines, bananas, table grapes, kiwis, melons, water melons, tomatoes, cucumbers, courgettes, peppers, egg plants, lettuces, cauliflowers, carrots, onions, cabbage, leeks, garlic, mushrooms, beans, asparagus, avocados. Products with several series (wheat: milling then feed; pig: class E; beef: adult male cattle indicative price) show the usual one and list the others in extra.other_series. Fruit and vegetables are only quoted in season. FI: pig, beef, young bull, heifer, cow, calf, lamb, chicken, eggs, barn eggs, free range eggs, organic eggs, cage eggs, milk (Luke''s own monthly producer prices, EUR per 100 kg; milk per litre). Other products are answered from the European Commission portal. FR: rapeseed, sunflower, soybean, peas, faba beans, flax, lupin, lentils, sorghum, spelt, rice, buckwheat (FranceAgriMer''s quarterly national average paid to producers, euro per tonne, cumulative since the start of the July-June campaign). Wheat, durum, barley, maize, rye, oats and triticale for France are answered from the European Commission portal. PL: wheat, rye, barley, triticale, oats, maize, potatoes, cattle, pigs, poultry, milk (GUS''s own monthly procurement prices in zloty excluding VAT: cereals and potatoes per dt = 100 kg, animals per kg live weight, milk per hl). Other products (fruit, vegetables, eggs, dairy products ...) are answered from the European Commission portal.'
schema:
type: string
responses:
'200':
description: 'A price answer: median, 10th–90th percentile range, sample size, period, confidence, source and licence. For an official statistic: the published average or median (value, measure), its reference period, confidence, source and licence; the range fields and sample_size may be null. If the official source does not respond and ProofPrice holds a recent daily copy of it, you get that copy instead of an error: status is ok, period and as_of carry the snapshot date, the notice says so and extra.stale is true.'
headers:
X-ProofPrice-Stale:
description: 'Present only when the official source did not respond and the answer is ProofPrice''s own recent daily copy: snapshot=<date>. The body says so too (extra.stale is true).'
schema:
type: string
X-ProofPrice-Proof:
description: 'Signed Price Proof (only on status ok answers and real verdicts, when proofs are on): a compact JWS (EdDSA / Ed25519, typ proofprice-proof+jws) of what the official records showed. Check it free at /api/v1/proofs/verify or offline with the keys at /.well-known/proofprice-keys.json. See https://proofprice.com/proofs.'
schema:
type: string
Link:
description: 'With a proof: <https://proofprice.com/p/<jws>>; rel="proof", a page a person can open to see the proof checked.'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/PriceAnswer'
'400':
description: Missing or invalid parameter, or a country that is not covered yet.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'502':
description: The official source could not be reached and ProofPrice holds no recent copy of it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
PriceAnswer:
type: object
properties:
query:
type: object
propertyNames:
type: string
additionalProperties: true
description: The request as understood, echoed back.
status:
type: string
enum:
- ok
- insufficient_data
- no_matches
description: ok = a figure is returned; insufficient_data = fewer than 5 matching records; no_matches = nothing matched.
price:
anyOf:
- type: object
properties:
currency:
type: string
description: ISO 4217 currency code, e.g. EUR.
unit:
type: string
description: What the price is per, e.g. 'per litre', 'per home', 'per kWh'.
value:
type: number
description: The headline figure. For ranges built from records it equals median.
measure:
description: 'What value is: median for ranges built from records; average or median for official statistics.'
type: string
enum:
- median
- average
median:
type:
- number
- 'null'
typical_low:
description: 10th percentile; null for official statistics that give no range.
type:
- number
- 'null'
typical_high:
description: 90th percentile; null for official statistics that give no range.
type:
- number
- 'null'
min:
type:
- number
- 'null'
max:
type:
- number
- 'null'
required:
- currency
- unit
- value
additionalProperties: true
description: The price. Null when there is not enough data to publish a figure (fewer than 5 records) or nothing matched.
- type: 'null'
sample_size:
description: Number of records behind the figure; null when the publisher does not say.
type:
- number
- 'null'
period:
description: The period the records cover (ISO dates), or the date of the snapshot when the answer comes from our copy.
type: object
properties:
from:
type:
- string
- 'null'
to:
type:
- string
- 'null'
required:
- from
- to
additionalProperties: true
confidence:
description: high = 50+ records, medium = 15–49, low = 5–14.
type: string
enum:
- high
- medium
- low
- insufficient
price_type:
description: transaction, posted_pump_price, posted_price, contract_price, reimbursement_price or official_statistic.
type: string
statistic:
description: 'Official statistics only: what kind of figure it is and the period the publisher states it for.'
type: object
properties:
measure:
type: string
enum:
- median
- average
reference_period:
type: string
note:
type: string
required:
- measure
- reference_period
additionalProperties: true
as_of:
description: When the answer was produced (ISO 8601); the snapshot date when the official source was down and the answer comes from our copy.
type: string
source:
type: object
properties:
id:
type: string
description: Source id, e.g. es-fuel.
name:
type: string
publisher:
type: string
description: Who publishes the data.
licence:
type: string
licence_url:
type: string
attribution:
type: string
description: The attribution line to show with the figure.
url:
type: string
description: The publisher's page for this data.
required:
- id
- name
- publisher
- licence
- licence_url
- attribution
- url
additionalProperties: true
description: Where the figure comes from, under which licence, and the attribution line to show.
method:
type: string
method_url:
type: string
summary:
type: string
description: One plain sentence an AI can quote.
notice:
type: string
description: Information, not a valuation or offer. Also says when the answer is our copy because the official source did not respond.
extra:
description: Source-specific details (for example cheapest stations). extra.stale is true when the answer comes from our copy of the source.
type: object
propertyNames:
type: string
additionalProperties: true
answer_id:
description: 'Audit trail: a stable id (hash of source id, normalised query, data period and method_version). The same question on the same data gives the same id; keep it with the reasoning that used the figure.'
type: string
method_version:
description: 'Audit trail: version of the way this source turns raw data into an answer (per source, default ''1'').'
type: string
retrieved_at:
description: 'Audit trail: when ProofPrice produced this answer (ISO 8601). For an answer from our own copy this is now, while as_of is the snapshot date.'
type: string
evidence:
description: 'Audit trail: what kind of evidence the figure is.'
type: object
properties:
type:
type: string
description: Same as price_type.
label:
type: string
description: Short name of the kind of evidence, e.g. 'Recorded sale prices', 'Official published average', 'Official published index', 'Posted shelf or pump price', 'Posted or listed price', 'Contract award value', 'Regulated reimbursement price'.
meaning:
type: string
description: One sentence on what this kind of evidence does and does not establish.
required:
- type
- label
- meaning
additionalProperties: true
reliability:
description: How far to trust the figure as a distribution of real prices. official_with_count = a published official figure with a record count; official_median_no_count = a published average or median with no record count (confidence 'high' there means the publisher is official, not that a count was checked); record_level = 15+ records we hold; thin = 5–14 records; stale = our copy because the official source did not respond; insufficient_data = no figure published.
type: string
enum:
- official_with_count
- official_median_no_count
- record_level
- thin
- stale
- insufficient_data
data_as_of:
description: ISO date (YYYY-MM-DD) of the newest data point behind the figure; null when unknown.
type:
- string
- 'null'
data_age_days:
description: Whole days between data_as_of and retrieved_at; null when data_as_of is null.
type:
- number
- 'null'
suggestions:
description: 'Short plain things to try next: widen the period or area, ask for an itemised quote. May be empty.'
type: array
items:
type: string
required:
- query
- status
- source
- summary
- notice
additionalProperties: true
description: 'A price answer: a range or an official statistic with sample size, period, confidence, source and licence.'
Error:
type: object
properties:
error:
type: string
description: What went wrong, in plain words.
detail: {}
required:
- error
additionalProperties: true
description: 'An error: a missing or invalid parameter (400) or an official source that could not be reached (502).'