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
Verified
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
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.