Law · Data · Compliance

The law, made readable, structured & buildable.

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

7
Acts indexed
3
Open formats
32+
Provisions mapped
1
Compliance simulator
GET /v1/laws/dpdp-2023
// Consumable JSON { "id": "dpdp-2023", "title": "Digital Personal Data Protection Act", "year": 2023, "sections": 44, "formats": ["pdf", "xml", "api"], "penalty_max": "₹250 crore" }
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 PDF — the official Gazette copy where available, otherwise a generated copy for reference — plus Akoma Ntoso XML, ready to ingest.

Build on the API

Open 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 forceLegacy – pending validation
View
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 forceLegacy – pending validation
View
Consumer

Consumer Protection Act, 2019

Ministry of Consumer Affairs · 107 sections

Protects consumer interests with provisions for product liability, e-commerce rules, unfair trade practices, and a Central Consumer Protection Authority.

PDFXMLAPI
In forceLegacy – pending validation
View
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, a PDF (the official Gazette copy where available, otherwise a generated copy for reference), Akoma Ntoso XML for systems, and a REST API for developers.

PDF

The official Gazette copy where available, otherwise a generated copy for reference.

XML

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

API

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.