Skip to Content
Developers
API ReferenceStatutes

Pure-regex zero-LLM extractor of Bharat Act and Section references from text (1 credit).

POST
/api/v1/in/statutes/extract

Authorization

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

Request Body

application/json
  1. body
text*string
Length1 <= length <= 50000

Response Body

Extracted statute references

application/json
  1. response
statutes*array<>
count*integer
Example Request
curl -X POST 'https://api.vidhi.shamik.app/api/v1/in/statutes/extract' \  -H 'Content-Type: application/json' \  -d '{  "text": "string"}'
Example Response
{  "statutes": [    {      "statute": "string",      "normalized": "string",      "category": "string",      "section": "string",      "subsection": "string",      "clause": "string",      "confidence": 0    }  ],  "count": 0}