LegalCheck Litigation Background Check API

The LegalCheck Litigation Background Check API screens an individual or a company against eCourtsIndia's 350M+ Indian court records. You submit the subject's details once and receive a scored report: matched cases with identity bands, a risk score and band, a summary by status, nature and court, and a log of every search the engine ran.

POST https://webapi.ecourtsindia.com/api/partner/legal-check

Overview

Searching a name across court records is easy; knowing which hits are really your subject is not. Common names return hundreds of cases, most about other people. LegalCheck does the matching work: it searches the corpus, weighs evidence such as father's name, address, date of birth and company identifiers, and separates confirmed matters from same-name records. Employers, background verification firms, lenders, insurers and procurement teams use it for candidate, borrower and vendor screening.

The API is asynchronous. POST /api/partner/legal-check accepts an individual or company with optional context and returns a resource code, a status URL and a report URL. Poll the status until it is completed, then fetch the legal-check.v1 report with the LegalCheck Report API. Each partner may have up to three jobs queued or running, and an Idempotency-Key header makes retries safe.

Input
subject_type (individual or company) plus name, father's name, aliases, date of birth, addresses; or company name, directors, CIN, GST, PAN
Returns
202 Accepted with code, status, model, status_url, report_url and estimated_seconds
Coverage
Supreme Court, all 25 High Courts, district courts and 18 tribunal types; 350M+ case records
Model
eCI-1.0 for individuals and companies
Concurrency
Up to three queued or running jobs per partner
Auth
Bearer API key or OAuth via the MCP server
Register
eCourtsIndia (ecourtsindia.com)
Data source
Public court records published by the Supreme Court, High Courts, district courts and tribunals, harvested daily and refreshed on demand.

What it returns

code

LegalCheck resource code, for example LC-A1B2C3D; keep it to read status and report

status

queued, running, completed or failed

model

Matching model used, currently eCI-1.0

status_url

Path to poll for progress

report_url

Path to fetch the report once completed

estimated_seconds

Advisory estimate of processing time, not a guarantee

current_stage / progress (status call)

Which stage the job is in and how many steps are done

error (status call)

Stable failure code and a safe message if the job failed

Use cases

Employee background verification

A verification firm receives a candidate's name, father's name, date of birth and address with consent. It submits a LegalCheck with purpose employment screening and its case reference, then polls status. The report separates confirmed matters from unrelated same-name cases, so the employer sees facts rather than a raw list of hits.

Vendor onboarding

A procurement team checks a new supplier before signing. It submits the company name with CIN, GST and director names as corroborating context, plus the contract value as ticket_size. The completed report shows pending and disposed matters against the company and links each case and order for review.

Borrower and guarantor checks

A lender screens a borrower and two guarantors for an unsecured loan. Three LegalCheck jobs run in parallel, within the limit of three per partner. The credit team reads each risk band and verified matter count, and opens the linked orders only where something serious is brought against the subject.

How to use it

  1. POST /api/partner/legal-check with subject_type, subject details and optional config (purpose, ticket_size, client_ref_no), plus an Idempotency-Key header.
  2. Save data.code, data.status_url and data.report_url from the 202 response.
  3. Poll GET /api/partner/legal-check/{code}, honouring the Retry-After header, until status is completed or failed.
  4. Fetch GET /api/partner/legal-check/{code}/report and, if needed, the search log at /log.

Parameters

NameInDescription
subject required body Individual or company details (name, father’s name, address, DOB or CIN).
Idempotency-Key header Stable key so retries never create a second job.

Example

Request

curl -X POST "https://webapi.ecourtsindia.com/api/partner/legal-check" \
  -H "Authorization: Bearer eci_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

Response (illustrative)

// POST /api/partner/legal-check  (Idempotency-Key: vendor-2041-attempt-1)
{
  "subject_type": "individual",
  "subject": {
    "name": "R. Kumar",
    "father_name": "S. Kumar",
    "date_of_birth": "1990-05-14",
    "addresses": ["Pune, Maharashtra"]
  },
  "config": { "model": "eCI-1.0", "purpose": "vendor_onboarding", "client_ref_no": "VENDOR-2041" }
}

// 202 Accepted
{
  "data": {
    "code": "LC-X7Y8Z9Q",
    "status": "queued",
    "model": "eCI-1.0",
    "status_url": "/api/partner/legal-check/LC-X7Y8Z9Q",
    "report_url": "/api/partner/legal-check/LC-X7Y8Z9Q/report",
    "estimated_seconds": 90
  },
  "meta": { "request_id": "req_example020" }
}

Authenticate with Authorization: Bearer eci_live_…. Every response field is documented in the eCourtsIndia API documentation. Assistants can also call this through the eCourtsIndia MCP server.

Glossary

Identity band
How sure the engine is that a case is about your subject: confirmed (tied by evidence beyond the name), probable or possible (unresolved same-name records) or excluded (ruled out). It describes identity, not how serious the case is.
Idempotency-Key
A header holding a unique key you choose, 1 to 255 characters, for one submission. If a network error makes you retry with the same key and body, you get the original job back instead of a second one. Reusing a key with a different body returns IDEMPOTENCY_CONFLICT.
Father's name matching
Indian court records often identify a party as son, daughter or wife of a named person. Supplying the father's or related person's name lets the engine tell apart people who share a common name, which is the main source of false matches.

Good to know

  • Asynchronous: the report is available only after status is completed.
  • At most three jobs queued or running per partner.
  • AML, sanctions, PEP and similar watchlist sources are not part of this check.
  • Identity matching is probabilistic; verify findings against the linked court records before adverse action.

Frequently asked questions

Is there an API for a litigation background check in India?

Yes. The LegalCheck API screens a person or a company against Indian court and tribunal records and returns a scored report. You submit the subject once, poll a status URL, then read a report with matched cases, identity bands, a risk band and a full search log.

What details should I send for a person?

The name and the father's or related person's name are the core fields. Aliases, date of birth in YYYY-MM-DD form, addresses and gender help separate the subject from others with the same name. More corroborating detail usually means more confirmed matches and fewer unresolved ones.

Can I check a company by CIN or GSTIN?

Yes. Use subject_type company with the company name, and add the CIN, GST number, PAN, director names and registered addresses as corroborating context. These identifiers help the engine attribute cases, but supplying them does not mean the API independently verifies them against a registry.

How long does a check take?

The submit response includes estimated_seconds, for example 90, which is advisory rather than a guarantee. Poll the status URL and honour the Retry-After header, typically five seconds, until the status is completed or failed. Then fetch the report. The status call also shows the current stage and a progress counter while the job runs.

How is this different from searching names on the eCourts portal?

The government portal searches one court establishment at a time by party name and leaves you to decide which results are your subject. LegalCheck searches the whole corpus, weighs father's name, address and other evidence, and labels each case confirmed, probable, possible or excluded with the reasons.

Can I run a LegalCheck from Claude or ChatGPT?

Yes. The eCourtsIndia MCP server has submit_legal_check to start a check, get_legal_check to wait for it and return the report or the search log, and list_legal_checks to find past checks. The assistant should confirm with you before submitting, since each submission starts a new job.

What happens if I retry a submission after a timeout?

Send the same Idempotency-Key with the same body. The API returns the original job rather than creating another. Do not rotate keys to get around the limit of three jobs in flight; a fourth returns 429 LEGAL_CHECK_QUEUE_FULL. Wait for one of the running jobs to finish first.