India Pin Code API Documentation
Our API allows developers to access postal PIN codes, districts, localities, and related information programmatically. Use your unique API key to make requests.
Base URL
https://www.india-pin-code.com/api.php
Request Method
GET requests are supported.
Parameters
- q – Query: City, district, state, or PIN code.
- api_key – Your unique API key obtained after registration.
Example Request
https://www.india-pin-code.com/api.php?q=Hamirpur&api_key=YOUR_API_KEY
Response
JSON formatted response containing postal information:
{ "officename": "Hamirpur B.O", "district": "Hamirpur", "statename": "Himachal Pradesh", "pincode": "177001", "latitude": "31.7055", "longitude": "76.5266" }
Rate Limits
Each API key is limited to 500 requests per IP per day. Exceeding this limit will return an error message.
Support
If you face any issues, contact us via the contact page.