Court Case Details API (CNR)

The Court Case Details API returns the complete case file for one Indian court case by its 16-character CNR: parties, advocates, judges, every hearing, interim and final orders, interlocutory applications, FIR details, tagged matters, statutory provisions and the full text of orders, as structured JSON.

GET https://webapi.ecourtsindia.com/api/partner/case/{cnr}

Overview

Once you know which case matters, you need everything about it in one place. The Court Case Details API takes a CNR and returns the whole record: who the parties are, who represents them, which judges heard it, when it was filed and registered, every hearing with its purpose, and every order. Law firms use it to keep matter files current, lenders and insurers to read the history of a dispute, and legal tech products to render case pages.

The response includes courtCaseData with dates, status, disposal type, hearing history and order lists, plus counts of orders, hearings and applications. The provisions array lists each statute cited with its India Code act key and links. Order filenames from judgmentOrders and interimOrders feed the Court Order PDF, Order Text and Order AI Summary APIs, and the files section carries extracted order text. If the record looks stale, queue a fresh read with the Case Refresh API.

Input
CNR (16 characters, for example DLND020047882015)
Returns
Full case file: parties, advocates, judges, hearings, orders, IAs, FIR details, provisions
Coverage
Supreme Court, all 25 High Courts, district courts and 18 tribunal types; 350M+ (35 crore+) case records
Source
Official eCourts and court portals, read and structured by eCourtsIndia
Auth
Bearer API key or OAuth via the MCP server
Register
eCourtsIndia (ecourtsindia.com)
MCP tool
get_case_details
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

courtCaseData.caseStatus

Current status code, for example PENDING or DISPOSED

courtCaseData.petitioners / respondents

Party names on each side

courtCaseData.petitionerAdvocates / respondentAdvocates

Advocates for each side

courtCaseData.filingDate / registrationDate

When the case was filed and registered

courtCaseData.nextHearingDate

Next hearing date on the court record

courtCaseData.historyOfCaseHearings

Every hearing with judge, business date, next date and purpose of listing

courtCaseData.judgmentOrders / interimOrders

Final and interim orders with date, description and the orderUrl filename

courtCaseData.disposalType

How the case ended, for example DISMISSED_AS_WITHDRAWN

courtCaseData.firDetails

FIR number, police station and year for criminal matters

courtCaseData.provisions

Statutes cited, each with India Code act key, unit, number and links

courtCaseData.taggedMatters

Other matters the court has tagged to this case

courtCaseData.caseDurationDays

Days from filing to decision or to date

files

Order files, with markdownContent holding the extracted order text

Use cases

Matter management at a law firm

A firm stores the CNR of every matter it handles. Each night its system calls the Case Details API for active matters, compares the hearing history and order list with yesterday, and alerts the responsible associate when a new order or next date appears, so client updates go out the same morning.

Lender review of a borrower dispute

A credit officer sees a recovery suit against a borrower in a search result. Calling Case Details shows the filing date, stage, purpose of the next listing, number of hearings and the latest orders, which is enough to judge whether the dispute is active and material to the loan decision.

Case pages in a legal app

A legal information app renders a case page from one call: title built from the party arrays, a hearing timeline from historyOfCaseHearings, a list of orders with links, and the cited sections linked to India Code. The same record powers search snippets and alerts.

How to use it

  1. Find the CNR, either from your own records or from the Court Case Search API.
  2. Call GET /api/partner/case/{cnr} with your Bearer API key.
  3. Read courtCaseData for parties, dates, hearings and orders; build a display title from petitioners and respondents.
  4. Take the bare filename from judgmentOrders[].orderUrl or interimOrders[].orderUrl to fetch an order through the order endpoints.
  5. If the record looks out of date, call the Case Refresh API and fetch the details again after a short wait.

Parameters

NameInDescription
cnr required path 16-character Case Number Record. Example: DLND020047882015

Example

Request

curl "https://webapi.ecourtsindia.com/api/partner/case/DLND020047882015" \
  -H "Authorization: Bearer eci_live_YOUR_KEY"

Response (illustrative)

{
  "data": {
    "courtCaseData": {
      "cnr": "MHPU010045672023",
      "caseType": "CC",
      "caseStatus": "PENDING",
      "filingDate": "2023-02-14",
      "registrationDate": "2023-02-20",
      "nextHearingDate": "2026-12-09",
      "petitioners": ["Example Traders Pvt Ltd"],
      "respondents": ["R. Kumar"],
      "petitionerAdvocates": ["S. Mehta"],
      "historyOfCaseHearings": [
        { "judge": "Judicial Magistrate First Class", "businessOnDate": "2026-10-21", "hearingDate": "2026-12-09", "purposeOfListing": "Evidence" }
      ],
      "interimOrders": [
        { "orderDate": "2026-10-21", "description": "COPY OF ORDER", "orderUrl": "order-6.pdf" }
      ],
      "provisions": [
        { "actKey": "1881/26", "act": "Negotiable Instruments Act, 1881", "unit": "s", "number": "138" }
      ],
      "hearingCount": 14,
      "orderCount": 6
    }
  },
  "meta": { "request_id": "req_example002" }
}

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 as the get_case_details tool.

Glossary

CNR (Case Number Record)
The unique 16-character identifier eCourts gives every case. It is a six-character court establishment code such as DLHC01, a six-digit case number and the four-digit filing year, so DLHC010351552024 is Delhi High Court case 035155 of 2024.
Interlocutory application (IA)
An application filed within a pending case asking for interim relief or a procedural direction, such as a stay, an injunction or condonation of delay. The API reports each IA and their count alongside the main case record.
Tagged matter
A related case the court has ordered to be heard together with this one, usually because the parties or questions overlap. Tagged matters appear in taggedMatters with their own case numbers.

Good to know

  • Party arrays are plain strings, not objects.
  • Use the bare filename from judgmentOrders[].orderUrl for order endpoints, not the CNR-prefixed files.files[].pdfFile.
  • Very large cases may be capped in the response with an explicit omission note.

Frequently asked questions

How do I get full case details by CNR number through an API?

Send GET /api/partner/case/{cnr} with your Bearer API key, where cnr is the 16-character Case Number Record such as DLHC010351552024. The response returns the full case file, including parties, advocates, judges, hearing history, interim and final orders, IAs, FIR details, tagged matters and cited provisions.

Does the case details response include the text of orders?

Yes. The files section carries markdownContent with the extracted order text, which is often the complete order rather than a stub. For a structured AI analysis of one order use the Order AI Summary API, and for a signed PDF use the Court Order PDF API.

How is this better than checking case status on the eCourts website?

On the government portal you open one case at a time, solve a captcha and read an HTML page. The API returns the same kind of record as structured JSON with normalised dates, status codes, hearing history and order filenames, so a system can track hundreds of cases without anyone retyping details.

What if the case data looks out of date?

Queue a fresh read from the official source with the Case Refresh API (POST /api/partner/case/{cnr}/refresh), wait briefly, then call Case Details again. For many cases at once use the Bulk Case Refresh API, which accepts up to 50 CNRs per request.

Can I see the FIR behind a criminal case?

When the court record has it, firDetails gives the FIR number, police station and year. To get the FIR document itself, use the FIR Lookup API to check whether it is held and the FIR PDF Download API to download a signed true copy.

Can ChatGPT or Claude read a case file for me?

Yes. Through the eCourtsIndia MCP server, an assistant calls get_case_details with the CNR you give it, or get_case_brief for a shorter view. You can then ask follow-up questions about the parties, the last hearing or the orders, and the assistant answers from the record.