Get order + AI analysis
curl --request GET \
--url https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename} \
--header 'Authorization: Bearer <token>'import requests
url = "https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}', 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://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"cnr": "MHAM030085272025",
"filename": "order-1.pdf",
"extractedText": "## Order below Exh.1 (Passed on 11/11/2025) ... disposed off in view of pursis at Exh.06. (S. B. Kaldate) JMFC, Amravati.",
"aiAnalysis": {
"orderType": "Final",
"outcome": "Withdrawn",
"orderDate": "2025-11-11",
"judge": "Sharad Balbhim Kaldate",
"summary": "Execution proceeding disposed following a joint settlement (Pursis Exh.06).",
"keyPoints": [
"Both parties appeared with counsel",
"Joint settlement filed",
"Disposed as withdrawn"
],
"reliefGranted": [
"Execution disposed per settlement"
],
"legalProvisions": [
"Section 147, Bharatiya Nagarik Suraksha Sanhita"
]
}
},
"meta": {
"request_id": "4000fc92-0016-f400-b63f-84710c7967bb"
}
}Orders
Get order + AI analysis
Markdown plus structured AI analysis: summary, outcome, key points, relief, legal provisions.
GET
/
api
/
partner
/
case
/
{cnr}
/
order-ai
/
{filename}
Get order + AI analysis
curl --request GET \
--url https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename} \
--header 'Authorization: Bearer <token>'import requests
url = "https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}', 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://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://webapi.ecourtsindia.com/api/partner/case/{cnr}/order-ai/{filename}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"cnr": "MHAM030085272025",
"filename": "order-1.pdf",
"extractedText": "## Order below Exh.1 (Passed on 11/11/2025) ... disposed off in view of pursis at Exh.06. (S. B. Kaldate) JMFC, Amravati.",
"aiAnalysis": {
"orderType": "Final",
"outcome": "Withdrawn",
"orderDate": "2025-11-11",
"judge": "Sharad Balbhim Kaldate",
"summary": "Execution proceeding disposed following a joint settlement (Pursis Exh.06).",
"keyPoints": [
"Both parties appeared with counsel",
"Joint settlement filed",
"Disposed as withdrawn"
],
"reliefGranted": [
"Execution disposed per settlement"
],
"legalProvisions": [
"Section 147, Bharatiya Nagarik Suraksha Sanhita"
]
}
},
"meta": {
"request_id": "4000fc92-0016-f400-b63f-84710c7967bb"
}
}Authorizations
Your API key from https://ecourtsindia.com/dashboard/settings
Response
200 - application/json
Success
⌘I