Autocomplete a partial postcode
API · /postcode-api
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 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
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
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
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
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
Built by
Related APIs
Other APIs with overlapping tags.
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
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
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
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?
What's the rate limit for UK Postcode API?
How much does UK Postcode API cost?
Can I cancel my subscription anytime?
Is UK Postcode API GDPR-compliant?
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 inNew thread
·
-
Provider answer
🔒 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 inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.