NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

India Pincode Lookup API

GET

Look up any Indian PIN code and every post office under it.

India Pincode Lookup is an Indian PIN code API covering all ~19,300 PIN codes and ~157,000 post offices. Look up a PIN code to get its district, state, ISO state code, India Post circle, region, division and post office count, or search by post office, district or state, while paid plans add coordinates, every post office with its type and delivery status, and nearby PIN codes by distance.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/indiapincode
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "count": 1,
    "totalMatches": 1,
    "results": [
      {
        "pincode": "560001",
        "district": "Bengaluru Urban",
        "state": "Karnataka",
        "stateCode": "KA",
        "circle": "Karnataka Circle",
        "region": "Bengaluru HQ Region",
        "division": "BANGALORE GPO DIVISION",
        "latitude": 12.98247,
        "longitude": 77.59456,
        "timezone": "Asia/Kolkata",
        "postOfficeCount": 10,
        "deliveryOfficeCount": 1,
        "postOffices": [
          {
            "name": "Bengaluru G.P.O.",
            "officeType": "head_office",
            "delivery": true,
            "latitude": 12.9716,
            "longitude": 77.59456
          },
          {
            "name": "Bengaluru Foreign Post S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 13.03,
            "longitude": 77.6007
          },
          {
            "name": "CMM Court Complex S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 12.97949,
            "longitude": 77.59418
          },
          {
            "name": "Dr. Ambedkar Veedhi S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 12.98114,
            "longitude": 77.59536
          },
          {
            "name": "HighCourt S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 12.96842,
            "longitude": 77.56919
          },
          {
            "name": "Legislators Home S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 12.98386,
            "longitude": 77.58961
          },
          {
            "name": "Mahatma Gandhi Road S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 12.16103,
            "longitude": 78.00022
          },
          {
            "name": "Rajbhavan S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 12.98247,
            "longitude": 77.5913
          },
          {
            "name": "Vasanthanagar S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 12.99351,
            "longitude": 77.5921
          },
          {
            "name": "Vidhana Soudha S.O",
            "officeType": "sub_office",
            "delivery": false,
            "latitude": 12.98747,
            "longitude": 77.60475
          }
        ],
        "nearby": [
          {
            "pincode": "560009",
            "district": "Bengaluru Urban",
            "state": "Karnataka",
            "distanceKm": 1.57
          },
          {
            "pincode": "560042",
            "district": "Bengaluru Urban",
            "state": "Karnataka",
            "distanceKm": 1.93
          }
        ]
      }
    ]
  }
}

About the India Pincode Lookup API

A pincode lookup API built from the All India Pincode Directory published by the Department of Posts, Government of India. One call returns the full picture for a PIN code: district and state with its ISO 3166-2:IN code, the India Post circle, region and division, a coordinate taken as the median of its offices, and every post office under the PIN marked as head, sub or branch office with its delivery status and own coordinates. Reverse lookups find PIN codes by post office name, district or state. The coordinates and the post office list are on paid plans, as is nearby=true, which lists the PIN codes within a radius of up to 50 km, nearest first.

What people use it for

Checkout Address Autofill
Fill district and state as soon as a shopper types a 6-digit PIN code, and reject PIN codes that do not exist.
Delivery Serviceability
Check whether a PIN code has a delivery post office and list nearby PIN codes for courier zone planning.
Address Cleaning
Standardise district and state names and attach ISO state codes to customer records.
Store and Agent Locators
Find the PIN codes around a branch to define its catchment area.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use India Pincode Lookup

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the India Pincode Lookup API.

Read the docs →
How complete is the directory?
It covers every PIN code and post office in the All India Pincode Directory, about 19,300 PIN codes and 157,000 offices across all states and union territories. Data: All India Pincode Directory, Department of Posts, Government of India, under the Government Open Data License - India.
What does the Free plan include?
Every lookup and search with the PIN code, district, state, state code, circle, region, division and the number of post offices (postOfficeCount, deliveryOfficeCount). Paid plans add the coordinates, the full postOffices list with each office's type, delivery status and coordinates, and nearby=true, the list of PIN codes within a radius; on the Free plan latitude, longitude and postOffices come back null.
How accurate are the coordinates?
They come from the directory itself. Some offices have no coordinate or an implausible one; those are returned as null, and the PIN's own coordinate is the median of its offices so one mis-keyed office cannot move it.
Why does a PIN code return several post offices?
A PIN code is a delivery area, usually served by one head or sub office and several branch offices. On paid plans all of them are returned in postOffices, head office first, each with its delivery status; postOfficeCount gives the number on every plan.
How many credits does a lookup use?
Each call costs 2 credits. 10,000 lookups use 20,000 credits, a tenth of the Starter plan's monthly allowance.

Ready to build with India Pincode Lookup? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs