Nyaykosh न्यायकोष
Law · Data · Compliance

The law, made readable, structured & buildable.

Nyaykosh brings statutes out of the PDF and into the open. Read the text, download official documents and machine-readable XML, plug into consumable APIs, and simulate your compliance obligations — all in one place.

4
Acts indexed
3
Open formats
207+
Provisions mapped
1
Compliance simulator
GET /v1/laws/dpdp-2023
// Consumable, versioned, JSON { "id": "dpdp-2023", "title": "Digital Personal Data Protection Act", "year": 2023, "sections": 44, "formats": ["pdf", "xml", "api"], "penalty_max": "₹250 crore" }
Official PDF LegalDocML XML REST API
Why Nyaykosh

One platform. Every way you need the law.

Whether you're a citizen, a compliance officer, or a developer, the same statute is available in the format that works for you.

Read the text

Clean, navigable provisions with plain-language summaries and linked rules — no scanning 90-page PDFs.

Download PDF & XML

The official document plus machine-readable LegalDocML XML for every Act, ready to ingest.

Build on the API

Versioned, consumable REST endpoints return provisions, rules and penalties as clean JSON.

Simulate compliance

Answer a few questions and see which provisions apply, your obligations, and penalty exposure.

The library

Featured legislation

View all laws
Cyber Law

Promotion and Regulation of Online Gaming Rules, 2026

Ministry of Electronics & IT (MeitY) · 26 sections

Rules under the Promotion and Regulation of Online Gaming Act, 2025, establishing the Online Gaming Authority of India and the framework for determination, registration and oversight of online games, e-sports and online social games.

PDFXMLAPI
In forceView
Data Protection

Digital Personal Data Protection Act, 2023

Ministry of Electronics & IT (MeitY) · 44 sections

Governs the processing of digital personal data, balancing individuals' right to protect their data with the need to process it for lawful purposes.

PDFXMLAPI
In forceView
Governance

Aadhaar Act, 2016

MeiTy · 69 sections

Aadhaar is a 12-digit unique identification number issued to Indian residents by the Unique Identification Authority of India (UIDAI). It serves as a universal proof of identity and address across India, and is linked to the individual's biometric (fingerprint and iris) and demographic data.

PDFXMLAPI
draftView
How it works

From statute to simulation in four steps

1

Find a law

Search or filter the library by category, authority or keyword.

2

Choose a format

Read provisions online, or grab the PDF, XML or API endpoint.

3

Integrate

Pull structured provisions, rules and penalties straight into your stack.

4

Simulate

Model your scenario and surface obligations and penalty implications.

Open & machine-readable

Every law, in three consumable formats

We don't just publish documents — we publish data. Each Act ships as a citizen-friendly read, an official PDF for the record, validated LegalDocML XML for systems, and a REST API for developers.

PDF

Authoritative, gazette-faithful copy for citation and record-keeping.

XML

Structured Akoma Ntoso / LegalDocML with sections, clauses and metadata.

API

Versioned JSON endpoints for provisions, rules and penalty schedules.

GET /v1/laws/dpdp-2023/penalties
[ { "breach": "Failure to prevent data breach", "max_penalty": "₹250 crore", "section": "S. 33" }, { "breach": "Child data obligations", "max_penalty": "₹200 crore", "section": "S. 9" } ]
application/jsonv1 · stableNo key for read

See your obligations before the regulator does

Run a scenario through the Compliance Simulator to map which provisions apply to you and what non-compliance could cost.