Log inGet a key

Location & postal data

Pincode search API

Type a six-digit pincode, get every post office under it — name, branch type, delivery status, district and state.

/pincodefree allowance included
api.apimitra.in /pincode
am@mitra ~ %$curl "https://api.apimitra.in/pincode?pin=721212"
{
"status": "ok",

"api": "pincode",

"pin": "721212",

"count": 26,

"offices": [
{
"name": "Balidanga",

"branch": "Branch Post Office",

"delivery": "Delivery",

"district": "West Midnapore",

"state": "West Bengal",

"block": "Ghatal",

"region": "South Bengal"

}

]

}

6

digit pincode

India Post

official source

branch + delivery

per-office fields

404

unknown pincode

About the API

What this endpoint does.

Every address form in India stops on the pincode, and most user-typing of it is wrong. This endpoint validates a six-digit pincode against official India Post records and returns every office it covers — useful to auto-suggest cities and states as someone types a PIN.

Beyond validation it powers address auto-complete — pick the pincode first and the district and state fill themselves, which deletes whole classes of address-entry errors.

Who builds on this

Built for the teams shipping real products.

  1. 01

    E-commerce checkout

    Validate the PIN, then auto-fill district and state — fewer failed deliveries from bad addresses.

  2. 02

    Marketplaces & logistics

    Confirm a pincode is serviceable before quoting delivery timelines or COD availability.

  3. 03

    Forms & onboarding

    Replace a free-text city/state with a pincode-driven picker in any KYC flow.

Under the hood

What you send. What comes back.

Request

Inputs you send

  • pinrequired

    the six-digit pincode.

Response

JSON you get back

  • name

    post office name.

  • branch

    Head / Sub / Branch Post Office.

  • delivery

    Delivery or Non-Delivery office.

  • district / state

    administrative location of the office.

  • block / region

    taluk/block and postal region.

Try it

One call, real data.

Try it in the playground
/pincode?pin=721212
am@mitra ~ %$curl "https://api.apimitra.in/pincode?pin=721212"
{
"status": "ok",

"api": "pincode",

"pin": "721212",

"count": 26,

"offices": [
{
"name": "Balidanga",

"branch": "Branch Post Office",

"delivery": "Delivery",

"district": "West Midnapore",

"state": "West Bengal",

"block": "Ghatal",

"region": "South Bengal"

}

]

}

26 offices matched — one shown above.

Free tier

Ship on this API free, then pay only when your calls outgrow it.

  • A free monthly request allowance on your first key — enough to build and test.
  • The same key works across every endpoint, so you can switch APIs as you grow.
  • When the free requests end, upgrade to paid — your code and endpoints don’t change.

Every endpoint includes a free monthly request allowance — the size differs from API to API. When your free requests run out, you move to a paid plan with the same key. No card needed to start.

Start with Pincode search, free.

Create an account and we’ll issue your free API key in minutes — this endpoint included.

© 2026 API Mitra. All rights reserved.

service statusMade in India