Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: 'ProofPrice Price levels: how expensive a country is…'
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: 'Price levels: how expensive a country is compared with others'
description: 'Price level: AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, NO, IS, AU, CA, CL, CO, CR, IL, JP, KR, MX, NZ, CH, TR, GB, US, AL, BA, MK, ME, RS, AF, AO, AE, AR, AM, AG, AZ, BI, BJ, BF, BD, BH, BS, BY, BZ, BO, BR, BB, BN, BT, BW, CF, CN, CI, CM, CD, CG, KM, CV, DJ, DM, DO, DZ, EC, EG, ER, ET, FJ, GA, GE, GH, GN, GM, GW, GQ, GD, GT, GY, HK, HN, HT, ID, IN, IR, IQ, JM, JO, KZ, KE, KG, KH, KN, KW, LA, LB, LR, LY, LC, LK, LS, MO, MA, MD, MG, MV, ML, MM, MN, MZ, MR, MU, MW, MY, NA, NE, NG, NI, NP, OM, PK, PA, PE, PH, PY, PS, QA, RU, RW, SA, SD, SN, SG, SL, SV, SO, SS, ST, SR, SZ, SC, SY, TD, TG, TH, TJ, TM, TL, TT, TN, TW, TZ, UG, UA, UY, UZ, VC, VN, XK, ZA, ZM and ZW. Sources: Harmonised index of consumer prices (HICP), monthly data, ECOICOP version 2 (prc_hicp_minr), OECD / Eurostat PPP programme: price level indices by spending group and World Bank International Comparison Program 2021: price level indices by spending heading.'
paths:
/api/v1/price-levels:
get:
operationId: priceLevels
tags:
- 'Price levels: how expensive a country is compared with others'
summary: 'Price levels: how expensive a country is compared with others (AT, BE, BG, HR…'
description: 'Use this when a user asks how expensive a country is compared with an international average, for everyday spending such as food, housing, transport, health, clothing or restaurants, for example ''is food dearer here than in a neighbouring country'', ''how much more expensive is a country than the average'' or what a dollar buys in local currency (purchasing power parity), in the EU, Norway and Iceland (inflation) (country AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, NO, IS), 47 countries (the 38 OECD members plus Bulgaria, Cyprus, Malta, Romania and some Balkan states) (country AU, AT, BE, CA, CL, CO, CR, CZ, DK, EE, FI, FR, DE, GR, HU, IS, IE, IL, IT, JP, KR, LV, LT, LU, MX, NL, NZ, NO, PL, PT, SK, SI, ES, SE, CH, TR, GB, US, BG, CY, MT, RO, AL, BA, MK, ME, RS) or About 130 economies outside the OECD (World Bank ICP 2021) (country AF, AO, AE, AR, AM, AG, AZ, BI, BJ, BF, BD, BH, BS, BY, BZ, BO, BR, BB, BN, BT, BW, CF, CN, CI, CM, CD, CG, KM, CV, DJ, DM, DO, DZ, EC, EG, ER, ET, FJ, GA, GE, GH, GN, GM, GW, GQ, GD, GT, GY, HK, HN, HR, HT, ID, IN, IR, IQ, JM, JO, KZ, KE, KG, KH, KN, KW, LA, LB, LR, LY, LC, LK, LS, MO, MA, MD, MG, MV, ML, MM, MN, MZ, MR, MU, MW, MY, NA, NE, NG, NI, NP, OM, PK, PA, PE, PH, PY, PS, QA, RU, RW, SA, SD, SN, SG, SL, SV, SO, SS, ST, SR, SZ, SC, SY, TD, TG, TH, TJ, TM, TL, TT, TN, TW, TZ, UG, UA, UY, UZ, VC, VN, XK, ZA, ZM, ZW). Returns the price level index (100 = the comparison average, 120 = prices 20% above it), the PPP rate in national currency, the year, the last years, the rank among the countries surveyed, and the official source and licence. This is a price level index from the international PPP survey (price_type official_statistic), not a shop price, not a receipt and not a range, so the range fields are null and there is no sample size. How fresh: the EU, Norway and Iceland (inflation): monthly, released about the middle of the following month; each answer states its month, and the newest month Eurostat holds for the country is returned; 47 countries (the 38 OECD members plus Bulgaria, Cyprus, Malta, Romania and some Balkan states): yearly: the newest published year was 2024 at the last check (2022 onwards); every answer states its year; About 130 economies outside the OECD (World Bank ICP 2021): benchmark year 2021 (published 2024); the ICP runs a new round about every three years, every answer states its year. Do not use for the price of a particular product, a town or city, exchange rates on the money market, or for countries that are not listed.'
parameters:
- name: country
in: query
required: true
description: 'EU member states plus NO and IS, 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, LU = Luxembourg, MT = Malta, NL = Netherlands, PL = Poland, PT = Portugal, RO = Romania, SK = Slovakia, SI = Slovenia, ES = Spain, SE = Sweden, NO = Norway, IS = Iceland; Countries as ISO codes: AU = Australia, AT = Austria, BE = Belgium, CA = Canada, CL = Chile, CO = Colombia, CR = Costa Rica, CZ = Czechia, DK = Denmark, EE = Estonia, FI = Finland, FR = France, DE = Germany, GR = Greece, HU = Hungary, IS = Iceland, IE = Ireland, IL = Israel, IT = Italy, JP = Japan, KR = South Korea, LV = Latvia, LT = Lithuania, LU = Luxembourg, MX = Mexico, NL = Netherlands, NZ = New Zealand, NO = Norway, PL = Poland, PT = Portugal, SK = Slovakia, SI = Slovenia, ES = Spain, SE = Sweden, CH = Switzerland, TR = Turkey, GB = United Kingdom, US = United States, BG = Bulgaria, CY = Cyprus, MT = Malta, RO = Romania, AL = Albania, BA = Bosnia and Herzegovina, MK = North Macedonia, ME = Montenegro, RS = Serbia. OECD/Eurostat PPP survey: one price level index per country, year and spending group, whole country.; Countries as ISO codes: AF = Afghanistan, AO = Angola, AE = United Arab Emirates, AR = Argentina, AM = Armenia, AG = Antigua and Barbuda, AZ = Azerbaijan, BI = Burundi, BJ = Benin, BF = Burkina Faso, BD = Bangladesh, BH = Bahrain, BS = Bahamas, BY = Belarus, BZ = Belize, BO = Bolivia, BR = Brazil, BB = Barbados, BN = Brunei, BT = Bhutan, BW = Botswana, CF = Central African Republic, CN = China, CI = Cote d''Ivoire, CM = Cameroon, CD = Democratic Republic of the Congo, CG = Republic of the Congo, KM = Comoros, CV = Cabo Verde, DJ = Djibouti, DM = Dominica, DO = Dominican Republic, DZ = Algeria, EC = Ecuador, EG = Egypt, ER = Eritrea, ET = Ethiopia, FJ = Fiji, GA = Gabon, GE = Georgia, GH = Ghana, GN = Guinea, GM = Gambia, GW = Guinea-Bissau, GQ = Equatorial Guinea, GD = Grenada, GT = Guatemala, GY = Guyana, HK = Hong Kong, HN = Honduras, HR = Croatia, HT = Haiti, ID = Indonesia, IN = India, IR = Iran, IQ = Iraq, JM = Jamaica, JO = Jordan, KZ = Kazakhstan, KE = Kenya, KG = Kyrgyzstan, KH = Cambodia, KN = Saint Kitts and Nevis, KW = Kuwait, LA = Laos, LB = Lebanon, LR = Liberia, LY = Libya, LC = Saint Lucia, LK = Sri Lanka, LS = Lesotho, MO = Macao, MA = Morocco, MD = Moldova, MG = Madagascar, MV = Maldives, ML = Mali, MM = Myanmar, MN = Mongolia, MZ = Mozambique, MR = Mauritania, MU = Mauritius, MW = Malawi, MY = Malaysia, NA = Namibia, NE = Niger, NG = Nigeria, NI = Nicaragua, NP = Nepal, OM = Oman, PK = Pakistan, PA = Panama, PE = Peru, PH = Philippines, PY = Paraguay, PS = Palestine (West Bank and Gaza), QA = Qatar, RU = Russia, RW = Rwanda, SA = Saudi Arabia, SD = Sudan, SN = Senegal, SG = Singapore, SL = Sierra Leone, SV = El Salvador, SO = Somalia, SS = South Sudan, ST = Sao Tome and Principe, SR = Suriname, SZ = Eswatini, SC = Seychelles, SY = Syria, TD = Chad, TG = Togo, TH = Thailand, TJ = Tajikistan, TM = Turkmenistan, TL = Timor-Leste, TT = Trinidad and Tobago, TN = Tunisia, TW = Taiwan, TZ = Tanzania, UG = Uganda, UA = Ukraine, UY = Uruguay, UZ = Uzbekistan, VC = Saint Vincent and the Grenadines, VN = Vietnam, XK = Kosovo, ZA = South Africa, ZM = Zambia, ZW = Zimbabwe. World Bank ICP 2021 survey: one price level index per country and spending group, whole country, benchmark year 2021.'
schema:
type: string
enum:
- AT
- BE
- BG
- HR
- CY
- CZ
- DK
- EE
- FI
- FR
- DE
- GR
- HU
- IE
- IT
- LV
- LT
- LU
- MT
- NL
- PL
- PT
- RO
- SK
- SI
- ES
- SE
- 'NO'
- IS
- AU
- CA
- CL
- CO
- CR
- IL
- JP
- KR
- MX
- NZ
- CH
- TR
- GB
- US
- AL
- BA
- MK
- ME
- RS
- AF
- AO
- AE
- AR
- AM
- AG
- AZ
- BI
- BJ
- BF
- BD
- BH
- BS
- BY
- BZ
- BO
- BR
- BB
- BN
- BT
- BW
- CF
- CN
- CI
- CM
- CD
- CG
- KM
- CV
- DJ
- DM
- DO
- DZ
- EC
- EG
- ER
- ET
- FJ
- GA
- GE
- GH
- GN
- GM
- GW
- GQ
- GD
- GT
- GY
- HK
- HN
- HT
- ID
- IN
- IR
- IQ
- JM
- JO
- KZ
- KE
- KG
- KH
- KN
- KW
- LA
- LB
- LR
- LY
- LC
- LK
- LS
- MO
- MA
- MD
- MG
- MV
- ML
- MM
- MN
- MZ
- MR
- MU
- MW
- MY
- NA
- NE
- NG
- NI
- NP
- OM
- PK
- PA
- PE
- PH
- PY
- PS
- QA
- RU
- RW
- SA
- SD
- SN
- SG
- SL
- SV
- SO
- SS
- ST
- SR
- SZ
- SC
- SY
- TD
- TG
- TH
- TJ
- TM
- TL
- TT
- TN
- TW
- TZ
- UG
- UA
- UY
- UZ
- VC
- VN
- XK
- ZA
- ZM
- ZW
- name: measure
in: query
required: false
description: 'price_level (default): how expensive the country is against an average. inflation: how consumer prices changed over time (index, monthly and yearly change), only where the country notes list it. EU/NO/IS: measure=inflation gives Eurostat''s monthly consumer price index (2025 = 100) with the yearly and monthly change; only for these countries.'
schema:
type: string
enum:
- price_level
- inflation
- name: spend
in: query
required: false
description: 'What kind of spending: leave out for all household consumption, or give ''food'', ''meat'', ''dairy'', ''bread and cereals'', ''fruit'', ''vegetables'', ''alcohol'', ''tobacco'', ''clothing'', ''housing'' (rent, water, energy), ''furnishings'', ''health'', ''transport'', ''cars'', ''communication'', ''recreation'', ''education'', ''restaurants and hotels'', ''goods'' or ''services''. EU/NO/IS (inflation): leave out for overall consumer prices, or ''food'', ''alcohol and tobacco'', ''clothing'', ''housing'' (rent, water, energy), ''furnishings'', ''health'', ''transport'', ''communication'', ''recreation'', ''education'', ''restaurants and hotels'', ''insurance'' or ''personal care''. OECD: spend is one of ''food'', ''meat'', ''fish'', ''dairy'', ''bread and cereals'', ''oils and fats'', ''fruit'', ''vegetables'', ''sugar'', ''soft drinks'', ''alcohol'', ''tobacco'', ''clothing'', ''housing'' (rent, water, energy), ''furnishings'', ''health'', ''transport'', ''cars'', ''communication'', ''recreation'', ''education'', ''restaurants and hotels'', ''goods'' or ''services''; leave out for all household consumption. The index is for the whole country, not a city. World Bank ICP: spend is one of ''food'', ''bread and cereals'', ''meat'', ''fish'', ''dairy'', ''oils and fats'', ''fruit'', ''vegetables'', ''sugar'', ''soft drinks'', ''alcohol'', ''tobacco'', ''clothing'', ''housing'' (rent, water, energy), ''furnishings'', ''health'', ''transport'', ''cars'', ''communication'', ''recreation'', ''education'', ''restaurants and hotels'' or ''gdp''; leave out for all household consumption. The index is for the whole country, not a city.'
schema:
type: string
- name: compare_to
in: query
required: false
description: 'What the index is measured against, as a short name of a comparison area. Leave out for the default; the allowed values are listed in the notes for the country. OECD: ''OECD'' (default, OECD average = 100), ''USA'' (United States = 100) or ''EU'' (EU-27 average = 100). World Bank ICP countries: leave out. The index is measured against the world average (World = 100); the gap to the United States is always included.'
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).'