Legislation API

Openness rating:
Reason: File could not be downloaded. Reason: Download error. Error details: Connection error: ('Connection aborted.', gaierror(-2, 'Name or service not known')). Attempted on 17/03/2018. Tried 65 times since 24/12/2016. This URL last worked on: 17/12/2016.
★★★★★  Linked data - data URIs and linked to other data (e.g. RDF)
★★★★☆  Linkable data - served at URIs (e.g. RDF)
★★★☆☆  Structured data in open format (e.g. CSV)
★★☆☆☆  Structured data but proprietry format (e.g. Excel)
★☆☆☆☆  Unstructured data (e.g. PDF)
Score updated: 18/03/2018

API for www.legislation.gov.uk - launched by The National Archives on 29/07/2010 - giving access to the statute book at various levels, for various times, as reusable html fragments, xml and rdf. The API is RESTful and uses content negotiation, so full access to the data can be achieved using http requests. Alternatively, just append data.xml or data.rdf to any legislation page on the website to return the underlying data. The full API is also available from http://legislation.data.gov.uk.

Read More

Data Resources (3)

Legislation API

Additional Links (1)

Developer Documentation

Additional Information

Added to data.gov.uk 29/07/2010
Theme Government
Geographic coverage United Kingdom (England, Scotland, Wales, Northern Ireland)
Precision Official version of legislation. There are known issues with older legislation (before 1996). API users should read the documentation and status messages on the legislation.gov.uk website.
Update frequency Daily
Temporal granularity day
Mandate No value
Temporal coverage No value
Schema/Vocabulary No value
Code list No value
Service Level No value

Related Applications