Districts (LGD) API

The Districts (LGD) API returns every district of an Indian state, given the state LGD code, with each district's LGD code, Census 2011 code, number of tehsils and villages, and the URL of its public page.

GET https://indiapropertyregister.com/api/v1/state/{lgd}/districts

Overview

Districts are where most Indian administration happens: land records offices, courts, registration and collectors all work at district level. Any app that narrows a user down to a village, any warehouse that rolls data up by district, and any analyst comparing districts needs an accurate list with stable codes, especially since new districts are carved out regularly and names change.

Pass a state LGD code and the response returns the state, the number of districts, and each district with its LGD and Census 2011 codes, counts of tehsils and villages, and a URL. Use a district LGD code with the Tehsils (LGD) API to go one level down, or as the district parameter of the RERA Projects and Bank Auction APIs.

Input
lgd: LGD state code, for example 9 for Uttar Pradesh
Returns
Districts with LGD code, Census 2011 code, tehsil and village counts, URL
Coverage
783 districts across 36 states and UTs
Source
Local Government Directory and Census 2011
Auth
Bearer API key (or X-API-Key header), or OAuth sign-in via the MCP server
Register
India Property Register (indiapropertyregister.com)
MCP tool
list_districts
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

state

The state asked for, with LGD code and name

count

Number of districts in the state

districts

The list of districts

districts[].lgd

LGD district code, used by the tehsils, RERA and auction endpoints

districts[].name

District name

districts[].census2011

Census 2011 district code

districts[].tehsils

Number of tehsils in the district

districts[].villages

Number of villages in the district

districts[].url

Public page for the district

Use cases

Cascading address picker

A housing finance company's application form asks for state, then district, then tehsil, then village. When the applicant picks a state, the form calls the Districts API for that state's LGD code and fills the district dropdown, keeping each selection tied to an official code.

District-level market scan

A real estate analyst covering Maharashtra wants RERA project activity by district. She lists districts with this API, then calls the RERA Projects API with each district code and counts the latest registrations, building a district comparison without hand-made lists. When a new district is added in LGD, it shows up in the next pull, and her charts follow it without any manual mapping of names.

Census joins

A development researcher has Census 2011 district tables. The census2011 code on each district lets her join old census data to current LGD districts and to the village and plot counts from the register. For districts carved out after 2011 she checks the code first, and flags those rows in her tables so readers know the census figures cover the older parent district.

How to use it

  1. Get the state LGD code from the States (LGD) API.
  2. Call GET /api/v1/state/{lgd}/districts, for example /api/v1/state/9/districts.
  3. Store districts[].lgd as the key for each district.
  4. Call GET /api/v1/district/{lgd}/tehsils to list the tehsils of a district.

Parameters

NameInDescription
lgd required path LGD state code Example: 9

Example

Request

curl "https://indiapropertyregister.com/api/v1/state/9/districts" \
  -H "Authorization: Bearer YOUR_KEY"

Response (illustrative)

{
  "state": {
    "lgd": 9,
    "name": "Uttar Pradesh"
  },
  "count": 75,
  "districts": [
    {
      "lgd": 9001,
      "name": "Devgarh",
      "census2011": "190",
      "tehsils": 5,
      "villages": 1420,
      "url": "https://indiapropertyregister.com/district/..."
    },
    {
      "lgd": 9002,
      "name": "Sonbhadra Nagar",
      "census2011": "191",
      "tehsils": 4,
      "villages": 980,
      "url": "https://indiapropertyregister.com/district/..."
    }
  ]
}

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 as the list_districts tool.

Glossary

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.
District
The main administrative unit below the state, headed by a district collector or deputy commissioner who also oversees land revenue and records. States create new districts from time to time, so lists change; the LGD code identifies each district as it now stands.
0

Frequently asked questions

How do I get all districts of a state with LGD codes by API?

Call GET /api/v1/state/{lgd}/districts with the state LGD code. For Uttar Pradesh that is /api/v1/state/9/districts. The response lists every district with its LGD code, Census 2011 code, number of tehsils and villages, and a link to its public page. Store the LGD codes, since district names are spelled differently across portals.

Where do I get the state LGD code?

From the States (LGD) API at GET /api/v1/states, which lists all 36 states and union territories with their codes. You can also find a district directly by name with the Place Search API, which returns matching districts with their state and link alongside matching tehsils and villages.

Are newly created districts included?

The list follows the Local Government Directory. Districts created by a state appear once they are in LGD with their own code. Because districts change, store LGD codes rather than names and refresh the list from time to time, so that villages moved into a new district are picked up.

Can an AI assistant list the districts of a state?

Yes. The India Property Register MCP server provides list_districts. In Claude, ChatGPT, Cursor or Claude Code, ask for the districts of a state and the assistant calls it and returns names with LGD codes. It can then go on to list_tehsils, list_rera_projects or list_auctions for a district you pick.

How does this compare with browsing the LGD website?

The LGD website shows the same codes through forms and downloads. This API returns them as JSON in one request with tehsil and village counts added, and the codes plug directly into the tehsil, RERA, auction and coverage endpoints without any conversion step.

What does the census2011 field help with?

It lets you join Census 2011 district tables, such as population or literacy, to current districts. Where a district was split after 2011, the newer district may carry its parent's census code or none, so check before joining census figures to a district formed later.