Overview
Village names in India repeat thousands of times and every government portal spells them differently, so a name alone rarely identifies a place. Land record, lending, insurance and field-operations teams need to turn a name typed by a user, or written on a form, into a fixed LGD code before they can look up plots, rates or records. This endpoint is that first step, and it tolerates spelling variation rather than demanding an exact match.
One call returns matches grouped by kind: states, districts, tehsils and villages, best match first. Each village comes with its LGD code, tehsil, district, state and pincode, so a user can pick the right one from several places sharing a name. With the LGD code in hand, the Village Profile API returns the full village record, and the plot, khata and rate endpoints take the same code. A 6-digit pincode as the query returns the villages inside that pincode.
- Input
- q: a place name (3 or more characters) or a 6-digit pincode; optional limit of 1 to 50 villages (default 20)
- Returns
- Matching states, districts, tehsils and villages, best first, each with LGD code and URL
- Coverage
- 36 states and UTs, 783 districts, 6,360 tehsils, 6,83,628 villages, 19,312 pincodes
- Source
- Local Government Directory (LGD) codes, with Census 2011 codes and pincodes where known
- 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
search_places- 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
qThe query as received
statesStates and union territories whose name matches
districtsMatching districts, each with its state and page URL
tehsilsMatching tehsils, talukas, mandals or circles
villagesMatching villages, best first, up to the limit
villages[].lgdLGD village code to pass to the Village Profile and plot endpoints
villages[].tehsilTehsil the village falls in, to tell same-named villages apart
villages[].districtDistrict of the village
villages[].pincode6-digit pincode of the village where known
villages[].urlPublic India Property Register page for the village
Use cases
Village picker in a loan form
A rural lender's onboarding app asks the borrower to type their village. As the field officer types, the app calls Place Search and shows each match with tehsil and district, so the officer picks the right Ramgarh among dozens. The chosen LGD code is stored with the application and reused for land record checks later.
Cleaning addresses in a spreadsheet
An insurer has thousands of crop policies with village names typed by agents, spelt in many ways. A batch job sends each name with its district to Place Search, keeps the match whose district agrees, and writes the LGD code back to the sheet, turning free text into a stable key for reporting.
Pincode to villages for field routing
A dairy cooperative plans collection routes by pincode. For each pincode in its service list, it calls Place Search with the pincode as the query and gets the villages inside it, which it then maps and assigns to collection vans.
How to use it
- Get an API key from your India Property Register account and send it as Authorization: Bearer YOUR_KEY.
- Call GET /api/v1/search?q=Rampur&limit=20 with a place name of 3 or more characters, or a 6-digit pincode.
- Show the villages with their tehsil and district so the user can pick the right one, and keep its lgd value.
- Pass that LGD code to GET /api/v1/village/{lgd} for the full village record, or to the plot and rate endpoints.
Parameters
q required query See the documentation. Example: Rampur limit query See the documentation. Example: 20 Example
Request
curl "https://indiapropertyregister.com/api/v1/search?q=Rampur&limit=20" \
-H "Authorization: Bearer YOUR_KEY" Response (illustrative)
{
"q": "Ramgarh",
"states": [],
"districts": [],
"tehsils": [
{
"name": "Ramgarh",
"state": "Rajasthan",
"url": "https://indiapropertyregister.com/tehsil/..."
}
],
"villages": [
{
"lgd": 412873,
"name": "Ramgarh Khurd",
"tehsil": "Sonpur",
"district": "Devgarh",
"state": "Uttar Pradesh",
"pincode": "262701",
"url": "https://indiapropertyregister.com/village/..."
},
{
"lgd": 412874,
"name": "Ramgarh Kalan",
"tehsil": "Sonpur",
"district": "Devgarh",
"state": "Uttar Pradesh",
"pincode": "262701",
"url": "https://indiapropertyregister.com/village/..."
}
]
} 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 search_places 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.
- Tehsil
- The revenue sub-division of a district where land records are kept and mutations decided. States use different names for the same level: taluka in Maharashtra, Gujarat and Karnataka, mandal in Telangana and Andhra Pradesh, circle or anchal in Bihar and the North East. LGD calls it a sub-district.
Good to know
- The query must be at least 3 characters; limit accepts 1 to 50.
- Village names repeat widely: confirm the tehsil and district before using an LGD code.
Frequently asked questions
Is there an API to find the LGD code of a village by name?
Yes. Send the village name to GET /api/v1/search?q= and the response lists matching villages with their LGD code, tehsil, district, state and pincode. Matching is spelling-tolerant, so Bhadrauli and Bhadroli both find the same place. Pick the match whose district and tehsil fit, then use its LGD code with the other endpoints.
Can I get all villages in a pincode?
Yes. Pass the 6-digit pincode as q and the Place Search API returns the villages inside it. The dedicated Pincode to Village API (GET /api/v1/pincode/{pin}) also returns the post office area details, such as office, division, region and circle, along with the villages.
How many results does one search return?
By default up to 20 villages, best match first. Set limit between 1 and 50 to change that. States, districts and tehsils that match are returned in their own lists alongside the villages. The query must be at least 3 characters long.
Why store the LGD code and not the village name?
Village names are spelled differently by every portal, in different scripts, and many villages share a name even within one district. The LGD code is fixed for each village, so storing it avoids mismatches. The India Property Register documentation recommends storing LGD codes rather than names.
Can an AI assistant search places for me?
Yes. The India Property Register MCP server exposes this endpoint as the search_places tool. Connect the server in Claude, ChatGPT, Cursor or Claude Code, then ask for a village by name and the assistant calls the tool and shows the matches with their LGD codes.
How is this different from looking up the LGD portal directly?
The government LGD directory lets you browse codes level by level, state to district to sub-district to village, and expects exact names. Place Search takes a misspelt name in one request, returns villages, tehsils and districts together with pincodes, and gives codes that plug straight into plot, khata and rate lookups.
Does a match tell me anything about land ownership?
No. Place Search only identifies places and their codes. For land records, take the village LGD code to the plot, khata or owner endpoints. Even then, the records are information read from public government sources, not proof of title, and nothing returned is a certified copy of any record.