Uttar Pradesh search
Revenue Court Cases on a Plot (RCCMS) LIVE
Every revenue court case filed on a plot (gata / khasra), with the court, the parties, the khata and the order date. Or look up one case by its number.
What you get
Each case with court, parties and addresses, act and section, status and dates, plus the portal’s case page as a PDF.
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 |
|---|---|---|---|---|
case_number | string | Optional | C202310000002931 | field "case_number" |
district_code | string | Optional | from lookup “district” | uttarpradesh_rccms_district lookup, option meta “value” |
tehsil_code | string | Optional | from lookup “tehsil” | uttarpradesh_rccms_tehsil lookup, option meta “value” |
pargana_code | string | Optional | from lookup “pargana_code” | uttarpradesh_rccms_pargana lookup, option meta “value” |
village_code | string | Optional | from lookup “village” | uttarpradesh_rccms_village lookup, option meta “value” |
gata_no | string | Optional | 10 | field "gata_no" |
max_cases | number | Optional | 20 | field "max_cases" |
Field details
| Field | Type | Notes |
|---|---|---|
districtDistrict | lookup | District and tehsil list the villages; the search itself needs only the village and gata. |
tehsilTehsil | lookup | |
pargana_codePargana | lookup | Optional. Leave blank if you do not know it; the village list covers the whole tehsil. |
villageVillage | lookup | Type in English or Hindi. |
gata_noGata / Khasra Number | text | Max 7 characters. |
case_numberOr: Case Number | text | The computerised case number, a letter and 15 digits. Give this alone, without a plot. Max 16 characters. |
max_casesMax Cases | text | Optional, 1 to 50. Max 2 characters. |
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 | uttarpradesh_rccms_district | - | GET /api/v1/search/lookups?state=uttarpradesh&dim=uttarpradesh_rccms_district&q=<name> |
tehsil | uttarpradesh_rccms_tehsil | district | GET /api/v1/search/lookups?state=uttarpradesh&dim=uttarpradesh_rccms_tehsil&q=<name>&district=<code> |
pargana_code | uttarpradesh_rccms_pargana | district, tehsil | GET /api/v1/search/lookups?state=uttarpradesh&dim=uttarpradesh_rccms_pargana&q=<name>&district=<code>&tehsil=<code> |
village | uttarpradesh_rccms_village | district, tehsil | GET /api/v1/search/lookups?state=uttarpradesh&dim=uttarpradesh_rccms_village&q=<name>&district=<code>&tehsil=<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": "uttarpradesh",
"search_type": "revenue_court",
"params": {
"case_number": "C202310000002931",
"district_code": "<district.value>",
"tehsil_code": "<tehsil.value>",
"pargana_code": "<pargana_code.value>",
"village_code": "<village.value>",
"gata_no": "10",
"max_cases": 20
},
"label": "Revenue Court Cases on a Plot (RCCMS) - 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": "uttarpradesh",
"search_type": "revenue_court",
"params": {
"case_number": "C202310000002931",
"district_code": "<district.value>",
"tehsil_code": "<tehsil.value>",
"pargana_code": "<pargana_code.value>",
"village_code": "<village.value>",
"gata_no": "10",
"max_cases": 20
},
"label": "Revenue Court Cases on a Plot (RCCMS) - 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": "uttarpradesh",
"search_type": "revenue_court",
"params": {
"case_number": "C202310000002931",
"district_code": "<district.value>",
"tehsil_code": "<tehsil.value>",
"pargana_code": "<pargana_code.value>",
"village_code": "<village.value>",
"gata_no": "10",
"max_cases": 20
},
"label": "Revenue Court Cases on a Plot (RCCMS) - 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": "uttarpradesh",
"search_type": "revenue_court",
"label": "Revenue Court Cases on a Plot (RCCMS) - 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": "uttarpradesh",
"search_type": "revenue_court",
"label": "Revenue Court Cases on a Plot (RCCMS) - 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}.