Source: https://legiscore.in/docs/states/andhra/ror

# Record of Rights (1-B / Adangal) (Andhra Pradesh)

Who the revenue department records as the pattadar of a piece of land, and how that land is classified.

Status: LIVE. Source status: No recent runs. Typical time: up to 5 min. state: `andhra`, search_type: `ror`.

Uses an OTP: LegiScore handles the code; the search may show awaiting_otp briefly. AI Recovery does not run on this search.

## What you get

The pattadar rows for the khata or parcel, plus the Mee Bhoomi report as a PDF.

## Request parameters

Keys of `params`. A value "from lookup" is a code you get by searching for the item by name first (https://legiscore.in/docs/api/lookups).



| Name | Type | Required | Example | Comes from |
| --- | --- | --- | --- | --- |
| `district_id` | string | required | from lookup "district" | ror_district lookup (https://legiscore.in/docs/api/lookups#andhra-ror_district) |
| `district_name` | string | required | from lookup "district" | ror_district lookup (https://legiscore.in/docs/api/lookups#andhra-ror_district) |
| `mandal_id` | string | required | from lookup "mandal" | ror_mandal lookup (https://legiscore.in/docs/api/lookups#andhra-ror_mandal) |
| `mandal_name` | string | required | from lookup "mandal" | ror_mandal lookup (https://legiscore.in/docs/api/lookups#andhra-ror_mandal) |
| `village_code` | string | required | from lookup "village" | ror_village lookup (https://legiscore.in/docs/api/lookups#andhra-ror_village) |
| `village_name` | string | required | from lookup "village" | ror_village lookup (https://legiscore.in/docs/api/lookups#andhra-ror_village) |
| `search_number` | string | required | 102 | field "search_number" |
| `record_type` | string | required | ror_1b | field "record_type" |

## Field details

| Field | Type | Notes |
| --- | --- | --- |
| `district` (District) | lookup |  |
| `mandal` (Mandal) | lookup |  |
| `village` (Village) | lookup |  |
| `record_type` (Record) | 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_number` (Khata / L.P Number) | text | Must be a number the village actually holds — the portal offers no others. |

## Resolve names to codes

| Field | Lookup | Needs first |
| --- | --- | --- |
| district | ror_district | - |
| mandal | ror_mandal | district |
| village | ror_village | district, mandal |

q is required (2+ characters), at most 10 matches.

## Example request

Replace each <...> with the value from its lookup match.

**curl**

```bash
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"
}'
```

**Python**

```python
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())
```

**Node**

```js
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());
```

## Sample responses

202 Accepted, at submit:

```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
  }
}
```

200 OK, GET /api/v1/search/{id} once finished:

```json
{
  "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"
  }
}
```
