Individual Acts

Each Act is available in three formats at predictable addresses. Replace {slug} with the Act's identifier, which is the last part of its page address.

FormatAddress
Web page/central/{year}/{slug}
Markdown/central/{year}/{slug}.md
JSON/api/v1/acts/{slug}.json

For example, The Bharatiya Nyaya Sanhita, 2023: web page, Markdown, JSON.

Every section has a stable anchor such as #sec-10, so you can link straight to it.

Bulk downloads

If you need more than a few Acts, download the collection rather than fetching pages one by one. These files are rebuilt every time the site is updated.

FileContentsRecordsSize
acts.jsonl One Act per line: its details and source, without text 847 1003.1 KB
sections.jsonl One section per line, with all its provisions 35,551 67.5 MB
corpus.json Every Act with its full text, as one JSON array 847 67.1 MB

Record format

Each JSON record holds the Act's details, where its text came from, and its provisions as a nested tree. This example is shortened to one provision at each level:

{
  "frbr_uri": "/akn/in/act/2023/45",
  "slug": "the-bharatiya-nyaya-sanhita-2023",
  "title": "The Bharatiya Nyaya Sanhita, 2023",
  "long_title": "An Act to consolidate and amend the provisions relating to offences and for matters conn…",
  "jurisdiction": "CENTRAL",
  "act_number": "45",
  "act_year": "2023",
  "enact_date": "2023-12-25",
  "status": "in_force",
  "ministry": "Ministry of Home Affairs",
  "section_count": 358,
  "provenance": {
    "source": "India Code",
    "handle": "123456789/496548",
    "source_uri": "http://test1.indiacode.nic.in/handle/123456789/496548",
    "harvested_at": "2026-09-15T18:44:28Z",
    "extraction_path": "sections",
    "confidence": 0.9996,
    "publishable": true
  },
  "body": [
    {
      "type": "chapter",
      "number": "I",
      "heading": "PRELIMINARY SECTIONS",
      "text": "",
      "children": [
        {
          "type": "section",
          "number": "1",
          "heading": "Short title, commencement and application",
          "text": "",
          "children": [
            {
              "type": "subsection",
              "number": "1",
              "heading": null,
              "text": "This Act may be called the Bharatiya Nyaya Sanhita, 2023.",
              "children": [],
              "path": "1/1",
              "start": 0,
              "end": 0
            }
          ],
          "path": "1",
          "start": 0,
          "end": 0
        }
      ],
      "path": "chap-I",
      "start": 0,
      "end": 0,
      "anchor": "sec-chap-i"
    }
  ],
  "schedules": []
}

Use with AI tools

llms.txt describes the collection for AI assistants and crawlers, and the Markdown version of each Act is the most convenient format for language models. Please use the bulk downloads rather than crawling every page.

Terms of use

Section 52(1)(q) of the Copyright Act, 1957 permits the reproduction of Acts of a legislature, and you are free to use this data. It is not an official text and has no legal authority; see the disclaimer.