Data.parliament.uk

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

🏛 GovernmentHEALTHYchecked 9h ago
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.

95HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 95 · healthy
Uptime history
99.02%90 days
100%30 days
362P50 · ms
3954P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 128 ms, slowest 2005 ms, most recent 134 ms.
Live response samplecaptured by our last successful check
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 · 3HealthyFULL DOCS ↗
Monitored path responding — GET /bills.json?_pageSize=1362 mschecked 9h ago
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

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

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?

As of our last scheduled check, Data.parliament.uk is healthy with 99.02% uptime over 90 days and a 362 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.