Legislation: Get Legislation Contents
Legislation via Parse · government_public
Get the table of contents for a specific piece of UK legislation. Returns the legislation title, description, and a flat list of content items (parts, chapters, sections, schedules) with their hierarchical depth. Use legislation_id values from search_legislation results (extract the path portion after legislation.gov.uk, e.g. 'ukpga/2018/12'). Search and retrieve UK legislation from legislation.gov.uk, including Acts of Parliament, Statutory Instruments, and other legislative documents. Supports searching by title/year/number/type, viewing tables of contents, and reading individual section text. Fulfilled by Parse from legislation.gov.uk.
- government-public
- legislation
- legislation-gov-uk
- news-media
- other
- parse
- platform-key
Price and execution
- Price
- $0.06 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- government_public
Interface snapshot
- Protocol
- HTTP operation
- Operation
- GET /scraper/47dc5438-5519-4ae0-bec1-bb2697e07c18/get_legislation_contents
- Interface artifact
- sha256:8c7cbf4b077c3e0c42c644da8ef500e4552551266854b340eaa25f63af43e126
- Manifest digest
- sha256:4a0bdfe8a8c6e7b619c70725736a3cbeeed118f2f70ba91b033c761977cd5e06
Request fields
- legislation_id (string, required): Legislation identifier path, e.g. 'ukpga/2018/12' for the Data Protection Act 2018. Composed of type/year/number from search results.
Example queries
- {"legislation_id":"ukpga/2018/12"}