Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: ProofPrice Wholesale prices of live animals, fish, eggs and…
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: Wholesale prices of live animals, fish, eggs and fresh food
description: 'Wholesale fresh food prices: AU, CA, DE, FR, GB, HK, MY, TW and US. Sources: National Livestock Reporting Service saleyard indicators (Meat & Livestock Australia), AAFC: weekly wholesale prices of fresh fruit and vegetables, BLE: weekly market and price report for fruit and vegetables, RNM: wholesale and producer-market prices of fruit and vegetables, DEFRA: wholesale fruit and vegetable prices, average, AFCD: average wholesale prices of major fresh food, Fish prices (OpenDOSM data catalogue), Ministry of Agriculture, Taiwan: fishery product trading market prices and National Weekly Direct Slaughter Cattle, negotiated purchases (USDA AMS, LM_CT154).'
paths:
/api/v1/wholesale-fresh-food:
get:
operationId: wholesaleFreshFoodPrices
tags:
- Wholesale prices of live animals, fish, eggs and fresh food
summary: Wholesale prices of live animals, fish, eggs and fresh food (AU, CA, DE, FR…
description: 'Use this when a user asks what the wholesale price of live pigs, cattle or chickens, fish, eggs or other fresh food is today in Australia (country AU), Canada (country CA), Germany (country DE), France (country FR), England and Wales (country GB), Hong Kong (country HK), Malaysia (country MY), Taiwan (country TW) or United States (country US), or how it moved on the previous day. Returns the newest daily average reference wholesale price that the government publishes for the food type, per kilogram or per egg, with the day it applies to, the change on the previous published day, the recent days, the official source and licence. This is a posted reference price reported by wholesalers (price_type posted_price), not a paid price and not a range built from sales, so the range fields are null and there is no sample size. How fresh: Australia: daily on trading days (MLA updates at midnight AEST); every answer states the trading day it describes; Canada: weekly (a Friday date); our copy is refreshed daily and each answer states the week its quotes apply to; Germany: weekly (calendar week); each answer states the week its price applies to; France: daily on market days (each market line carries its own date); each answer states the dates its quotes apply to; England and Wales: about every two weeks (a Monday date); each answer states the date its price applies to; Hong Kong: daily on working days, published by the AFCD when necessary; each answer states the day its price applies to; Malaysia: monthly, not live: when checked on 28 October 2026 the newest month DOSM publishes was December 2025 (its ''last updated'' date is not the data period); our copy is refreshed daily and every answer names its month; Taiwan: daily, trading days only; about 10 trading days are available at a time; United States: weekly, published on Monday for the week just ended; every answer states the report date. Do not use for supermarket or shop prices, for the price one farm received, for restaurant prices, for futures prices, or for other countries.'
parameters:
- name: country
in: query
required: true
description: 'AU = Australia (Meat & Livestock Australia: daily weighted average saleyard auction prices for cattle and sheep, national indicators, not monthly); CA = Canada (AAFC weekly wholesale asking prices of fresh fruit and vegetables at Calgary, Edmonton, Vancouver and Winnipeg, quoted not paid); DE = Germany (BLE weekly national wholesale-market quotations for fruit and vegetables, quoted not paid); FR = France (FranceAgriMer RNM quotes of fruit and vegetables at producer markets, dispatch, import and wholesale, EUR excluding VAT per kg, quoted not paid, daily); GB = England and Wales (DEFRA average wholesale prices of home-grown fruit and vegetables at the Birmingham, Bristol, Manchester and London markets, quoted not paid, about every two weeks); HK = Hong Kong (AFCD daily average reference wholesale prices of fresh food, posted by wholesalers, not paid prices); MY = Malaysia (Department of Statistics Malaysia: monthly average fish and seafood prices per kg at landing, wholesale and retail, official statistic, not a live price); TW = Taiwan (daily trading prices at the wholesale fish markets, with a range from the market averages); US = United States (USDA AMS: weekly average price packers paid for fed steers and heifers, negotiated cash purchases, national, not monthly)'
schema:
type: string
enum:
- AU
- CA
- DE
- FR
- GB
- HK
- MY
- TW
- US
- name: product
in: query
required: true
description: 'The food in plain words, e.g. ''live pig'', ''chicken'', ''eggs'', ''grass carp'', ''tomato''. The list for each country is in the tool notes. Australia: cattle or sheep in everyday words, e.g. cattle, western young cattle, restocker steers, feeder steers, steers, dairy cows, light lamb, lamb, heavy lamb, merino lamb, restocker lamb, mutton, restocker heifers, cows. Prices are Australian dollars: cents per kg (carcase or live weight, the answer says which) or dollars per head for the online indicators. The answer is for the newest trading day, not a month. CA: fresh fruit and vegetables such as apples, bananas, grapes, avocados, carrots, cabbage, cucumbers, celery, broccoli, cauliflower, beets, garlic, ginger, blueberries and Chinese vegetables. The answer is the median CAD per kg of the week''s wholesale asking quotes with the 10th to 90th percentile and the number of quotes; add market=Calgary, Edmonton, Vancouver or Winnipeg for one centre. DE: fruit and vegetables on the German wholesale markets, in English or German: apples, pears, cucumbers, tomatoes, peppers, grapes, kiwis, plums, lemons, zucchini, oranges, mandarins, onions, aubergines, strawberries, cauliflower, carrots, peaches, nectarines, bananas, lettuce, leeks, brussels sprouts and more (no potatoes). A variety such as ''elstar'' also works. The answer is the median of that week''s national quotations in EUR per kg, with the cheapest and dearest quotation and the change on the previous week. FR: fruit and vegetables, English or French names: carrot, tomato, potato, onion, leek, cabbage, cauliflower, courgette, lettuce, apple, pear, orange, strawberry, peach, grape and about 60 more. The answer is the median of the quoted average prices per kg across the market lines of the last 7 days (retail, organic and bunch lines left out), with the lowest and highest quote and the markets. GB: home-grown fruit and vegetables: apples (gala, bramley, cox...), pears, plums, strawberries, raspberries, blackberries, blueberries, cherries, gooseberries, currants, carrots, onions, leeks, cauliflower, cabbage, calabrese, lettuce, tomatoes, cucumbers, courgettes, capsicum, beans, peas, beetroot, parsnips, swede, turnip, sprouts, celery, rhubarb, kale and more (no potatoes). An item with several varieties gives the mean of the varieties and lists each; add the variety (for example ''gala apples'') for one price. Prices are GBP per kg, per head, per twin pack or per stem; the answer names the unit and the date. HK: live pig, live cattle, live chicken (local or mainland), eggs (mainland, USA, Germany), marine fish (golden thread, yellow croaker, mackerel, hairtail...), freshwater fish (grass carp, big head, mud carp) and vegetables (tomato, potato, broccoli, spinach, cabbage, Chinese kale, celery...). Prices are HK$ per kg (converted from per catty) or HK$ per egg; the answer names the unit and the day. Malaysia: a fish or seafood in English or Malay, e.g. mackerel, kembong, tenggiri, pomfret, bawal_putih, prawn, udang_harimau, squid, sotong_katak, crab, siakap, kerapu, bilis. About 150 kinds are published; a word that fits several (mackerel, prawn) returns the list to choose from. Prices are in ringgit per kg. TW: fish and seafood by English or Taiwanese name, in NT$ per kg from the wholesale fish markets: tilapia, milkfish, asian seabass, threadfin, hairtail, swordtip squid, cuttlefish, small squid, clam, oyster, white shrimp, tiger prawn, salmon, grass carp, bighead carp, grouper, pearl grouper, white pomfret, black pomfret, spanish mackerel, mackerel, sweetfish, yellow croaker, milkfish belly. Frozen products are left out. The answer is a range (median, 10th to 90th percentile) over the newest three trading days. United States: fed cattle in everyday words, e.g. cattle, steers, heifers, dressed steers, dressed heifers. Prices are US dollars per hundredweight (100 lb), live or dressed weight as the answer says. The answer is for the newest weekly report, not a month.'
schema:
type: string
- name: market
in: query
required: false
description: 'CA only: one wholesale centre (Calgary, Edmonton, Vancouver or Winnipeg). Leave out for all centres together. AAFC does not quote every centre every week (the latest file has only Calgary and Winnipeg); an unquoted centre answers with the list of centres that are quoted.'
schema:
type: string
- name: level
in: query
required: false
description: 'Malaysia fish only: ex_vessel (the price fishers get at first sale at landing; default), wholesale or retail.'
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).'