Andhra Pradesh search
Who the revenue department records as the pattadar of a piece of land, and how that land is classified.
The source verifies with a one-time code. LegiScore handles it for you, so the search may show awaiting_otp briefly. You do not need to send anything. AI Recovery does not run on this search.
The pattadar rows for the khata or parcel, plus the Mee Bhoomi report as a PDF.
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_id | string | Required | from lookup “district” | ror_district lookup, option meta “district_id” |
district_name | string | Required | from lookup “district” | ror_district lookup, option meta “label” |
mandal_id | string | Required | from lookup “mandal” | ror_mandal lookup, option meta “mandal_id” |
mandal_name | string | Required | from lookup “mandal” | ror_mandal lookup, option meta “label” |
village_code | string | Required | from lookup “village” | ror_village lookup, option meta “village_code” |
village_name | string | Required | from lookup “village” | ror_village lookup, option meta “label” |
search_number |
| Field | Type | Notes |
|---|---|---|
districtDistrict | lookup | |
mandalMandal | lookup | |
villageVillage | lookup | |
record_typeRecord | select | Chooses the register, and with it what the number below means. Values: ror_1b (ROR 1-B — ownership by khata number), adangal (Adangal — one parcel by L.P number). |
search_numberKhata / L.P Number | text | Must be a number the village actually holds — the portal offers no others. |
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 | ror_district | - | GET /api/v1/search/lookups?state=andhra&dim=ror_district&q=<name> |
mandal | ror_mandal | district | GET /api/v1/search/lookups?state=andhra&dim=ror_mandal&q=<name>&district=<code> |
village | ror_village | district, mandal | GET /api/v1/search/lookups?state=andhra&dim=ror_village&q=<name>&district=<code>&mandal=<code> |
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": "andhra",
"search_type": "ror",
"params": {
"district_id": "<district.district_id>",
"district_name": "<district.label>",
"mandal_id": "<mandal.mandal_id>",
"mandal_name": "<mandal.label>",
"village_code": "<village.village_code>",
"village_name": "<village.label>",
"search_number": "102",
"record_type": "ror_1b"
},
"label": "Record of Rights (1-B / Adangal) - 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": "andhra",
"search_type": "ror",
"params": {
"district_id": "<district.district_id>",
"district_name": "<district.label>",
"mandal_id": "<mandal.mandal_id>",
"mandal_name": "<mandal.label>",
"village_code": "<village.village_code>",
"village_name": "<village.label>",
"search_number": "102",
"record_type": "ror_1b"
},
"label": "Record of Rights (1-B / Adangal) - 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": "andhra",
"search_type": "ror",
"params": {
"district_id": "<district.district_id>",
"district_name": "<district.label>",
"mandal_id": "<mandal.mandal_id>",
"mandal_name": "<mandal.label>",
"village_code": "<village.village_code>",
"village_name": "<village.label>",
"search_number": "102",
"record_type": "ror_1b"
},
"label": "Record of Rights (1-B / Adangal) - case 8841"
}),
});
if (!resp.ok) throw new Error(await resp.text());
console.log(await resp.json());{
"data": {
"searches": [
{
"id": "SRCH-2026-A1B2C3D4",
"state": "andhra",
"search_type": "ror",
"label": "Record of Rights (1-B / Adangal) - 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
}
}{
"data": {
"id": "SRCH-2026-A1B2C3D4",
"state": "andhra",
"search_type": "ror",
"label": "Record of Rights (1-B / Adangal) - 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}.
| string |
| Required |
| 102 |
| field "search_number" |
record_type | string | Required | ror_1b | field "record_type" |