Case Detail
Get full case details by CNR number
Returns the complete case record for a single CNR number, including all parties, hearing schedule, legal references, and hearing history.
POST
/
case-detail
/
searchByCnr
Get full case details by CNR number
curl --request POST \
--url https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"cnrNumber": "<string>"
}
'import requests
url = "https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr"
payload = { "cnrNumber": "<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({cnrNumber: '<string>'})
};
fetch('https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr', 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",
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([
'cnrNumber' => '<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"
payload := strings.NewReader("{\n \"cnrNumber\": \"<string>\"\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")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"cnrNumber\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr")
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 \"cnrNumber\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"response": {
"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"
}
}
}{
"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."
}{
"success": false,
"message": "API key not found or has been revoked.",
"moreInfo": "No additional info found."
}Authorizations
Body
application/json
The 16-character Case Number Register identifier of the case to retrieve.
Required string length:
16Pattern:
^[A-Z]{4}[A-Z0-9]{2}\d{10}$⌘I
Get full case details by CNR number
curl --request POST \
--url https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"cnrNumber": "<string>"
}
'import requests
url = "https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr"
payload = { "cnrNumber": "<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({cnrNumber: '<string>'})
};
fetch('https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr', 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",
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([
'cnrNumber' => '<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"
payload := strings.NewReader("{\n \"cnrNumber\": \"<string>\"\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")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"cnrNumber\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-neevlegal.neeved.com/api/v1/case-detail/searchByCnr")
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 \"cnrNumber\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"response": {
"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"
}
}
}{
"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."
}{
"success": false,
"message": "API key not found or has been revoked.",
"moreInfo": "No additional info found."
}