Pincode to Village API

The Pincode to Village API takes a 6-digit Indian pincode and returns its post office area (office, division, region and circle, with district and state LGD codes) and every village inside it, each with its LGD code, tehsil and district.

GET https://indiapropertyregister.com/api/v1/pincode/{pin}

Overview

A pincode is what most customers know and what most address forms collect, but land records, rural programmes and government data are organised by village. One pincode can cover dozens of villages across more than one tehsil. Rural lenders, delivery and logistics teams, insurers and survey agencies need to expand a pincode into its villages to route work, check serviceability or join their data to village-level records.

One call returns the post office area of the pincode and a list of villages inside it with their LGD codes, tehsil and district. Those LGD codes then work with the Village Profile API for boundaries and hierarchy, and with the plot, khata and rate endpoints. If you only have a place name, use the Place Search API instead; it also accepts a pincode as the query.

Input
pin: 6-digit pincode (first digit 1 to 9)
Returns
Post office area (office, division, region, circle, district and state LGD codes) and the villages inside it
Coverage
19,312 pincodes and 6,83,628 villages
Source
India Post pincode areas joined to Local Government Directory village codes
Auth
Bearer API key (or X-API-Key header), or OAuth sign-in via the MCP server
Register
India Property Register (indiapropertyregister.com)
Data source
Public state and central records: land records, cadastral maps, registration offices, municipal property-tax registers, RERA, development authorities and bank auction notices. Information, not proof of title.

What it returns

pin

The pincode asked for

office

Post office name for the pincode

division

Postal division

region

Postal region

circle

Postal circle, usually the state

district_lgd

LGD code of the district

state_lgd

LGD code of the state

villages

Villages inside the pincode area

villages[].lgd

LGD code of each village

villages[].tehsil

Tehsil of each village

Use cases

Serviceability check by village

A tractor finance company sets branch territories by village but customers enter only a pincode. On each lead, the app calls the Pincode to Village API, shows the villages in that pincode for the customer to choose, and routes the lead to the branch that covers the chosen village LGD code.

Joining customer data to village records

An agri-input retailer's sales data has only pincodes. An analyst expands each pincode to its villages, then joins village LGD codes to land record coverage and circle rates to understand which villages drive sales and how land values differ across a pincode.

Survey sampling

A research agency running a rural household survey picks pincodes from its sample frame, expands each into villages with this API, and draws villages at random from the list. The LGD codes keep the sample traceable to official village records.

How to use it

  1. Validate the input as 6 digits with a first digit from 1 to 9.
  2. Call GET /api/v1/pincode/{pin}, for example /api/v1/pincode/262701, with Authorization: Bearer YOUR_KEY.
  3. Read the office, district_lgd and state_lgd fields for the post office area.
  4. Loop over villages and pass each lgd to /api/v1/village/{lgd} when you need the full village record.

Parameters

NameInDescription
pin required path See the documentation. Example: 283113

Example

Request

curl "https://indiapropertyregister.com/api/v1/pincode/283113" \
  -H "Authorization: Bearer YOUR_KEY"

Response (illustrative)

{
  "pin": "262701",
  "office": "Sonpur SO",
  "division": "Devgarh",
  "region": "Lucknow",
  "circle": "Uttar Pradesh",
  "district_lgd": 9001,
  "state_lgd": 9,
  "villages": [
    {
      "lgd": 412873,
      "name": "Ramgarh Khurd",
      "tehsil": "Sonpur",
      "district": "Devgarh"
    },
    {
      "lgd": 412874,
      "name": "Ramgarh Kalan",
      "tehsil": "Sonpur",
      "district": "Devgarh"
    },
    {
      "lgd": 412880,
      "name": "Bhawanipur",
      "tehsil": "Sonpur",
      "district": "Devgarh"
    }
  ]
}

Authenticate with Authorization: Bearer <key>. Every response field is documented in the India Property Register API documentation. Assistants can also call this through the India Property Register MCP server.

Glossary

Pincode
The 6-digit Postal Index Number used by India Post. The first digit is the postal zone, the first two give the sub-zone or circle, the first three the sorting district, and the last three the delivery post office. A pincode can span many villages.
LGD code
The numeric code the Local Government Directory, maintained by the Ministry of Panchayati Raj, gives every state, district, sub-district (tehsil), block, gram panchayat and village in India. Codes stay fixed when names are spelled differently across portals, so they are the safest key to store.

Good to know

  • Only villages are returned; urban wards inside a pincode are not listed by this endpoint.

Frequently asked questions

Is there an API to get the list of villages in a pincode?

Yes. GET /api/v1/pincode/{pin} returns the villages inside a 6-digit pincode, each with its LGD code, tehsil and district, along with the post office area details. You can also pass the pincode as q to the Place Search API, which returns the villages in it.

Can one pincode cover more than one tehsil or district?

A pincode is a postal delivery area, not an administrative one, so it can cross tehsil lines and occasionally district lines. That is why each village in the response carries its own tehsil and district. Use the village LGD code, not the pincode, as the key for land records.

What does the response tell me about the post office?

It gives the office name, postal division, region and circle, and the LGD codes of the district and state the pincode belongs to. It does not return delivery timings or post office contact details. The district and state codes let you join the pincode to the rest of the register, for example to list RERA projects or auctions in the same district.

Can I do pincode lookups from an AI assistant?

Yes. Connect the India Property Register MCP server and ask for the villages in a pincode. The search_places tool accepts a 6-digit pincode and returns the villages inside it, and get_village then reads any of them in full, including codes, boundary and the portals that hold its land records.

How is this better than the India Post pincode search?

The India Post search tells you the post offices of a pincode. It does not tell you which revenue villages fall inside it or give LGD codes. This API answers that question directly and returns codes that connect to land records, boundaries and circle rates.

What happens with an invalid pincode?

A pincode must be 6 digits with a first digit from 1 to 9. A malformed value returns a 400 error such as invalid_pincode, and a well-formed pincode not on the register returns 404 not_found, both as JSON with a message saying what to fix.