Zippopotam postal codes
Places for a postal code in more than 60 countries.
Address that will be called:
What it gives you
Places for a postal code in more than 60 countries. For India the answer lists the post offices of the PIN code with their state.
Terms and limits
The service describes itself as a free API with a JSON response, open to crowdsourcing and contribution. We found no stated limits. Coverage and accuracy depend on contributors: for Indian PIN codes also compare with the India Post directory.
_Read on 14 November 2026 from zippopotam.us._
Good habits
- Cache answers that do not change often.
- Handle errors: the service may be busy or down.
- Give credit where the terms ask for it.
- Do not put secret keys into a web page: this API needs none, but many others do.
The same request in code
curl
curl -L "https://api.zippopotam.us/in/141001"Python
import json, urllib.request
with urllib.request.urlopen("https://api.zippopotam.us/in/141001") as r:
data = json.load(r)
print(data['country'])JavaScript (browser or Node.js)
const res = await fetch("https://api.zippopotam.us/in/141001");
const data = await res.json();
console.log(data.country);A real answer
This is what the example request above returned when we called it on 14 November 2026 with the default values (it took about 0.3 s from our computer). Values such as times and temperatures change.
{
"country": "India",
"country abbreviation": "IN",
"post code": "141001",
"places": [
{
"place name": "Sat Sang Rd Ludhiana",
"longitude": "75.85",
"latitude": "30.9",
"state": "Punjab",
"state abbreviation": "PB"
},
{
"place name": "Ludhiana",
"longitude": "75.8444",
"latitude": "30.8676",
"state": "Punjab",
"state abbreviation": "PB"
},
{
"place name": "Ludhiana H O",
"longitude": "75.85",
"latitude": "30.9",
"state": "Punjab",
"state abbreviation": "PB"
},
{
"place name": "Civil Lines",
"longitude": "75.85",
"latitude": "30.9",
"state": "Punjab",
"state abbreviation": "PB"
},
{
"place name": "Ludhiana Kutchery",
"longitude": "75.85",
"latitude": "30.9",
"state": "Punjab",
"state abbreviation": "PB"
},
{
"place name": "Ludhiana Bus Stand",
"longitude": "75.85",
"latitude": "30.9",
"state": "Punjab",
"state abbreviation": "PB"
},
{
"place name": "Chander Nagar",
"longitude": "75.85",
"latitude": "30.9",
"state": "Punjab",
"state abbreviation": "PB"
},
{
"place name": "Durga Puri",
"longitude": "75.85",
"latitude": "30.9",
"state": "Punjab",
"state abbreviation": "PB"
},
{
"place name": "P & T Colony Ludhiana",
"longitude": "75.85",
"latitude": "30.9",
"state": "Punjab",
"state abbreviation": "PB"
}
]
}This is an independent directory. It is not connected with any of the services listed. Each address was called on 14 November 2026 with curl, Python, Node.js and Chrome (from a page on another site), and the answer shown is a real one. APIs change: check the service's own page before you depend on it.