Free APIs › Weather & Geography › Postcodes.io
No keyCORS ✓B · 84

Postcodes.io

UK postcode lookup, autocomplete and nearest-postcode search.

StatusLive · verified 23 Oct 2026 · 1467 ms
AuthenticationNone — call it right now
Browser CORSYes — works from front-end code
Free limitsFree, no key
Official docs ↗ ▶ Open the playground

▶ Live playground

This runs in your browser, straight against the real API. Edit the URL and experiment — break nothing, learn everything.

Press Run to call Postcodes.io live.

📸 Real response, captured by us

Not a mockup — this is what Postcodes.io actually returned when we verified it on 23 Oct 2026 (in 1467 ms).

{
  "status": 200,
  "result": {
    "postcode": "SW1A 1AA",
    "quality": 1,
    "eastings": 529090,
    "northings": 179645,
    "country": "England",
    "nhs_ha": "London",
    "longitude": -0.141563,
    "latitude": 51.50101,
    "european_electoral_region": "London",
    "primary_care_trust": "Westminster",
    "region": "London",
    "lsoa": "Westminster 018C",
    "msoa": "Westminster 018",
    "incode": "1AA",
    "outcode": "SW1A",
    "parliamentary_constituency": "Cities of London and Westminster",
    "parliamentary_constituency_2024": "Cities of London and Westminster",
    "senedd_constituency": null,
    "senedd_constituency_no": null,
    "admin_district": "Westminster",
  

💻 Copy-paste code

Three ways to call Postcodes.io — pick your weapon.

// Postcodes.io — no build step, no library. Just fetch.
const res = await fetch("https://api.postcodes.io/postcodes/SW1A1AA");
const data = await res.json();
console.log(data);

🏅 Own this API?

Add the live-verified badge to your docs or repo — it only ever displays the status from our latest check.

<a href="https://freeapis.akclnt.com/api/postcodes-io/"><img src="https://freeapis.akclnt.com/badge/postcodes-io.svg" alt="Postcodes.io — live-verified free API on AKCLNT Free APIs"></a>

📜 Full check history & uptime · Status as JSON · Health score: B · 84/100

🔔 Watch this API — a quiet feed that only speaks the week its status changes (down, recovered, reclassified). How it works

Similar free APIs

Open-Meteo

No keyCORS ✓B · 84

Free weather forecast, current conditions and historical data for any coordinates. No key, no signup.

Live · verified 23 Oct 2026 · 1458 ms📁 Weather & Geography · Free for non-commercial use, ~10k calls/day

OpenWeatherMap

Free keyCORS ✓C · 55

The classic weather API — current weather, forecasts and maps for any city on Earth.

Free key required📁 Weather & Geography · Free tier: 1,000 calls/day
Done