API · /postcode-api

UK Postcode API

healthy 4,590 Subscribers

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
Get an API key Try in playground → Contact provider

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

/api/postcode-api/openapi.json
/api/postcode-api/llms.txt

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

UK Postcode API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
109 ms
Server probes · 24h
Subscribers
4,590
active
Total calls
152
last 7 days
status Full status page → · 16 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 10,000 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 10,000 calls/month
  • 2 req/sec
  • Lookup + validate
  • No credit card
Sign in to subscribe

Starter

€3.00 /month

  • 130,000 calls / month
  • 8 requests / second
  • Hard cap (429 above quota, no overage)
  • 130k calls/month
  • 8 req/sec
  • Reverse + autocomplete
  • Email support
Sign in to subscribe

Pro

€17.00 /month

  • 700,000 calls / month
  • 25 requests / second
  • Hard cap (429 above quota, no overage)
  • 700k calls/month
  • 25 req/sec
  • Address forms / checkout
  • Priority support
Sign in to subscribe

Mega

€65.00 /month

  • 3,500,000 calls / month
  • 50 requests / second
  • Hard cap (429 above quota, no overage)
  • 3.5M calls/month
  • 50 req/sec
  • Logistics / geo platform
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

UK Statistics API — oanor API marketplace

UK Statistics API

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

Postal Code API — oanor API marketplace

Postal Code API

Resolve postal and ZIP codes to city, state and geo-coordinates for around 60 countries — and the reverse, listing all postal codes of a city. Perfect for checkout and address-form autofill, shipping, store locators and geo-targeting.

api.oanor.com/postalcode-api

Geocoding API — oanor API marketplace

Geocoding API

Forward & reverse geocoding and OSM object lookup powered by OpenStreetMap: turn addresses/places into coordinates, coordinates into addresses, and look up OSM objects by id.

api.oanor.com/geocoding-api

Weather API — oanor API marketplace

Weather API

Real-time weather: current conditions, multi-day forecast, historical weather, marine/wave forecast, astronomy (sun/UV), air quality, geocoding and timezone.

api.oanor.com/weather-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for UK Postcode API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call UK Postcode API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for UK Postcode 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 Postcode API cost?
UK Postcode API has a free tier with 100 calls / month. Paid plans start at €3.00 / 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 Postcode API GDPR-compliant?
All requests to UK Postcode 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/postcode-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/postcode-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/postcode-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/postcode-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.