API · /uk-stats-api

UK Statistics API

healthy 4,221 Subscribers

Official UK economic statistics straight from the Office for National Statistics (ONS) beta API — no key, read live. The cpi endpoint returns CPIH, the UK's lead measure of consumer price inflation (Consumer Prices Index including owner occupiers' housing costs, index 2015=100), for the latest month with the index level plus the month-on-month and year-on-year rates, computed from the official series. The cpi/series endpoint returns the historical monthly CPIH index and year-on-year rate over the last N months, ready to chart. The cpi/divisions endpoint breaks the latest CPIH down across all twelve COICOP divisions (food, housing, transport, recreation and so on) with the index for each. The datasets endpoint lists the ONS dataset catalogue (hundreds of datasets covering prices, GDP, the labour market, population, trade and more) so you can discover what is available. The meta endpoint documents the source. Live data from the ONS beta CMD API, lightly cached. Live. 5 endpoints. This serves UK national statistics; for the sterling exchange rate or the Bank of England base rate use an FX / central-bank API.

api.oanor.com/uk-stats-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/uk-stats-api/openapi.json
/api/uk-stats-api/llms.txt

Discovery: GET /api/index.json lists every API.

UK Statistics API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
80 ms
Server probes · 24h
Subscribers
4,221
active
Total calls
50
last 7 days
status Full status page → · 10 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 300 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 300 calls/month
  • 2 req/sec
  • All 5 endpoints
  • Live ONS data
Sign in to subscribe

Basic

€11.20 /month

  • 19,500 calls / month
  • 6 requests / second
  • Hard cap (429 above quota, no overage)
  • 19.5k calls/month
  • 6 req/sec
  • CPIH + series + divisions
  • Dataset catalogue
  • Email support
Sign in to subscribe

Pro

€29.40 /month

  • 99,000 calls / month
  • 22 requests / second
  • Hard cap (429 above quota, no overage)
  • 99k calls/month
  • 22 req/sec
  • High-volume access
  • Full ONS catalogue
  • Priority support
Sign in to subscribe

Mega

€67.20 /month

  • 445,000 calls / month
  • 55 requests / second
  • Hard cap (429 above quota, no overage)
  • 445k calls/month
  • 55 req/sec
  • Dedicated throughput
  • SLA-backed uptime
  • Direct support
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

UK Postcode API — oanor API marketplace

UK Postcode API

UK postcode and geography lookup as an API, built on the open postcodes.io dataset. Resolve any UK postcode to its latitude/longitude and full administrative hierarchy — district, ward, county, parish, parliamentary constituency, region, NHS health authority and statistical areas (LSOA, MSOA). Validate a postcode, reverse-geocode coordinates to the nearest postcodes (with distance), find postcodes near a given one, autocomplete a partial postcode for address forms, look up an outcode (the first half, e.g. SW1A) and fetch a random postcode. Real data, no key needed upstream. Ideal for checkout and address forms, delivery and logistics, store locators, and UK geo-analytics.

api.oanor.com/postcode-api

Sweden Municipal Statistics API — oanor API marketplace

Sweden Municipal Statistics API

Swedish municipal and regional statistics straight from Kolada — the open database run by the Council for the Promotion of Municipal Analyses (RKA) — no key, read live. Kolada holds roughly 6,000 key performance indicators tracking the finances and service quality of all 290 Swedish municipalities and 21 regions: personnel costs, school results, elderly care, waiting times, environment, demographics and much more. The kpis endpoint lists and searches the indicator catalogue by title. The kpi endpoint returns the full metadata of a single indicator (its definition, operating area and source). The municipalities endpoint lists every municipality and region with its official code. The data endpoint returns a chosen indicator's full annual value series for a given municipality, with the latest value highlighted. The meta endpoint documents the API. Live data from Kolada v3, lightly cached. Live. 5 endpoints. This serves Swedish public-sector statistics; for the krona exchange rate or national CPI use an FX / national-statistics API.

api.oanor.com/kolada-api

Mongolia Statistics API — oanor API marketplace

Mongolia Statistics API

Official Mongolian inflation statistics straight from the National Statistics Office of Mongolia (NSO) via its 1212.mn PxWeb open-data service — no key, read live. The cpi endpoint returns the headline national Consumer Price Index (Overall index, base 2023=100) for the latest month with the index level plus month-on-month and year-on-year inflation, computed from the official series. The cpi/series endpoint returns the historical monthly CPI index and year-on-year rate over the last N months, ready to chart. The cpi/groups endpoint breaks the latest CPI down across all thirteen COICOP groups (food, housing, transport and so on) with index and annual change for each. The cpi/annual endpoint gives the annual-average CPI and average inflation for every year on record. The meta endpoint documents the source. Live data from Mongolia NSO PxWeb, lightly cached. Live. 5 endpoints. This serves Mongolian national price statistics; for the tugrik exchange rate use an FX / central-bank API.

api.oanor.com/mongolia-stats-api

North Macedonia Statistics API — oanor API marketplace

North Macedonia Statistics API

Official North Macedonian inflation statistics straight from the State Statistical Office (MAKStat) via its ASKdata-style PxWeb open-data service — no key, read live. The cpi endpoint returns the headline Consumer Price Index inflation for the latest month — the month-on-month and year-on-year percentage changes (ECOICOP version 2 classification) — derived from the official ratio table. The cpi/series endpoint returns the historical monthly MoM and YoY series over the last N months, ready to chart. The cpi/groups endpoint breaks the latest year-on-year inflation down across all thirteen COICOP main groups (food, housing, transport and so on). The cpi/group endpoint returns the full MoM and YoY history for any single COICOP group by its code. The meta endpoint documents the COICOP group codes and source. Live data from MAKStat PxWeb, lightly cached. Live. 5 endpoints. This serves North Macedonian national price statistics; for the denar exchange rate use an FX / central-bank API.

api.oanor.com/macedonia-stats-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for UK Statistics API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call UK Statistics API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for UK Statistics API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does UK Statistics API cost?
UK Statistics API has a free tier with 100 calls / month. Paid plans start at €11.20 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is UK Statistics API GDPR-compliant?
All requests to UK Statistics API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/uk-stats-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/uk-stats-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/uk-stats-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/uk-stats-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.