Legislation: Get Legislation Section

Legislation via Parse · Government & Public Sector

Get the text content of a specific section or part of UK legislation. Returns the readable text extracted from the official XML source, including any amendment annotations. The section path follows the site's URL structure (e.g. 'section/1', 'part/2', 'schedule/1'). 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
Indexed

Price and execution

Price
$0.02 USD credits / call
Trust tier
Indexed
Execution
Managed call
Capability group
Government & Public Sector

Interface snapshot

Protocol
HTTP operation
Operation
GET /scraper/47dc5438-5519-4ae0-bec1-bb2697e07c18/get_legislation_section
Interface artifact
sha256:1b57017270243f9d797fd93ed1ffd7fc22f147e1f5d497b8fee0346272e82816
Manifest digest
sha256:b2aaa751d6385be7c0c5e7ac236912c697707b43370312d19bc34b11899a5e7e

Request fields

  • section (string, required): Section path within the legislation, e.g. 'section/1', 'part/2/chapter/1', 'schedule/1'. Corresponds to the path portion of URIs in the table of contents.
  • legislation_id (string, required): Legislation identifier path, e.g. 'ukpga/2018/12' for the Data Protection Act 2018.

Example queries

  • {"section":"section/1","legislation_id":"ukpga/2018/12"}

Similar offerings

Capability / providerTierPriceProtocolCapability groupInspect

Election Candidate Search

ForgeMesh Labs

Tier: Indexed. Protocol: http. Group: Government & Public Sector.
Indexed$0.005 / callhttpGovernment & Public Sector

Bill Status Tracker

ForgeMesh Labs

Tier: Indexed. Protocol: http. Group: Government & Public Sector.
Indexed$0.005 / callhttpGovernment & Public Sector

Invoket: /legal/diff/batch

Invoket

Tier: Indexed. Protocol: http. Group: Government & Public Sector.
Indexed$0.01 / callhttpGovernment & Public Sector