Postcodes.io

Free UK postcode lookup and geolocation, no key

🗺 Geo & MapsUNMONITOREDchecked 1h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

Hand it a UK postcode and get back coordinates, ward, district, constituency, and administrative geography as JSON. Open source and free, with reverse-geocoding and autocomplete endpoints alongside the basic lookup.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://api.postcodes.io/postcodes/SW1A1AA

{
  "status": 200,
  "result": {
    "postcode": "SW1A 1AA",
    "country": "England",
    "longitude": -0.141563,
    "latitude": 51.50101,
    "region": "London",
    "admin_district": "Westminster",
    "parliamentary_constituency": "Cities of London and Westminster"
  }
}
Call itcurl · fetch · python
curl "https://api.postcodes.io/postcodes/SW1A1AA"
const res = await fetch("https://api.postcodes.io/postcodes/SW1A1AA");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.postcodes.io/postcodes/SW1A1AA")
print(res.json())
Endpoints · 6On scheduleFULL DOCS ↗
First rollup pending — GET /postcodes/SW1A1AA has been probed
GET/postcodes/SW1A1AAPROBED

Free UK postcode lookup and geolocation, no key

GET/postcodes

Postcodes — documented GET route.

GET/postcodes/1

Postcodes details by ID (example: 1).

GET/postcodes?limit=10

Postcodes — documented GET route.

GET/postcodes/search?q=test

Search by query parameters.

GET/postcodes/{postcode}

Lookup Postcode

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Postcodes.io: common questions

Is Postcodes.io free to use?

Yes — Postcodes.io is a free geo & maps API. Free tier: Free — no key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Postcodes.io need an API key?

No — Postcodes.io needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished (no key; fair use)).

Can I call Postcodes.io from the browser?

Yes — Postcodes.io returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Postcodes.io up right now?

As of our last scheduled check, Postcodes.io is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.