Developer API
Every provision of the Constitution, BNS, BNSS, BSA and IPC — plus judgments, amendments, glossary and search — as clean JSON. The only structured, multi-act Indian law API with text verified against official sources.
Authentication
The API is a paid product — every request needs a key from an account with an active plan. Create your key, subscribe, and send it in the x-api-key header (or as a Bearer token):
curl -H "x-api-key: smv_live_..." \
https://samvidhan.co.in/api/v1/articles/21Plans
| Plan | Price | Requests/day | Requests/min |
|---|---|---|---|
| Developer | ₹499/month | 10,000 | 120 |
| Startup | ₹2,999/month · commercial use | 100,000 | 600 |
Endpoints
/api/v1/actsAll five acts with provision counts/api/v1/acts/{act}One act with chapters and provisions (coi, bns, bnss, bsa, ipc)/api/v1/articlesConstitution articles (?part=III filters by part)/api/v1/articles/{number}Full article: text, blocks, explainer, cross-references, judgments, amendments/api/v1/partsParts of the Constitution/api/v1/parts/{number}One part with its articles/api/v1/schedulesAll twelve schedules/api/v1/amendmentsAll constitutional amendments with summaries/api/v1/judgmentsLandmark cases/api/v1/judgments/{slug}One case: facts, question, holding, ratio, linked provisions/api/v1/termsGlossary — constitutionally defined terms and concepts/api/v1/search?q=Full-text search across everything/api/v1/metaDataset stats and last sync timeMachine-readable spec: /api/v1/openapi.json. Responses are cached for an hour; quota headers: X-RateLimit-Remaining-Day.
Terms
Legal text is public domain. Plain-language layers are AI-assisted (attribution appreciated: “via Samvidhan”). Education, not legal advice — verify critical use against the Legislative Department's official edition.