Postcode & ZIP Code Lookup API Worldwide (Geocode, Reverse)
Pricing
$3.00 / 1,000 location lookups
Postcode & ZIP Code Lookup API Worldwide (Geocode, Reverse)
Look up postcodes and ZIP codes in 100+ countries: place, region, coordinates and time zone. Plus place-name geocoding, reverse geocoding (lat/lon to nearest postcode) and distance. UK adds council, ward and constituency. Built for AI agents.
Pricing
$3.00 / 1,000 location lookups
Rating
0.0
(0)
Developer
Tudor Lane
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 hours ago
Last modified
Categories
Features
Share
Postcode & ZIP Code Lookup API worldwide
Use when…
- You need postcode/ZIP → place, geocode, reverse geocode or distance between points.
- A UK lookup needs council, ward or constituency detail as well as coordinates.
- A CRM, delivery or form agent must resolve location from a postcode in 100+ countries.
Price: $0.003 per location lookup
Try this input
Copy-paste this JSON as the Actor input (it matches a successful run / the default schema):
{"requests": [{"postcode": "SW1A 1AA"},{"postcode": "10001","country": "US"},{"place": "Paris, FR"},{"lat": 48.8584,"lon": 2.2945}]}
Sample output (real run 2026-10-25)
One dataset item, shortened:
{"action": "postcode","query": "SW1A 1AA","results": [{"place": "Westminster Abbey","admin1": "England","admin2": "Westminster","admin3": null,"lat": 51.50101,"lon": -0.141563,"acc": 1,"country_code": "GB","postcode": "SW1A 1AA","country": "United Kingdom","precision": "exact","timezone": "Europe/London"}],"source": "GeoNames postal codes & places (CC BY 4.0); postcodes.io (ONS/OS data, OGL v3)","uk_detail": {"postcode": "SW1A 1AA","country": "England","region": "London","admin_district": "Westminster","admin_county": null,"admin_ward": "St James's","parish": "Westminster, unparished area","parliamentary_constituency": "Cities of London and Westminster","european_electoral_region": "London","primary_care_trust": "Westminster","lsoa": "Westminster 018C","msoa": "Westminster 018","…": "+8 more keys"},"error": null}
What it does: Postcode/ZIP lookup in 100+ countries, place geocoding, reverse geocoding and distances, plus UK council/ward/constituency detail.
Who it's for: Delivery, CRM, property, form-filling and location agents.
Price: Pay per event: $0.003 per lookup. Not-found results are not charged. You only pay Apify for what you run; there is no monthly fee for this Actor.
Fast, cheap location lookups for AI agents and apps, from open data, with no API key needed:
- Postcode / ZIP lookup in 100+ countries (US ZIP, UK postcode, Canada, Germany, France, India, Australia, Japan...): place name, state/region, district, coordinates, time zone. Partial codes fall back to the area (e.g. UK outward code, Canada FSA).
- UK extra detail (via postcodes.io): council, ward, parish, parliamentary constituency, LSOA/MSOA, eastings/northings.
- Place geocoding: "Springfield, Illinois, US" → coordinates, population, time zone, postcodes.
- Reverse geocoding: lat/lon → nearest town and nearest postcode.
- Distance between two postcodes, places or points (km and miles).
Input
{"requests": ["90210", {"postcode": "75008", "country": "FR"}, {"place": "Osaka, JP"}, {"lat": -33.86, "lon": 151.2}, {"from": "SW1A 1AA", "to": "Paris"}]}
Postcodes from the US, UK and Canada are auto-detected; for others pass country (ISO code or name).
Pricing
Pay per event: $0.003 per lookup. Not-found results are not charged.
Sources and licences
GeoNames postal codes and cities1000 gazetteer (CC BY 4.0, geonames.org), rebuilt with each Actor build. UK detail from postcodes.io (Ordnance Survey / ONS data, Open Government Licence v3; contains OS data © Crown copyright and database right). Coordinates for postcodes are area centroids, not exact addresses.
Quick example
Input
{"requests": [{"postcode": "SW1A 1AA"},{"postcode": "10001","country": "US"},{"place": "Paris, FR"},{"lat": 48.8584,"lon": 2.2945}]}
Output (one dataset item, shortened)
{"action": "postcode","query": "SW1A 1AA","results": [{"place": "Westminster Abbey","admin1": "England","admin2": "Westminster","admin3": null,"lat": 51.50101,"lon": -0.141563,"acc": 1,"country_code": "GB","postcode": "SW1A 1AA","country": "United Kingdom","precision": "exact","timezone": "Europe/London"}],"source": "GeoNames postal codes & places (CC BY 4.0); postcodes.io (ONS/OS data, OGL v3)","uk_detail": {"postcode": "SW1A 1AA","country": "England","region": "London","admin_district": "Westminster","admin_county": null,"admin_ward": "St James's","parish": "Westminster, unparished area","parliamentary_constituency": "Cities of London and Westminster","european_electoral_region": "London","primary_care_trust": "Westminster","lsoa": "Westminster 018C","msoa": "Westminster 018","nuts": "Westminster","incode": "1AA"},"error": null}
Use it from AI agents (MCP) and code
- Apify MCP server: add
https://mcp.apify.com/?tools=tudorlane/world-postcode-lookupto Claude, Cursor, ChatGPT connectors, VS Code or any MCP client (sign in with Apify OAuth or an API token). The Actor appears as a tool the model can call. - REST (sync):
POST https://api.apify.com/v2/acts/tudorlane~world-postcode-lookup/run-sync-get-dataset-items?token=YOUR_TOKENwith the input JSON as the body; results come back in the response. - SDKs / no-code:
apify-client(Python/JS), LangChain, LlamaIndex, CrewAI, n8n, Make and Zapier integrations.
Sample output (real run with the default input, 25 Oct 2026)
| Action | Query | Result |
|---|---|---|
| postcode | SW1A 1AA | Westminster, London; ward St James's; constituency Cities of London and Westminster; 51.50101, -0.141563 |
| postcode | 10001 | New York, NY, United States; 40.7484, -73.9967 |
| place | Paris, FR | Paris, Île-de-France; postcodes 75001, 75002, ... |
| reverse | 48.8584, 2.2945 | nearest postcode 75016 (Paris 16), 1.42 km |
Use cases
- Address forms: fill town/region from a postcode
- Delivery zones: distance between postcodes
- UK: council, ward and constituency
- Geocoding lists of places
Limits & failure modes
- Coverage depends on GeoNames data per country; some postcodes are approximate (area centre, not a building)
- UK detail via postcodes.io
- Results are area/postcode centroids, not rooftop addresses.
- Auto-detect works best for US/UK/Canada; pass
countryfor other ISO countries. - Unknown or malformed postcodes return not-found and are not charged.
FAQ
Exact addresses? No, postcode/area centroids, not rooftop addresses.
Which countries are auto-detected? US, UK and Canada; pass country for others.
What if the source is down? You get an error row and are not charged for it.
Support? Open an issue on the Actor's Issues tab.
Keywords: postcode lookup API, ZIP code API, geocoding API, reverse geocoding, UK postcode API, distance between postcodes, MCP tool, Apify Actor, AI agent tool.