Telangana search
Prohibitory Orders (22A) LIVE
The Section 22A registers published for a village -- government, assigned, waqf and endowment land, and land under court order.
This search reads a register published for an area, not a per-property answer. found: false means no per-property match was computed. The documents are the deliverable, so read them.
What you get
Every published register for the village as a PDF, plus a manifest of what was fetched.
Request parameters
These are the keys of params in the request body. A value shown as from lookup is a code you get by searching for the item by name first, not text you type.
| Name | Type | Required | Example | Comes from |
|---|---|---|---|---|
district_code | string | Required | from lookup “district” | district lookup, option meta “district_code” |
district_name | string | Required | from lookup “district” | district lookup, option meta “label” |
mandal_code | string | Required | from lookup “mandal” | mandal lookup, option meta “mandal_code” |
mandal_name | string | Required | from lookup “mandal” | mandal lookup, option meta “label” |
village_code | string | Required | from lookup “village” | village lookup, option meta “village_code” |
village_name | string | Required | from lookup “village” | village lookup, option meta “label” |
subject_numbers | string[] | Optional | ["1132-1A, 25/2"] | field "subject_numbers" |
prohibited_register | string | Optional | AGRI | fixed by the search |
Field details
| Field | Type | Notes |
|---|---|---|
districtDistrict | lookup | Hyderabad is absent: it is GHMC, organised in wards, and has no register published here. |
mandalMandal | lookup | |
villageVillage | lookup | |
subject_numbersDoor / Survey Numbers | tags | Optional. Printed on the manifest so the file records what was being checked. The portal has no number filter -- it publishes whole registers. |
Resolve names to codes
Search for each item by name, take the code from the match and pass it in params. A lookup needs a query of at least 2 characters and returns at most 10 matches (details).
| Field | Lookup | Needs first | Example call |
|---|---|---|---|
district | district | - | GET /api/v1/search/lookups?state=telangana&dim=district&q=<name> |
mandal | mandal | district | GET /api/v1/search/lookups?state=telangana&dim=mandal&q=<name>&district=<code> |
village | village | district, mandal | GET /api/v1/search/lookups?state=telangana&dim=village&q=<name>&district=<code>&mandal=<code> |
Example request
Replace each <...> with the value from its lookup match, and the sample values with your own.
curl -X POST "https://legiscore.in/api/v1/search" \
-H "Authorization: Bearer lsk_your_api_key" \
-H "Idempotency-Key: los-case-8841" \
-H "Content-Type: application/json" \
-d '{
"state": "telangana",
"search_type": "prohibited",
"params": {
"district_code": "<district.district_code>",
"district_name": "<district.label>",
"mandal_code": "<mandal.mandal_code>",
"mandal_name": "<mandal.label>",
"village_code": "<village.village_code>",
"village_name": "<village.label>",
"subject_numbers": [
"1132-1A, 25/2"
],
"prohibited_register": "AGRI"
},
"label": "Prohibitory Orders (22A) - case 8841"
}'import requests
resp = requests.post(
"https://legiscore.in/api/v1/search",
headers={"Authorization": "Bearer lsk_your_api_key", "Idempotency-Key": "los-case-8841"},
json={
"state": "telangana",
"search_type": "prohibited",
"params": {
"district_code": "<district.district_code>",
"district_name": "<district.label>",
"mandal_code": "<mandal.mandal_code>",
"mandal_name": "<mandal.label>",
"village_code": "<village.village_code>",
"village_name": "<village.label>",
"subject_numbers": [
"1132-1A, 25/2"
],
"prohibited_register": "AGRI"
},
"label": "Prohibitory Orders (22A) - case 8841"
},
)
resp.raise_for_status()
print(resp.json())const resp = await fetch("https://legiscore.in/api/v1/search", {
method: "POST",
headers: { Authorization: "Bearer lsk_your_api_key", "Idempotency-Key": "los-case-8841", "Content-Type": "application/json" },
body: JSON.stringify({
"state": "telangana",
"search_type": "prohibited",
"params": {
"district_code": "<district.district_code>",
"district_name": "<district.label>",
"mandal_code": "<mandal.mandal_code>",
"mandal_name": "<mandal.label>",
"village_code": "<village.village_code>",
"village_name": "<village.label>",
"subject_numbers": [
"1132-1A, 25/2"
],
"prohibited_register": "AGRI"
},
"label": "Prohibitory Orders (22A) - case 8841"
}),
});
if (!resp.ok) throw new Error(await resp.text());
console.log(await resp.json());Sample responses
202 Accepted, at submit
{
"data": {
"searches": [
{
"id": "SRCH-2026-A1B2C3D4",
"state": "telangana",
"search_type": "prohibited",
"label": "Prohibitory Orders (22A) - case 8841",
"status": "queued",
"progress": 0,
"note": null,
"found": null,
"records": null,
"record_count": null,
"documents": [],
"error": null,
"refunded": false,
"replayed": false,
"batch_id": null,
"recovery_of": null,
"source": "api",
"created_at": "2026-10-05T10:00:00Z",
"completed_at": null
}
],
"rejected": [],
"replayed": {
"free": 0,
"billed": 0,
"idempotent": 0
},
"batch_id": null
}
}200 OK, GET /api/v1/search/{id} once finished
{
"data": {
"id": "SRCH-2026-A1B2C3D4",
"state": "telangana",
"search_type": "prohibited",
"label": "Prohibitory Orders (22A) - case 8841",
"status": "succeeded",
"progress": 100,
"note": null,
"found": true,
"records": [
{
"...": "one object per row the source returned; shape varies by search"
}
],
"record_count": 1,
"documents": [
{
"filename": "result.pdf",
"content_type": "application/pdf",
"bytes": 184233,
"withheld": false
}
],
"error": null,
"refunded": false,
"replayed": false,
"batch_id": null,
"recovery_of": null,
"source": "api",
"created_at": "2026-10-05T10:00:00Z",
"completed_at": "2026-10-05T10:03:12Z"
}
}records holds one object per row the source returned. Its shape is specific to this search. Documents are fetched with GET /api/v1/search/{id}/documents/{filename}.