LLegiScoreSearch API
Get an API key
Get started
IntroductionAuthenticationQuickstartSearch lifecycleErrorsWebhooksCreditsGet an API key
API reference
Credit balancegetCataloggetLookupsgetSearchespost
States
All states
All Haryana searchesJamabandi Nakal (Record of Rights)heldHoldings by Owner NameheldKhewat / Khatoni DetailsheldPlot Report from the Map (BhuNaksha)Village Map (Shajra, BhuNaksha)
View as Markdownllms-full.txt
States / Haryana / Khewat / Khatoni Details

Haryana search

Khewat / Khatoni Details HELD

The khasras of a khewat (or of one khatoni under it) from the current jamabandi: land type and area of each. Without a khewat number, the village’s khewat list.

Typical time
up to 7 min
Source status
Held
search_type
search_property
Held: not accepting searches right now

This search is temporarily unavailable. A submit is refused with 422 search_unavailable and nothing is charged. This page updates when the hold is lifted.

What you get

Each khasra with its land type and area, the owners as listed, and the portal’s 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.

NameTypeRequiredExampleComes from
district_codestringRequiredfrom lookup “district”hr_district lookup, option meta “value”
tehsil_codestringRequiredfrom lookup “tehsil”hr_tehsil lookup, option meta “value”
village_codestringRequiredfrom lookup “village”hr_village lookup, option meta “value”
record_typestringRequiredkhewatfield "record_type"
khewat_numberstringOptional69field "khewat_number"

Field details

FieldTypeNotes
district
District
lookup
tehsil
Tehsil
lookup
village
Village
lookupType in English or Hindi. The village as the jamabandi names it.
record_type
Record
selectValues: khewat (Khewat), khatoni (One khatoni under a khewat).
khewat_number
Khewat Number
textLeave blank for the village’s list of khewats. Max 10 characters.
khatoni_number
Khatoni Number
textOnly when record_type is "khatoni". Max 10 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).

FieldLookupNeeds firstExample call
districthr_district-GET /api/v1/search/lookups?state=haryana&dim=hr_district&q=<name>
tehsilhr_tehsildistrictGET /api/v1/search/lookups?state=haryana&dim=hr_tehsil&q=<name>&district=<code>
villagehr_villagedistrict, tehsilGET /api/v1/search/lookups?state=haryana&dim=hr_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": "haryana",
  "search_type": "search_property",
  "params": {
    "district_code": "<district.value>",
    "tehsil_code": "<tehsil.value>",
    "village_code": "<village.value>",
    "record_type": "khewat",
    "khewat_number": "69"
  },
  "label": "Khewat / Khatoni Details - 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": "haryana",
      "search_type": "search_property",
      "params": {
        "district_code": "<district.value>",
        "tehsil_code": "<tehsil.value>",
        "village_code": "<village.value>",
        "record_type": "khewat",
        "khewat_number": "69"
      },
      "label": "Khewat / Khatoni Details - 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": "haryana",
    "search_type": "search_property",
    "params": {
      "district_code": "<district.value>",
      "tehsil_code": "<tehsil.value>",
      "village_code": "<village.value>",
      "record_type": "khewat",
      "khewat_number": "69"
    },
    "label": "Khewat / Khatoni Details - 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": "haryana",
        "search_type": "search_property",
        "label": "Khewat / Khatoni Details - 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": "haryana",
    "search_type": "search_property",
    "label": "Khewat / Khatoni Details - 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}.

PreviousHoldings by Owner NameNextPlot Report from the Map (BhuNaksha)