#purchasing-power
2 APIs with this tag
Big Mac Index API
The Economist's Big Mac Index — "burgernomics" — as an API: how over- or under-valued the world's currencies are, measured by the price of a Big Mac. The same burger costing different amounts across countries reveals purchasing-power-parity (PPP) misalignment in exchange rates. The index endpoint returns the latest release for every country — the local Big Mac price, its US-dollar price at the market exchange rate, and the raw and GDP-adjusted over/under-valuation of that currency against a chosen base (USD, EUR, GBP, JPY or CNY). The country endpoint returns one country's full history — the valuation trend over every release since 2000. The extremes endpoint returns the most over-valued and most under-valued currencies in the latest release. A positive valuation means the currency is over-valued versus the base; negative means under-valued; the GDP-adjusted figure corrects for cheaper labour in poorer countries. This is a PPP / currency-valuation data-cut — a fundamental gauge, not a live FX tick — distinct from the spot-rate, central-bank and conversion APIs in the catalogue. Live from the open dataset, no key on the upstream, nothing stored.
api.oanor.com/bigmac-api
Inflation Calculator API
Inflation-economics maths as an API, computed locally and deterministically. The adjust endpoint expresses a value across time in two ways — by an annual inflation rate over a number of years, V = amount·(1+r)^years, or by a ratio of consumer-price-index figures, V = amount·CPI_end/CPI_start — so an old price can be restated in today's money, with the total inflation over the period. The real-rate endpoint computes the real (inflation-adjusted) interest or investment rate from a nominal rate and an inflation rate using the Fisher equation, 1 + real = (1 + nominal)/(1 + inflation), alongside the rough nominal-minus-inflation approximation. The purchasing-power endpoint shows how inflation erodes money over time — the future buying power of today's amount, amount/(1+r)^years, the value lost and the larger amount needed to maintain the same purchasing power. Rates may be entered as a percent or a fraction and amounts in any currency. Everything is computed locally and deterministically, so it is instant and private. Ideal for personal-finance, budgeting, salary, retirement-planning and economics app developers, cost-of-living and real-return tools, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is inflation adjustment; for loan repayments use a loan API and for investment growth an investment API.
api.oanor.com/inflation-api