Overview
A background check is only useful if the reader can see what was found, how sure the engine is, and why. The LegalCheck Report API delivers that as structured JSON. Verification firms render it into their own reports, lenders store the risk band and verified matter count against an application, and compliance teams keep the full report and search log as an audit trail.
The report holds risk (score, band, five-level band, headline, rationale and how it was scored), summary (counts by identity band, status, nature, court tier, role and category, next hearing date), and matches, each with CNR, cause title, court, status, dates, parties, advocates, identity band, match breakdown and public URLs for the case, orders and true copies. Use verbosity, bands and min_score to control detail. Related calls cover status, listing, models and the search log.
- Input
- LegalCheck code (for example LC-A1B2C3D); optional verbosity, bands, min_score, include, pretty
- Returns
- legal-check.v1 report: risk, summary, matches, links and provenance
- Related calls
- Status, search log, list of checks, models
- Detail levels
- compact (confirmed only), standard (default), full
- 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
risk.score / risk.band_5Risk score and five-level band (for example MEDIUM), based on confirmed matters against the subject
risk.headline / rationaleOne-line verdict and the reasons behind it
risk.identity_confidenceOverall confidence that matches are the subject
summary.verified_matchesNumber of confirmed matters
summary.by_band / by_status / by_natureCounts by identity band, case status and civil, criminal, consumer or regulatory nature
summary.by_roleMatters against the subject, brought by the subject, procedural or unknown
summary.next_hearing_dateEarliest upcoming hearing across matches
matches[].cnr / cause_titleCase identifier and title of each matched case
matches[].match_band / match_confidenceIdentity band and score for that case
matches[].match_breakdownHow name, father's name, address, date of birth and PAN compared
matches[].status_normalizedPending, disposed or unknown, corrected for stale raw status
matches[].urlsPublic eCourtsIndia links to the case, each order and true-copy PDFs
engine.search_log_urlPath to the ordered log of every search the engine ran
Use cases
Rendering a client report
A background verification firm fetches the standard report for each completed check and lays out the headline, risk band, verified matter count and a table of confirmed cases with court, status and next hearing. Each row links to the public case page so the client can open the court record directly.
Credit file evidence
A lender saves the compact report, confirmed matches only, against each loan application along with the resource code. If an auditor later asks why a borrower was approved, the stored report shows what was found, when, under which model version, and the search log shows how.
Resolving same-name records
An analyst requests verbosity=full with bands=probable,possible to review unresolved same-name cases. Each carries parent names in party strings, court district and co-parties, which the analyst compares with information already on file to confirm or rule out a record by hand.
How to use it
- After submitting a check, poll GET /api/partner/legal-check/{code} until status is completed.
- Call GET /api/partner/legal-check/{code}/report, optionally with verbosity=compact, standard or full.
- Narrow matches with bands (confirmed, probable, possible, excluded) or min_score (0 to 100).
- For the reasoning, fetch GET /api/partner/legal-check/{code}/log; list past checks with GET /api/partner/legal-check.
Parameters
code required path LegalCheck resource code. Example: LC-A1B2C3D Example
Request
curl "https://webapi.ecourtsindia.com/api/partner/legal-check/LC-A1B2C3D/report" \
-H "Authorization: Bearer eci_live_YOUR_KEY" Response (illustrative)
{
"data": {
"schema_version": "legal-check.v1",
"status": "completed",
"subject_echo": { "subject_type": "individual", "individual": { "name": "R. Kumar", "father_name": "S. Kumar" } },
"risk": {
"score": 18,
"band_5": "LOW",
"headline": "LOW risk: 1 verified matter.",
"identity_confidence": 94
},
"summary": {
"total_matches": 3,
"verified_matches": 1,
"by_band": { "confirmed": 1, "probable": 1, "possible": 1, "excluded": 0 },
"by_status": { "pending": 1, "disposed": 0, "unknown": 0 },
"next_hearing_date": "2026-12-02"
},
"matches": [
{
"cnr": "MHPU010045672024",
"cause_title": "EXAMPLE TRADERS PVT LTD vs R. KUMAR",
"nature": "civil",
"status_normalized": "pending",
"match_band": "confirmed",
"match_confidence": 96,
"match_breakdown": { "name": "full", "father_name": "full", "address": "close", "dob": "not_provided" },
"urls": { "case": "https://ecourtsindia.com/cnr/MHPU010045672024" }
}
]
},
"meta": { "request_id": "req_example021" }
} 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
- Match band
- The identity verdict for one case: confirmed, probable, possible or excluded. Only confirmed matters affect the headline risk. A band of UNRESOLVED in the risk block means records exist under the name but none could be tied to the subject, which is not a clean result.
- Risk band
- The overall rating of the litigation found, given as a colour band and a five-level band such as MEDIUM. It is built only from confirmed matters brought against the subject; matters the subject filed and unresolved records do not count.
- Search log
- The ordered record of every search the engine ran for a check, with its parameters, how many records came back and what the engine concluded. It reads as the reasoning behind the report and is useful for audits and disputes.
Good to know
- Returns 409 NOT_READY while the job is queued or running.
- Identity matching is probabilistic; verify material findings against the linked court records.
- A raw PENDING status may be stale; use status_normalized.
Frequently asked questions
How do I get the result of a LegalCheck?
Poll GET /api/partner/legal-check/{code} until status is completed, then call GET /api/partner/legal-check/{code}/report. If you request the report too early you get 409 NOT_READY; go back to polling and honour the Retry-After header rather than fetching the report repeatedly. A check that failed returns its own failure code instead.
What do confirmed, probable and possible mean?
They describe identity, not seriousness. Confirmed means the case was tied to your subject by evidence beyond the name. Probable and possible are same-name records the engine could not resolve. Excluded means ruled out. Only confirmed matters affect the risk score and band.
Can I get only the confirmed matches?
Yes. Use verbosity=compact, which returns confirmed matches only, or set bands=confirmed. Explicit bands override verbosity, min_score and include filters. For a fuller review, verbosity=full adds uncapped party lists, order details and scoring evidence. min_score sets the lowest identity score kept, 40 by default, and confirmed matches are always retained.
Does an UNRESOLVED result mean the person is clean?
No. A risk band of UNRESOLVED means records exist under that name and none could be attributed to the subject. Its score of 0 must not be read as a clean result. Review the probable and possible matches with any additional information you hold about the subject.
How does a LegalCheck report compare with checking court websites manually?
A manual check means searching each court portal by name, copying results and deciding by eye which are the person. The report covers the whole corpus in one job, records each match with the evidence used, links every case and order, and keeps a search log you can show an auditor.
Can an AI assistant read the report for me?
Yes. On the eCourtsIndia MCP server, get_legal_check waits for the job and returns the risk band, summary and every match with its identity band; view="log" returns the search audit trail. The report also carries ai_instructions explaining how to read it correctly.
Can I list all my past checks?
Yes. GET /api/partner/legal-check lists your checks with code, status, subject, model, client reference, risk band and timestamps. Filter by status, from and to dates or client_ref_no, and page with page and page_size up to 100 per page. Full reports are returned only by the report endpoint.