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.

ESC to clear
6CORE MODULES
<600msP95 LATENCY
100%CITATION GROUNDED
EN / HIBILINGUAL LLM

Quickstart & Authentication

Get started with the Lexacore platform in less than 3 minutes. All requests run with authenticated JWT bearer sessions.

STEP 01

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.

SUPABASE JWT•HS256 / RS256
STEP 02

Send Payload

Pass your contract text, statutory query, or litigation matter to our JSON endpoints. All prompts are pre-screened for legal safety.

JSON REST•UTF-8
STEP 03

Inspect Grounded Verdict

Receive structured JSON with risk severity levels (Critical, Moderate, Low), section citations, and exact mitigation clauses.

STRUCTURED JSON•CITED RATIO

Interactive Code Playground

Inspect code samples in your preferred language or framework. Click any tab to toggle the request snippet.

# Analyze contract risks with grounded statutory citations curl -X POST https://lexacore.in/functions/v1/tools \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_LEXACORE_JWT_TOKEN" \ -d '{ "tool": "contract-review", "contractText": "Party A agrees to indemnify Party B for any and all indirect, consequential or exemplary damages arising out of this agreement without cap...", "jurisdiction": "India" }'

Platform Modules Architecture

Lexacore divides enterprise legal workflows into 6 purpose-built engines designed for counsel, CFOs, and compliance officers.

ContractIQ

REDLINE ENGINE

Autonomous 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
v2.4 Production Launch Module →

LexCounsel AI

GROUNDED COPILOT

Conversational 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
v3.0 Grounded Launch Module →

ComplianceRadar

REGULATORY MONITOR

Continuous 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
Real-time MCA/SEBI Launch Module →

LitiPredict

ANALYTICS & FORUM

Court 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
100% Historical Data Launch Module →

Legal Vault

ENCRYPTED STORAGE

Zero-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
Zero-Trust Ready Launch Module →

DPDP Compliance

PRIVACY ENGINE

End-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
Statute Grounded View Playbook →

REST API Reference

All endpoints return standard HTTP status codes and JSON response bodies. Rate limits are tied to your plan tier.

POST /functions/v1/tools AI ANALYSIS

Invokes the specialized legal AI worker for contract analysis, clause redlining, or jurisdiction-ready NDA drafting.

FIELDTYPEREQUIREDDESCRIPTION
toolstringYesAction identifier: contract-review or generate-nda
contractTextstringConditionalRaw contract text (up to 50,000 characters) for review
jurisdictionstringNoLegal jurisdiction (default: "India")
ndaDetailsobjectConditionalRequired when tool is generate-nda (parties, duration, purpose)
GET /functions/v1/usage ACCOUNT & QUOTA

Fetches the current user's remaining review credits, saved matter counts, vault storage limits, and active subscription status.

FIELDTYPEDESCRIPTION
planstringCurrent tier: free, starter, pro, or enterprise
remaining_reviewsintegerNumber of AI contract reviews remaining for the current billing cycle
matters_countintegerNumber of active matters currently stored in the workspace
POST /functions/v1/payments BILLING

Initializes Razorpay order generation and verifies payment signatures for instantaneous tier upgrades.

FIELDTYPEREQUIREDDESCRIPTION
actionstringYescreate-order or verify-payment
planstringYesTarget plan identifier (starter, pro)
razorpay_payment_idstringConditionalRequired for verify-payment action

Plans, Rate Limits & Enforcement

Quotas are enforced atomically at the database RPC layer with automatic rollover on monthly billing anniversaries.

FREE TIER

Community

5 Contract Reviews, 2 Saved Matters, 2 Legal Vault documents. Ideal for trial audits and individual legal queries.

₹0 / FOREVER•NO CARD NEEDED
₹4,999 / MO

Starter

100 Contract Reviews/mo, 25 Saved Matters, 25 Vault documents with full DPDP compliance and priority response latency.

PRO COUNCEL•PRIORITY QUEUE
₹14,999 / MO

Professional

500 Contract Reviews/mo, 100 Saved Matters, unlimited Vault storage, custom redlining rules, and team seats.

IN-HOUSE LEGAL•TEAM SEATS