Skip to content
API Builders
PI

GeocodingPublic API

Postcodes.io

Postcode lookup & Geolocation for the UK

Visit documentationSnapshot 2026-10-26

Before you call it

What this listing means in practice

01

No key to obtain

You can make a request immediately. Be considerate with volume anyway: open APIs often publish informal rate limits, and some will block clients that hammer them.

02

HTTPS supported

Requests can be made over TLS. Use HTTPS endpoints in production so browsers do not block the call as mixed content.

03

CORS enabled

The provider sends browser-friendly CORS headers, so you can call the API from client-side JavaScript without a proxy — subject to any key restrictions.

Documentationexternal

Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.

https://postcodes.io

No API calls are proxied by this directory. Links go directly to the provider.

API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.

Overview

About Postcodes.io

Postcodes.io needs no API key. That puts it among 56 of the 113 geocoding APIs we list that you can try without signing up.

It also supports HTTPS and CORS, so you can call it straight from browser JavaScript with no key and no proxy. Only 24 geocoding APIs tick all three boxes.

Documentation is on postcodes.io.

Geocoding APIs in general

Geocoding APIs turn addresses into coordinates and back, look up IP locations, and return country, postcode and boundary data.

What people build with them

  • Address autocomplete in checkout forms
  • Plotting customers on a map
  • Detecting a visitor's country

Watch out for

Many free geocoders forbid storing results permanently. If you need to keep coordinates, check the caching rules.

First request

Calling Postcodes.io

Works in the browser or in Node.

JavaScript// Replace the path with an endpoint from the Postcodes.io docs
const res = await fetch("https://postcodes.io/<endpoint>");
if (!res.ok) throw new Error(`Postcodes.io returned ${res.status}`);
const data = await res.json();

Compare

Postcodes.io vs similar APIs

APIAuthHTTPSCORS
Postcodes.ioNo keyYesYes
Unblock Master IPNo keyYesYes
SLFNo keyYesYes
SearchPinCodeNo keyYesYes
REST CountriesNo keyYesYes
PostaliNo keyYesYes

FAQ

Common questions about Postcodes.io

Does Postcodes.io need an API key?

No. Postcodes.io is listed with no authentication, so you can send a request without registering.

Can I call Postcodes.io from the browser?

CORS is listed as enabled, so frontend JavaScript can call it directly.

Is Postcodes.io free?

No key is required, which usually means free access, but providers can still limit volume. Check Postcodes.io's docs for rate limits and fair-use terms.

What are some alternatives to Postcodes.io?

Other geocoding APIs in the directory include Unblock Master IP (no key), SLF (no key), SearchPinCode (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.

Next step

Keep looking until the constraints fit.

Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.