'

PINCode API

PINCode API allows developers to get details (Post Office, District, State) of PIN Codes of India.

Request
PINCode api works over HTTP and accepts GET requests.

It has following format

http://pin-codes.in/api/pincode/{PINCODE}

Example
To get details of pincode 829205, use following query

http://pin-codes.in/api/pincode/829205

Response

PINCode API returns the response in JSON format. Status field in response is set to SUCCESS or ERROR.

For Valid PIN Codes
{“status”:”SUCCESS”, “PostOffice”:”Khalari”, “District”:”Ranchi”, “State”:”Jharkhand”}

For Invalid PIN Codes or Error messages
{“status”:”ERROR”,”message”:”Wrong PIN Code”}

Rate Limits
There is o rate limits as of now.

 

Disclaimer
This is experimental api.