Guide
Introduction
Unified Bharat legal intelligence REST API, Hosted Streamable HTTP MCP, CLI, and SDKs for Cohort 1.
Vidhi Developer Platform gives engineering teams and AI agents programmatic access to Bharat's structured judicial and statutory intelligence under /api/v1/in/* (https://api.vidhi.shamik.app) and Hosted Streamable HTTP MCP (https://vidhi-mcp.shamik.app/mcp).
What Cohort 1 Includes
| Capability | Scale & Scope | Surface |
|---|---|---|
| Judicial Corpus | 130,979 clean rulings across the Supreme Court of India, 25+ High Courts, and 12 full-text tribunals | Tier A REST, CLI, SDKs, MCP |
| Central Statutes | 669 Central Acts and 31,437 embedded statutory sections | Tier A REST, CLI, SDKs, MCP |
| Citation Graph | 337,015 citation edges powering later_court_treatment and outbound/inbound traversal | Tier A REST, CLI, SDKs, MCP |
| Pre-Extracted Intelligence | 52,116 LLM-classified rulings with ratio_decidendi, key_findings, arguments_structured, and judgment_sections | Tier A REST, CLI, SDKs, MCP |
| Core Tier B SOTA Engines | 7 legal reasoning engines (verify/brief, audit/order, audit/counter-precedent, research/memo, notices/analyze, contracts/triage, compliance/redact-firewall) + Eighth Schedule translation | Tier B REST, CLI, SDKs, MCP (6 core tools) |
Architectural & Legal Honesty Principles
- String-encoded BIGINT IDs: All corpus document IDs and statute IDs are serialized as decimal JSON strings (
^[0-9]+$) to prevent IEEE-754 precision loss in JavaScript and TypeScript clients. - Zero-PII Audit Trail: Metered calls record structural telemetry and
query_hmac(HMAC-SHA256) inapi_usage_logs— never raw Bearer tokens, brief text, or client PII. - No Unverified Endorsements: Outputs surface source provenance,
date_quality,text_reliability, andknown_limitstransparently without claiming independent external lawyer validation. - Automatic Credit Refunds: Upstream
5xxerrors,422 privilege_enclave_blocked,404 intelligence_not_extracted,404 pdf_unavailable, incomplete case bodies (complete: false), cancelled async jobs, and unresolved items in batch/citations/resolveautomatically refund reserved credits.
Next Steps
- Run your first API calls in five minutes in 5-Minute Quickstart.
- Explore the 7 Original Bharat Recipes.
- Browse all 36 operations in the API Reference.
- Connect your AI agent in MCP & Agents.