Case Detail
Get case details for multiple CNR numbers (max 50)
Batch lookup for up to 50 CNR numbers in a single request. Returns found cases, a list of CNRs that were not found, and any that failed to process.
POST
/
case-detail
/
searchByCnr
/
bulk
Get case details for multiple CNR numbers (max 50)
curl --request POST \
--url https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"cnrNumbers": [
"<string>"
]
}
'import requests
url = "https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk"
payload = { "cnrNumbers": ["<string>"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({cnrNumbers: ['<string>']})
};
fetch('https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk', 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-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk",
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([
'cnrNumbers' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk"
payload := strings.NewReader("{\n \"cnrNumbers\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"cnrNumbers\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cnrNumbers\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"response": {
"totalRequested": 3,
"totalFound": 2,
"totalNotFound": 1,
"totalFailed": 0,
"data": [
{
"cnrNumber": "MHPN010123456789",
"caseStatus": "Pending",
"court": {
"stateName": "Maharashtra",
"stateCode": "MH",
"districtName": "Pune",
"districtCode": "PUNE",
"complexName": "<string>",
"complexCode": "<string>",
"courtName": "<string>",
"courtNumber": "<string>"
},
"judgeName": "Hon'ble Shri M. Rajendar Reddy",
"petitioners": [
{
"partyName": "John Doe",
"advocateName": "Adv. Jane Smith",
"partyType": "Petitioner"
}
],
"respondents": [
{
"partyName": "Jane Doe",
"advocateName": "Adv. John Smith",
"partyType": "Respondent"
}
],
"nextHearingDate": "<string>",
"nextHearingPurpose": "<string>",
"firstHearingDate": "<string>",
"caseType": "CS",
"caseNumber": "CS/12/2023",
"filingDate": "01-01-2023",
"filingNumber": "<string>",
"registrationNumber": "<string>",
"registrationDate": "<string>",
"decisionDate": "<string>",
"natureOfDisposal": "<string>",
"category": "<string>",
"subCategory": "<string>",
"subject": "<unknown>",
"acts": [
{
"act": "<string>",
"section": "<string>"
}
],
"stage": "<unknown>",
"hearingHistory": [
{
"hearingDate": "15-01-2024",
"purpose": "Arguments",
"nextDate": "20-02-2024",
"judge": "<string>",
"orderUrl": "<string>"
}
],
"firDetails": {
"firNumber": "<string>",
"policeStation": "<string>",
"year": "<string>"
},
"lowerCourtDetails": {
"courtName": "<string>",
"caseNumber": "<string>",
"decisionDate": "<string>",
"decision": "<string>"
},
"linkedCases": [
{}
],
"transferDetails": "<unknown>",
"lastUpdated": "2024-01-15T10:30:00.000Z"
}
],
"notFound": [
{
"cnrNumber": "<string>",
"reason": "Not found in database"
}
],
"failed": [
{
"cnrNumber": "<string>",
"reason": "<string>"
}
]
}
}{
"success": false,
"message": "API key not found or has been revoked.",
"moreInfo": "No additional info found."
}{
"success": false,
"message": "API key not found or has been revoked.",
"moreInfo": "No additional info found."
}Authorizations
Body
application/json
Array of CNR numbers to look up. Each must be exactly 16 characters.
Required array length:
1 - 50 elementsRequired string length:
16Pattern:
^[A-Z]{4}[A-Z0-9]{2}\d{10}$⌘I
Get case details for multiple CNR numbers (max 50)
curl --request POST \
--url https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"cnrNumbers": [
"<string>"
]
}
'import requests
url = "https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk"
payload = { "cnrNumbers": ["<string>"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({cnrNumbers: ['<string>']})
};
fetch('https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk', 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-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk",
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([
'cnrNumbers' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk"
payload := strings.NewReader("{\n \"cnrNumbers\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"cnrNumbers\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cnrNumbers\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"response": {
"totalRequested": 3,
"totalFound": 2,
"totalNotFound": 1,
"totalFailed": 0,
"data": [
{
"cnrNumber": "MHPN010123456789",
"caseStatus": "Pending",
"court": {
"stateName": "Maharashtra",
"stateCode": "MH",
"districtName": "Pune",
"districtCode": "PUNE",
"complexName": "<string>",
"complexCode": "<string>",
"courtName": "<string>",
"courtNumber": "<string>"
},
"judgeName": "Hon'ble Shri M. Rajendar Reddy",
"petitioners": [
{
"partyName": "John Doe",
"advocateName": "Adv. Jane Smith",
"partyType": "Petitioner"
}
],
"respondents": [
{
"partyName": "Jane Doe",
"advocateName": "Adv. John Smith",
"partyType": "Respondent"
}
],
"nextHearingDate": "<string>",
"nextHearingPurpose": "<string>",
"firstHearingDate": "<string>",
"caseType": "CS",
"caseNumber": "CS/12/2023",
"filingDate": "01-01-2023",
"filingNumber": "<string>",
"registrationNumber": "<string>",
"registrationDate": "<string>",
"decisionDate": "<string>",
"natureOfDisposal": "<string>",
"category": "<string>",
"subCategory": "<string>",
"subject": "<unknown>",
"acts": [
{
"act": "<string>",
"section": "<string>"
}
],
"stage": "<unknown>",
"hearingHistory": [
{
"hearingDate": "15-01-2024",
"purpose": "Arguments",
"nextDate": "20-02-2024",
"judge": "<string>",
"orderUrl": "<string>"
}
],
"firDetails": {
"firNumber": "<string>",
"policeStation": "<string>",
"year": "<string>"
},
"lowerCourtDetails": {
"courtName": "<string>",
"caseNumber": "<string>",
"decisionDate": "<string>",
"decision": "<string>"
},
"linkedCases": [
{}
],
"transferDetails": "<unknown>",
"lastUpdated": "2024-01-15T10:30:00.000Z"
}
],
"notFound": [
{
"cnrNumber": "<string>",
"reason": "Not found in database"
}
],
"failed": [
{
"cnrNumber": "<string>",
"reason": "<string>"
}
]
}
}{
"success": false,
"message": "API key not found or has been revoked.",
"moreInfo": "No additional info found."
}{
"success": false,
"message": "API key not found or has been revoked.",
"moreInfo": "No additional info found."
}