Postal Code API
Look up location details by postal code (pincode). Returns area name, city, state, and coordinates for the given pincode.
Try in Playground →Endpoint
GET
/v4/pincode.jsonAuthentication
Include your token in the request header:
X-Authorization-Token: your_token
Parameters
| Name | Type | Description |
|---|---|---|
| pincode | string | 6-digit postal code |
Code Examples
curl "https://apihub.latlong.ai/v4/pincode.json?pincode=VALUE" \ -H "X-Authorization-Token: YOUR_TOKEN"
Example Response
JSON
{
"status": "success",
"code": 1001,
"data": {
"pincode": "560001",
"area": "GPO Bangalore",
"city": "Bangalore",
"state": "Karnataka",
"latitude": 12.9716,
"longitude": 77.5946
}
}
