parliament.uk

An API exposing details of the treaties laid before Parliament.

6 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 treaties.
curl \
  /api/Treaty
Returns a treaty by ID.
curl \
  /api/Treaty/{id}
Returns all series memberships.
curl \
  /api/SeriesMembership
Endpoints (6 total)
GET
/api/Treaty
Returns a list of treaties.
GET
/api/Treaty/{id}
Returns a treaty by ID.
GET
/api/SeriesMembership
Returns all series memberships.
GET
/api/BusinessItem/{id}
Returns business item by ID.
GET
/api/GovernmentOrganisation
Returns all government organisations.
GET
/api/Treaty/{id}/BusinessItems
Returns business items belonging to the treaty with ID.
Language coverage
Python
2
At a glance
Total SDKs2
Languages1
Endpoints6
Categories1