LEXACORE · DEVELOPER PLATFORM & API REFERENCE
Legal Intelligence API
Build verified AI legal applications with real-time statutory grounding, clause risk scoring, litigation prediction, and DPDP Act compliance.
Quickstart & Authentication
Get started with the Lexacore platform in less than 3 minutes. All requests run with authenticated JWT bearer sessions.
Obtain Session Token
Sign up or log in via the web client or generate a scoped service key from your Workspace Settings to authenticate API requests.
Send Payload
Pass your contract text, statutory query, or litigation matter to our JSON endpoints. All prompts are pre-screened for legal safety.
Inspect Grounded Verdict
Receive structured JSON with risk severity levels (Critical, Moderate, Low), section citations, and exact mitigation clauses.
Interactive Code Playground
Inspect code samples in your preferred language or framework. Click any tab to toggle the request snippet.
Platform Modules Architecture
Lexacore divides enterprise legal workflows into 6 purpose-built engines designed for counsel, CFOs, and compliance officers.
ContractIQ
REDLINE ENGINEAutonomous contract analysis, uncapped liability detection, non-compete validity under S.27 Contract Act, and fallback negotiation clauses.
- Automated risk scoring (1 to 10 scale)
- Benchmark against Indian market standards
- Word-level redline suggestions
LexCounsel AI
GROUNDED COPILOTConversational counsel answering complex statutory queries in English and Hindi, grounded directly in Central Acts and High Court precedents.
- Strict anti-hallucination source verification
- Supreme Court & High Court case law citations
- Bilingual query processing
ComplianceRadar
REGULATORY MONITORContinuous surveillance of MCA circulars, SEBI LODR disclosures, RBI directions, and DPDP Act compliance deadlines.
- Automated calendar of statutory filing dates
- Penalty calculation matrices for late filings
- Multi-entity corporate structure audits
LitiPredict
ANALYTICS & FORUMCourt outcome forecasting, disposition timelines, and forum selection strategies across Supreme Court, High Courts, and NCLT.
- Historical verdict probability distribution
- Estimated hearing durations and legal cost modelling
- Precedent similarity matching
Legal Vault
ENCRYPTED STORAGEZero-knowledge encrypted matter repository with immutable audit trails, OCR text extraction, and granular role-based access controls.
- AES-256 GCM encryption at rest
- DPDP Act section 8 security compliance
- Instant semantic search across all contracts
DPDP Compliance
PRIVACY ENGINEEnd-to-end framework for India's DPDP Act 2023: Consent notice builders, 72-hour breach response workflows, and penalty risk calculators.
- Multi-lingual consent notice generation
- Data principal grievance redressal portal
- Audit reports for Data Protection Board
REST API Reference
All endpoints return standard HTTP status codes and JSON response bodies. Rate limits are tied to your plan tier.
Invokes the specialized legal AI worker for contract analysis, clause redlining, or jurisdiction-ready NDA drafting.
| FIELD | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
| tool | string | Yes | Action identifier: contract-review or generate-nda |
| contractText | string | Conditional | Raw contract text (up to 50,000 characters) for review |
| jurisdiction | string | No | Legal jurisdiction (default: "India") |
| ndaDetails | object | Conditional | Required when tool is generate-nda (parties, duration, purpose) |
Fetches the current user's remaining review credits, saved matter counts, vault storage limits, and active subscription status.
| FIELD | TYPE | DESCRIPTION |
|---|---|---|
| plan | string | Current tier: free, starter, pro, or enterprise |
| remaining_reviews | integer | Number of AI contract reviews remaining for the current billing cycle |
| matters_count | integer | Number of active matters currently stored in the workspace |
Initializes Razorpay order generation and verifies payment signatures for instantaneous tier upgrades.
| FIELD | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
| action | string | Yes | create-order or verify-payment |
| plan | string | Yes | Target plan identifier (starter, pro) |
| razorpay_payment_id | string | Conditional | Required for verify-payment action |
Plans, Rate Limits & Enforcement
Quotas are enforced atomically at the database RPC layer with automatic rollover on monthly billing anniversaries.
Community
5 Contract Reviews, 2 Saved Matters, 2 Legal Vault documents. Ideal for trial audits and individual legal queries.
Starter
100 Contract Reviews/mo, 25 Saved Matters, 25 Vault documents with full DPDP compliance and priority response latency.
Professional
500 Contract Reviews/mo, 100 Saved Matters, unlimited Vault storage, custom redlining rules, and team seats.