> ## Documentation Index
> Fetch the complete documentation index at: https://ecourtsindia.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get case detail by CNR

> Full record: parties, advocates, judges, hearings, IAs, orders. Order text is embedded in files.files[].markdownContent.



## OpenAPI

````yaml https://openapi.gitbook.com/o/X2HbEVfDbyhRjXFDsXJM/spec/ecourtsindia-api.json get /api/partner/case/{cnr}
openapi: 3.0.3
info:
  title: eCourtsIndia API
  version: '4.0'
  description: >-
    Official REST API for India's largest court-data layer — 27.9 crore+ case
    records across the Supreme Court, 25 High Courts, 600+ district courts and
    tribunals. Search cases, read order text and AI summaries, fetch cause
    lists, and refresh live case data.


    - Docs: https://ecourtsindia.com/api/docs

    - Pricing: https://ecourtsindia.com/api/pricing

    - Developer guide:
    https://blogs.ecourtsindia.com/2026/05/18/how-to-use-ecourtsindia-api/


    Auth: send `Authorization: Bearer eci_live_...` on every call (except Court
    Structure). Court Structure and Enums are free; most other calls consume API
    credits. Responses follow `{ data, meta:{ request_id } }`. A CNR is the
    16-char case id `[A-Z]{4}\d{12}`.
  contact:
    name: eCourtsIndia
    url: https://ecourtsindia.com/api
servers:
  - url: https://webapi.ecourtsindia.com
    description: Partner API
security:
  - bearerAuth: []
tags:
  - name: Court Structure
    description: Walk States > Districts > Complexes > Courts. Free, no auth.
  - name: Reference
    description: Live enum dictionaries. Free.
  - name: Cases
    description: Case retrieval and refresh.
  - name: Orders
    description: Order PDF, markdown and AI analysis.
  - name: Search
    description: Solr full-text search with 40+ filters.
  - name: Cause List
    description: Daily court schedules.
paths:
  /api/partner/case/{cnr}:
    get:
      tags:
        - Cases
      summary: Get case detail by CNR
      description: >-
        Full record: parties, advocates, judges, hearings, IAs, orders. Order
        text is embedded in files.files[].markdownContent.
      parameters:
        - name: cnr
          in: path
          required: true
          schema:
            type: string
          example: MHAM030085272025
          description: 16-char CNR
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                  courtCaseData:
                    cnr: MHAM030085272025
                    caseType: DV
                    caseStatus: DISPOSED
                    courtName: CHIEF JUDICIAL MAGISTRATE COURT
                    district: Amravati
                    state: MH
                    filingNumber: 8553/2025
                    filingDate: '2025-09-03'
                    registrationNumber: 68/2025
                    decisionDate: '2025-11-11'
                    disposalType: WITHDRAWN
                    judges:
                      - 2nd JT. C.J.J.D. J.M.F.C. AMRAVATI
                    petitioners:
                      - Shraddha Virendra Vora
                      - Yashank Virendra Vora
                    respondents:
                      - Virendra Pravinchand Vora
                    hasOrders: true
                    orderCount: 1
                    judgmentOrders:
                      - orderDate: '2025-11-11'
                        orderType: Order on Exhibit
                        orderUrl: order-1.pdf
                  entityInfo:
                    cnr: MHAM030085272025
                    dateModified: '2026-06-04T21:31:45.884045Z'
                  files:
                    files:
                      - pdfFile: MHAM030085272025-order-1.pdf
                        markdownFile: MHAM030085272025-order-1.md
                        markdownContent: >-
                          ## Order below Exh.1 ... disposed off in view of
                          pursis at Exh.06.
                        aiAnalysis: null
                meta:
                  request_id: 400149e6-0012-e700-b63f-84710c7967bb
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    Unauthorized:
      description: Missing/invalid Bearer token
      content:
        application/json:
          example:
            error:
              code: INVALID_TOKEN
              message: >-
                Authorization token missing the 'Bearer ' prefix, malformed, or
                rotated.
            meta:
              request_id: 4000aa11-0001-2200-b63f-84710c7967bb
    NotFound:
      description: CNR not found
      content:
        application/json:
          example:
            error:
              code: NOT_FOUND
              message: No case found for the given CNR.
            meta:
              request_id: 4000aa12-0002-3300-b63f-84710c7967bb
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: eci_live_...
      description: Your API key from https://ecourtsindia.com/dashboard/settings

````