Pincode to City and State API

The API takes the 6 digit Indian pincode and returns the corresponding city and state

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This API can we used to validate the pincodes on PDP pages and checkout flows, it will return the city and state corresponding to a valid Indian pincode

API Response

{
    "meta": {
        "success": true,
        "status": 200,
        "message": "Success"
    },
    "result": {
        "pincode": "380055",
        "city": "AHMEDABAD",
        "state": "GUJARAT"
    }
}
{
    "meta": {
        "success": false,
        "status": 404,
        "message": "Not found: 381111"
    },
    "result": {}
}
Query Params
string
required
Defaults to 380055

valid 6 digit Indian pincode

string
required

Clickpost API Key

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json