LLegiScoreSearch API
Get an API key
Get started
IntroductionAuthenticationQuickstartSearch lifecycleErrorsWebhooksCreditsGet an API key
API reference
Credit balancegetCataloggetLookupsgetSearchespost
States
All states
View as Markdownllms-full.txt

Get started

Credits

Searches are paid from a credit wallet on your workspace. A credit is charged per search, and refunded in full if the search fails for any reason.

How charging works

EventCharge
Search submittedCharged at submit.
Maharashtra Index-II by property20 credits per year searched (year_to defaults to year_from). 1 to 10 years: one search. 11 or more years: one search per year, returned together under one batch_id. Years the portal never answered are refunded.
Search fails for any reason, or is cancelledRefunded in full.
Request refused (422, 402, 429)Nothing charged.
Search is HELDRefused with 422 search_unavailable before any charge.
Same search again by the same person within 24 hoursFree. Same id returned.
Same search by a colleague in the workspace within 24 hoursCharged. Served from the recent result.
Retry with the same Idempotency-Key within 24 hoursFree.
A batch that would exceed your balanceRefused whole with 402. Nothing charged.

Optional layers

LayerWhat it does
AI AssistUpload a document or paste text for a state. We propose search parameters and never submit for you. Charged only when something was extracted. POST /api/v1/search/assist
AI RecoveryOn an incomplete result, try related identifiers. Refunded if there is nothing defensible to try. Not available for searches that send an OTP. POST /api/v1/search/{id}/recover

Check your balance

GET /api/v1/search/credits returns your search wallet. This is separate from report credits: search credits only pay for searches made through this API.

json
{
  "data": {
    "scope": "organization",
    "balance": 1200,
    "spendable": 1200,
    "postpaid": { "enabled": false, "limit": 0 },
    "ledger": [
      { "type": "charge", "balance_after": 1180, "cost_key": "search.andhra.rera", "note": null, "at": "2026-10-05T10:00:00Z" }
    ]
  }
}
Topping up
Credits are added to your workspace by LegiScore. Contact us to add credits or to set up postpaid billing.
PreviousWebhooksNextGet an API key