Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token for authentication. Format: Bearer <JWT_TOKEN>. Use the appropriate token for the target environment (sandbox or production). |
Content-Type | Yes | Must be set to application/json. |
| Parameter | Type | Required | Description |
|---|---|---|---|
state_name | String | Yes | The name of the state or union territory in snake_case format. Obtain valid values from the List States API (e.g., delhi, maharashtra, uttar_pradesh). |
district_name | String | Yes | The name of the district within the specified state. Obtain valid values from the List Districts API (e.g., Shahdara, Central, North). |
court_complex_name | String | Yes | The full name of the court complex within the specified district. Obtain valid values from the List Court Complex API (e.g., Chief Metropolitan Magistrate, Shahdara, KKD). |
case_type_name | String | Yes | The case type code and description as returned by the List Case Types API (e.g., CR Cases - CRIMINAL CASE, HMA - HINDU MARRIAGE ACT). |
case_number | String | Yes | The numeric case number to search for (e.g., 795). |
year | String | Yes | The four-digit year of the case (e.g., 2025). |
{
"state_name": "delhi",
"district_name": "Shahdara",
"court_complex_name": "Chief Metropolitan Magistrate, Shahdara, KKD",
"case_type_name": "CR Cases - CRIMINAL CASE",
"case_number": "795",
"year": "2025"
}| Parameter | Type | Description |
|---|---|---|
data | Object | The main response object containing all case details. |
data.client_id | String | Unique Surepass transaction identifier for this API call. |
data.court_name | String | Name of the court where the case is registered. |
data.state | String | State of the court jurisdiction. |
data.district | String | District of the court jurisdiction. |
data.case_type | String | Case type code (e.g., CR Cases). |
data.court_complex | String | Full name of the court complex. |
data.case_number | String | The case number searched. |
data.year | String | The year of the case. |
data.filing_number | String | The filing number assigned to the case. |
data.filing_date | String | Date the case was filed (format: YYYY-MM-DD). |
data.registration_number | String | The registration number assigned upon case registration. |
data.registration_date | String | Date the case was registered (format: YYYY-MM-DD). |
data.cnr_number | String | The unique CNR (Case Number Record) identifier — India's universal case identifier. |
data.first_hearing_date | String | Date of the first hearing (format: YYYY-MM-DD). |
data.decision_date | String | Date the final decision was made (format: YYYY-MM-DD). Empty if case is pending. |
data.case_status | String | Current status of the case (e.g., Case disposed, Pending). |
data.nature_of_disposal | String | How the case was disposed (e.g., SETTLED IN LOK ADALAT). Empty if case is pending. |
data.court_number_and_judge | String | Court number and the presiding judge's designation. |
data.petitioner | String | Name of the petitioner/complainant. |
data.petitioner_advocate | String | Name of the petitioner's advocate. May be empty. |
data.respondent | String | Name of the respondent/accused. |
data.respondent_advocate | String | Name of the respondent's advocate. May be empty. |
data.acts | Array | List of acts and sections under which the case is filed. |
data.acts[].under_act | String | Name of the act (e.g., Narcotic Drugs and Psychotropic Substances Act 1985). |
data.acts[].under_section | String | Section number under the act (e.g., 27). |
data.fir_details | Object | FIR (First Information Report) details linked to the case. |
data.fir_details.fir_number | String | FIR number. |
data.fir_details.police_station | String | Name of the police station where the FIR was filed. |
data.fir_details.year | String | Year the FIR was filed. |
data.case_history | Array | Chronological list of all hearings conducted in the case. |
data.case_history[].judge | String | Name/designation of the judge for that hearing. |
data.case_history[].business_on_date | String | Date the hearing was conducted (format: YYYY-MM-DD). |
data.case_history[].hearing_date | String | Next hearing date assigned (format: YYYY-MM-DD). Value 1800-01-01 indicates no next date (case disposed). |
data.case_history[].purpose_of_hearing | String | Purpose of the hearing (e.g., Misc./ Appearance, Disposed). |
data.interim_orders | Array | List of interim orders passed during the case proceedings. |
data.interim_orders[].order_number | String | Serial number of the order. |
data.interim_orders[].order_date | String | Date the order was passed (format: YYYY-MM-DD). |
data.interim_orders[].order_details | String | Description or title of the order. |
data.final_orders | Array | List of final orders/judgments. Empty array if no final orders have been passed. |
data.transfer_details | Array | List of case transfer records if the case was transferred between courts. Empty array if no transfers occurred. |
status_code | Integer | HTTP status code of the response (e.g., 200). |
success | Boolean | Indicates whether the API call was successful (true or false). |
message | String | Human-readable response message (e.g., Success). |
message_code | String | Machine-readable message code (e.g., success). |
{
"data": {
"client_id": "ecourt_case_number_search_BOlfLHylllCbUuhrWZBu",
"court_name": "Chief Metropolitan Magistrate, Shahdara, KKD",
"state": "delhi",
"district": "Shahdara",
"case_type": "CR Cases",
"court_complex": "Chief Metropolitan Magistrate, Shahdara, KKD",
"case_number": "795",
"year": "2025",
"filing_number": "2471/2025",
"filing_date": "2025-02-18",
"registration_number": "795/2025",
"registration_date": "2025-02-18",
"cnr_number": "DLSH020024712025",
"first_hearing_date": "2025-02-18",
"decision_date": "2025-03-10",
"case_status": "Case disposed",
"nature_of_disposal": "SETTLED IN LOK ADALAT",
"court_number_and_judge": "455-Chief Judicial Magistrate",
"petitioner": "STATE",
"petitioner_advocate": "",
"respondent": "SHAMBHU MISR",
"respondent_advocate": "",
"acts": [
{
"under_act": "Narcotic Drugs and Psychotropic Substances Act 1985",
"under_section": "27"
}
],
"fir_details": {
"fir_number": "487",
"police_station": "Shahdara",
"year": "2024"
},
"case_history": [
{
"judge": "Chief Judicial Magistrate",
"business_on_date": "2025-02-18",
"hearing_date": "2025-03-08",
"purpose_of_hearing": "Misc./ Appearance"
},
{
"judge": "Chief Judicial Magistrate",
"business_on_date": "2025-03-08",
"hearing_date": "2025-03-10",
"purpose_of_hearing": "Misc./ Appearance"
},
{
"judge": "Chief Judicial Magistrate",
"business_on_date": "2025-03-10",
"hearing_date": "1800-01-01",
"purpose_of_hearing": "Disposed"
}
],
"interim_orders": [
{
"order_number": "1",
"order_date": "2025-02-18",
"order_details": "COPY OF ORDER"
}
],
"final_orders": [],
"transfer_details": []
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"error": null,
"message": "Your token is invalid. Please ensure that correct token is being used.",
"status_code": 401,
"success": false,
"message_code": "invalid_token"
}Authorization header and that it corresponds to the correct environment (sandbox or production).client_id for audit trail and troubleshooting purposes.case_history array as a visual timeline or table, highlighting the most recent hearing and the next scheduled date. Flag hearing_date values of 1800-01-01 as "No further hearings (Disposed)".order_details indicates downloadable content (e.g., "COPY OF ORDER"), provide clear action buttons for users to access the order documents.GET /api/v1/ecourts/case-number/list-state): Retrieves the list of all available states and union territories. Use this as the first step to obtain valid state_name values.GET /api/v1/ecourts/case-number/list-districts): Retrieves all districts within a given state. Use this as the second step to obtain valid district_name values.GET /api/v1/ecourts/case-number/list-court-complex): Retrieves all court complexes within a given district and state. Use this as the third step to obtain valid court_complex_name values.GET /api/v1/ecourts/case-number/list-case-types): Retrieves all case types available in a given court complex. Use this as the fourth step to obtain valid case_type_name values.POST /api/v1/ecourts/cnr/search): Search for a case directly using the CNR number if you already have it, bypassing the hierarchical lookup workflow.curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ecourts/case-number/search' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"state_name": "delhi",
"district_name": "Shahdara",
"court_complex_name": "Chief Metropolitan Magistrate, Shahdara, KKD",
"case_type_name": "CR Cases - CRIMINAL CASE",
"case_number": "795",
"year": "2025 "
}'{
"data": {
"client_id": "ecourt_case_number_search_BOlfLHylllCbUuhrWZBu",
"court_name": "Chief Metropolitan Magistrate, Shahdara, KKD",
"state": "delhi",
"district": "Shahdara",
"case_type": "CR Cases",
"court_complex": "Chief Metropolitan Magistrate, Shahdara, KKD",
"case_number": "795",
"year": "2025",
"filing_number": "2471/2025",
"filing_date": "2025-02-18",
"registration_number": "795/2025",
"registration_date": "2025-02-18",
"cnr_number": "DLSH020024712025",
"first_hearing_date": "2025-02-18",
"decision_date": "2025-03-10",
"case_status": "Case disposed",
"nature_of_disposal": "SETTLED IN LOK ADALAT",
"court_number_and_judge": "455-Chief Judicial Magistrate",
"petitioner": "STATE",
"petitioner_advocate": "",
"respondent": "SHAMBHU MISR",
"respondent_advocate": "",
"acts": [
{
"under_act": "Narcotic Drugs and Psychotropic Substances Act 1985",
"under_section": "27"
}
],
"fir_details": {
"fir_number": "487",
"police_station": "Shahdara",
"year": "2024"
},
"case_history": [
{
"judge": "Chief Judicial Magistrate",
"business_on_date": "2025-02-18",
"hearing_date": "2025-03-08",
"purpose_of_hearing": "Misc./ Appearance"
},
{
"judge": "Chief Judicial Magistrate",
"business_on_date": "2025-03-08",
"hearing_date": "2025-03-10",
"purpose_of_hearing": "Misc./ Appearance"
},
{
"judge": "Chief Judicial Magistrate",
"business_on_date": "2025-03-10",
"hearing_date": "1800-01-01",
"purpose_of_hearing": "Disposed"
}
],
"interim_orders": [
{
"order_number": "1",
"order_date": "2025-02-18",
"order_details": "COPY OF ORDER"
}
],
"final_orders": [],
"transfer_details": []
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}