parliament.uk

An API that allows querying of Erskine May data.

11 endpoints open_data
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (2 total)

pip install the_parliament_crew_ai
pip install ckan-parliament-uk
curl examples
Returns a list of all parts.
curl \
  /api/Part
Returns a list of index terms by start letter.
curl \
  /api/IndexTerm/browse
Returns a part by part number.
curl \
  /api/Part/{partNumber}
Endpoints (11 total)
GET
/api/Part
Returns a list of all parts.
GET
/api/IndexTerm/browse
Returns a list of index terms by start letter.
GET
/api/Part/{partNumber}
Returns a part by part number.
GET
/api/Section/{sectionId}
Returns a section by section id.
GET
/api/Chapter/{chapterNumber}
Returns a single chapter overview by chapter number.
GET
/api/IndexTerm/{indexTermId}
Returns an index term by id.
GET
/api/Section/{sectionId},{step}
Returns a section overview by section id and step.
GET
/api/Search/Paragraph/{reference}
Returns a section overview by reference.
GET
/api/Search/SectionSearchResults/{searchTerm}
Returns a list of sections which contain the search term.
GET
/api/Search/IndexTermSearchResults/{searchTerm}
Returns a list of index terms which contain the search term.
GET
/api/Search/ParagraphSearchResults/{searchTerm}
Returns a list of paragraphs which contain the search term.
Language coverage
Python
2
At a glance
Total SDKs2
Languages1
Endpoints11
Categories1