curl --request POST \
--url https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cnr": "DLND010000012024"
}
'import requests
url = "https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr"
payload = { "cnr": "DLND010000012024" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({cnr: 'DLND010000012024'})
};
fetch('https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cnr' => 'DLND010000012024'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr"
payload := strings.NewReader("{\n \"cnr\": \"DLND010000012024\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"cnr\": \"DLND010000012024\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cnr\": \"DLND010000012024\"\n}"
response = http.request(request)
puts response.read_body{
"acts": [
{
"act": "Recovery of Money",
"sections": "1908"
}
],
"case_stage": null,
"case_status": "Case disposed",
"case_type": "Misc DJ - MISC. CASES FOR DJ and ADJ",
"cnr": "DLND010000012024",
"court_name": "District and Sessions Judge,New Delhi, PHC",
"court_number_and_judge": "52-District Judge-01",
"decision_date": "03rd January 2024",
"disposed": true,
"efiling_date": null,
"efiling_number": null,
"filing_date": "02-01-2024",
"filing_number": "1/2024",
"final_orders": [
{
"details": "COPY OF JUDICIAL PROCEEDINGS",
"has_document_link": false,
"order_date": "03-01-2024",
"order_number": "2"
}
],
"first_hearing_date": "02nd January 2024",
"history": [
{
"business_on_date": "03-01-2024",
"hearing_date": null,
"judge": "District Judge-01",
"purpose": "Disposed"
},
{
"business_on_date": "02-01-2024",
"hearing_date": "03-01-2024",
"judge": "District Judge-01",
"purpose": "Consideration"
}
],
"interim_orders": [
{
"details": "COPY OF JUDICIAL PROCEEDINGS",
"has_document_link": false,
"order_date": "02-01-2024",
"order_number": "1"
}
],
"nature_of_disposal": "Uncontested--DISPOSED",
"next_hearing_date": null,
"observed_at_ms": 1791171237119,
"petitioners": [
{
"advocates": [
"ASHOK KUMAR BAHL"
],
"name": "STATE BANK OF INDIA",
"serial": "1"
}
],
"registration_date": "02-01-2024",
"registration_number": "1/2024",
"respondents": [
{
"advocates": [],
"name": "RAJNI KANTA AND ORS",
"serial": "1"
}
],
"source_url": "https://services.ecourts.gov.in/ecourtindia_v6/?p=cnr_status/index",
"status_fields": [
{
"label": "First Hearing Date",
"value": "02nd January 2024"
},
{
"label": "Decision Date",
"value": "03rd January 2024"
},
{
"label": "Case Status",
"value": "Case disposed"
},
{
"label": "Nature of Disposal",
"value": "Uncontested--DISPOSED"
},
{
"label": "Court Number and Judge",
"value": "52-District Judge-01"
}
]
}Get case by cnr
You know a case’s CNR (e.g. DLND010000012024, printed on court notices, orders and cause lists) and need its current status, parties, hearing history or order list.
curl --request POST \
--url https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cnr": "DLND010000012024"
}
'import requests
url = "https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr"
payload = { "cnr": "DLND010000012024" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({cnr: 'DLND010000012024'})
};
fetch('https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cnr' => 'DLND010000012024'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr"
payload := strings.NewReader("{\n \"cnr\": \"DLND010000012024\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"cnr\": \"DLND010000012024\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cnr\": \"DLND010000012024\"\n}"
response = http.request(request)
puts response.read_body{
"acts": [
{
"act": "Recovery of Money",
"sections": "1908"
}
],
"case_stage": null,
"case_status": "Case disposed",
"case_type": "Misc DJ - MISC. CASES FOR DJ and ADJ",
"cnr": "DLND010000012024",
"court_name": "District and Sessions Judge,New Delhi, PHC",
"court_number_and_judge": "52-District Judge-01",
"decision_date": "03rd January 2024",
"disposed": true,
"efiling_date": null,
"efiling_number": null,
"filing_date": "02-01-2024",
"filing_number": "1/2024",
"final_orders": [
{
"details": "COPY OF JUDICIAL PROCEEDINGS",
"has_document_link": false,
"order_date": "03-01-2024",
"order_number": "2"
}
],
"first_hearing_date": "02nd January 2024",
"history": [
{
"business_on_date": "03-01-2024",
"hearing_date": null,
"judge": "District Judge-01",
"purpose": "Disposed"
},
{
"business_on_date": "02-01-2024",
"hearing_date": "03-01-2024",
"judge": "District Judge-01",
"purpose": "Consideration"
}
],
"interim_orders": [
{
"details": "COPY OF JUDICIAL PROCEEDINGS",
"has_document_link": false,
"order_date": "02-01-2024",
"order_number": "1"
}
],
"nature_of_disposal": "Uncontested--DISPOSED",
"next_hearing_date": null,
"observed_at_ms": 1791171237119,
"petitioners": [
{
"advocates": [
"ASHOK KUMAR BAHL"
],
"name": "STATE BANK OF INDIA",
"serial": "1"
}
],
"registration_date": "02-01-2024",
"registration_number": "1/2024",
"respondents": [
{
"advocates": [],
"name": "RAJNI KANTA AND ORS",
"serial": "1"
}
],
"source_url": "https://services.ecourts.gov.in/ecourtindia_v6/?p=cnr_status/index",
"status_fields": [
{
"label": "First Hearing Date",
"value": "02nd January 2024"
},
{
"label": "Decision Date",
"value": "03rd January 2024"
},
{
"label": "Case Status",
"value": "Case disposed"
},
{
"label": "Nature of Disposal",
"value": "Uncontested--DISPOSED"
},
{
"label": "Court Number and Judge",
"value": "52-District Judge-01"
}
]
}Request contract
- Method and path: POST /apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr
{
"operationId": "services-ecourts-gov-in.court-cases.get-case-by-cnr",
"method": "POST",
"path": "/apis/v1/services-ecourts-gov-in/court-cases/get-case-by-cnr",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"cnr": "DLND010000012024"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"cnr": {
"description": "16-character CNR: 2-letter state, 2-letter establishment, 2-digit court, 6-digit serial, 4-digit year (e.g. DLND010000012024). Pattern: ^[A-Za-z]{4}[0-9]{12}$.",
"type": "string"
}
},
"required": [
"cnr"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Public case status record of a district-court case identified by its 16-character CNR (ep-view-cnr-history, cnr_status/viewCNRHistory). No CAPTCHA is involved: the portal answers this call with the full record once a session is open. Returns the court, case type, filing/registration/e-filing numbers and dates, the status block (first hearing, next hearing or decision date, case stage or nature of disposal, court number and judge; every row is also kept verbatim in status_fields), petitioners and respondents with their advocates, acts and sections, the hearing history and the interim and final order rows. Dates are kept exactly as the portal prints them (dd-mm-yyyy in tables, '02nd January 2024' in the status block). An unknown CNR is not_found.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
acts | object[] | |
case_stage | string | Pending cases only, e.g. 'Pre-Charge Evidence'. |
case_status | string | Disposed cases print 'Case disposed'; pending cases have no such row (null). |
case_type | string | ' - ' as printed, e.g. 'Misc DJ - MISC. CASES FOR DJ and ADJ'. |
cnr | string | The CNR as the portal prints it (upper case). |
court_name | string | Court establishment heading, e.g. 'District and Sessions Judge,New Delhi, PHC'. |
court_number_and_judge | string | e.g. '52-District Judge-01'. |
decision_date | string | Disposed cases only. |
disposed | boolean | true when the status block carries a Decision Date or a 'disposed' Case Status. |
efiling_date | string | null when the portal prints '-'. |
efiling_number | string | null when the portal prints the row blank. |
filing_date | string | dd-mm-yyyy as printed. |
filing_number | string | |
final_orders | object[] | Empty for pending cases. |
first_hearing_date | string | As printed in the status block, e.g. '02nd January 2024'. |
history | object[] | |
interim_orders | object[] | |
nature_of_disposal | string | Disposed cases only, e.g. 'Uncontested--DISPOSED'. |
next_hearing_date | string | Pending cases only. |
observed_at_ms | number | |
petitioners | object[] | |
registration_date | string | dd-mm-yyyy as printed. |
registration_number | string | |
respondents | object[] | |
source_url | string | The portal's CNR search page; the record itself is only reachable through the session-bound POST. |
status_fields | object[] | Every row of the status block verbatim, in page order. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.