Skip to Content
Developers
API ReferenceStatutes

Search embedded Bharat statutes and sections (2 credits).

POST
/api/v1/in/statutes/search

Authorization

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

Request Body

application/json
  1. body
query*string
Length1 <= length
act_code?string
jurisdiction?string
status?string
cursor?string
limit?integer
Range1 <= value <= 100
Default20

Response Body

Matching statute sections

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/statutes/search' \  -H 'Content-Type: application/json' \  -d '{  "query": "string"}'
Example Response
{  "items": [    {      "id": "string",      "act_code": "string",      "act_title": "string",      "section_number": "string",      "title": "string",      "body": "string",      "status": "string",      "rank": 0    }  ],  "next_cursor": "string",  "has_more": true,  "total": 0,  "total_is_exact": true}