API ReferenceCases
Hybrid semantic (Qwen3-4B) + full-text search across SC, HC, and 12 tribunals (2 credits).
POST
BearerAuthheader
AuthorizationBearer <vdh_live_<32_hex> | vdh_test_<32_hex>>application/json- body
query*stringLength
1 <= lengthcourt_codes?array<string>forum_type?stringValue in
"supreme_court""high_court""tribunal"statute_codes?array<string>year_from?integeryear_to?integerinclude_intelligence?booleanDefault
falsecursor?stringlimit?integerRange
1 <= value <= 100Default
20Ranked case search results
application/json- response
items*array<>next_cursor?string|nullhas_more*booleantotal?integer|nulltotal_is_exact*booleancurl -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}