Skip to main content

APIs & SPARQL endpoints

Parliament publishes data through APIs at: developer.parliament.uk. These include APIs for Members, divisions (votes), bills, questions and committee activity.

In addition to the APIs listed on this page:

Simple REST APIs are available for the datasets within data.parliament.uk.

There is also a SPARQL endpoint available for Treaties and Statutory instruments which provides richer data than the equivalent API. The Commons Library has developed a set of useful queries for this data.

As a first step, the open data team are working on a SPARQL endpoint for the database that supports Parliamentary Search – this will provide cross-cutting access to subject indexed data.