> ## 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.

# List courts

> Individual courts/benches within a complex.



## OpenAPI

````yaml https://openapi.gitbook.com/o/X2HbEVfDbyhRjXFDsXJM/spec/ecourtsindia-api.json get /api/CauseList/court-structure/states/{state}/districts/{districtCode}/complexes/{courtComplexCode}/courts
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/CauseList/court-structure/states/{state}/districts/{districtCode}/complexes/{courtComplexCode}/courts:
    get:
      tags:
        - Court Structure
      summary: List courts
      description: Individual courts/benches within a complex.
      parameters:
        - name: state
          in: path
          required: true
          schema:
            type: string
          example: DL
          description: ''
        - name: districtCode
          in: path
          required: true
          schema:
            type: string
          example: HC
          description: ''
        - name: courtComplexCode
          in: path
          required: true
          schema:
            type: string
          example: '1'
          description: ''
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                - court: '11531'
                  courtNo: '-1'
                  courtName: HON'BLE MR. JUSTICE SANJEEV NARULA
                  courtDivision: ''
                  judgeName: HON'BLE MR. JUSTICE SANJEEV NARULA
                - court: '6341'
                  courtNo: '-1'
                  courtName: PRE LOK ADALAT
                  courtDivision: ''
                  judgeName: PRE LOK ADALAT
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: eci_live_...
      description: Your API key from https://ecourtsindia.com/dashboard/settings

````