Data.parliament.uk

UK Parliament linked-data: bills, members, votes and more

🏛 GovernmentUNMONITORED
AUTH NONECORS AGENT ?HTTPS COMMERCIAL

The UK Parliament Linked Data API serves datasets on bills, members, divisions, attendance and petitions. Append .json to any resource path to get JSON, with paging controlled by query parameters. Content is available under the Open Parliament Licence.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://lda.data.parliament.uk/bills.json?_pageSize=1

{
  "format": "linked-data-api",
  "version": "0.2",
  "result": {
    "_about": "http://eldaddp.azurewebsites.net/bills.json?_pageSize=1",
    "definition": "http://eldaddp.azurewebsites.net/meta/bills.json"
  }
}
Call itcurl · fetch · python
curl "https://lda.data.parliament.uk/bills.json?_pageSize=1"
const res = await fetch("https://lda.data.parliament.uk/bills.json?_pageSize=1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://lda.data.parliament.uk/bills.json?_pageSize=1")
print(res.json())
Endpoints · 3On scheduleFULL DOCS ↗
On schedule — GET /bills.json?_pageSize=1 awaits first probe
GET/bills.json?_pageSize=1PROBED

UK Parliament linked-data: bills, members, votes and more

GET/bills.json?limit=5

Bills Json — documented GET route.

GET/bills.json?page=1

Bills Json — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

Data.parliament.uk: common questions

Is Data.parliament.uk free to use?

Yes — Data.parliament.uk is a free government API. Free tier: Free / open data. Commercial use is allowed on the free tier.

Does Data.parliament.uk need an API key?

No — Data.parliament.uk needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Data.parliament.uk from the browser?

Yes — Data.parliament.uk returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Data.parliament.uk up right now?

Data.parliament.uk is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.