Skip to Content
Developers
API ReferenceCases

Hybrid semantic (Qwen3-4B) + full-text search across SC, HC, and 12 tribunals (2 credits).

POST
/api/v1/in/cases/search

Authorization

BearerAuth
headerAuthorizationBearer <vdh_live_<32_hex> | vdh_test_<32_hex>>

Request Body

application/json
  1. body
query*string
Length1 <= length
court_codes?array<string>
forum_type?string
Value in"supreme_court""high_court""tribunal"
statute_codes?array<string>
year_from?integer
year_to?integer
include_intelligence?boolean
Defaultfalse
cursor?string
limit?integer
Range1 <= value <= 100
Default20

Response Body

Ranked case search results

application/json
  1. response
items*array<>
next_cursor?string|null
has_more*boolean
total?integer|null
total_is_exact*boolean
Example Request
curl -X POST 'https://api.vidhi.shamik.app/api/v1/in/cases/search' \  -H 'Content-Type: application/json' \  -d '{  "query": "string"}'
Example Response
{  "items": [    {      "id": "string",      "title": "string",      "court_code": "string",      "court_name": "string",      "forum_type": "string",      "decision_date": "2019-08-24T14:15:22Z",      "year": 0,      "citation": "string",      "score": 0,      "snippet": "string",      "ratio_decidendi": "string",      "key_findings": []    }  ],  "next_cursor": "string",  "has_more": true,  "total": 0,  "total_is_exact": true}