Indian Pincodes API

The old unauthenticated API is retired. You can use the new API. Signup to generate an API key free of cost.

Indian Pincodes API

Signup | Login

Indian Pincodes API is a super easy to use API that returns the State and City of the pincode you supply. Indian Pincodes API works with Indian pincodes only. The Indian Pincodes API was created by Krishnan.


Why Indian Pincodes API?

"When I learnt about zicodetasticapi.com while watching a tutorial video on youtube, I was super insipired and felt something like this should exist for Indian Pincodes. So I built Indian Pincodes API one Saturday afternoon. However collecting the cities and pincode was the difficult part." - Krishnan


Get Started

Step 1: Signup for a new account
Step 2: Login into your account and generate an API key
Step 3: Make an API call to https://indianpincodes.co.in/api/pincode/{PINCODE}
Step 4: Get response from server
Step 5: Use it the way you want

Example

Request to API (Send the api_key as bearer token)

https://indianpincodes.co.in/api/pincode/110001

Result

{"state":"Delhi","city":"Central Delhi"}

Usage Terms

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Bugs

In case of bugs, please get in touch with me on Twitter. You can find me at @iam_krishnan.

All the best!