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
258+
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
Governance

The Promotion and Regulation of Online Gaming Act, 2025

Imported · 20 sections

The Promotion and Regulation of Online Gaming Act, 2025 promotes e-sports and online social games while completely prohibiting online money games, their advertisement, and related fund transfers. It establishes an Authority to classify and register online games, and prescribes penalties including up to 3 years' imprisonment or a Rs.1 crore fine.

PDFXMLAPI
In forceView
Governance

The Digital Personal Data Protection Act, 2023

Imported · 44 sections

The Digital Personal Data Protection Act, 2023 governs the processing of digital personal data in India, balancing individuals' privacy rights with lawful processing needs. It sets consent and notice requirements, imposes obligations on Data Fiduciaries, grants Data Principals rights of access, correction and erasure, and establishes the Data Protection Board, with penalties up to Rs.250 crore for breaches.

PDFXMLAPI
In forceView
Governance

Aadhaar Act, 2016

Imported · 69 sections

The Aadhaar (Targeted Delivery of Financial and Other Subsidies, Benefits and Services) Act, 2016 establishes the UIDAI and provides for targeted delivery of subsidies, benefits and services through Aadhaar. It governs enrolment, authentication and offline verification, restricts sharing of identity information, and prescribes civil penalties and offences.

PDFXMLAPI
In forceView
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.