Data.parliament.uk API

Data.parliament.uk API — free tier with API key

📚 Open DataHEALTHYchecked 2h ago
AUTH APIKEYCORS ✓AGENT ✓HTTPS ✓COMMERCIAL ?

Data.parliament.uk API exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.

87HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 87 · healthy
Uptime history
93.9%90 days
98.3%30 days
534P50 · ms
4164P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 57 ms, slowest 2075 ms, most recent 612 ms.
Live response samplecaptured by our last successful check
GET https://api.parliament.uk/odata/

{
  "@odata.context": "https://api.parliament.uk/odata/$metadata",
  "value": [
    {
      "name": "TemporalThing",
      "kind": "EntitySet",
      "url": "TemporalThing"
    },
    {
      "name": "PastThing",
      "kind": "EntitySet",
      "url": "PastThing"
    }
  ]
}
Call itcurl · fetch · python
curl "https://api.parliament.uk/odata/"
const res = await fetch("https://api.parliament.uk/odata/");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.parliament.uk/odata/")
print(res.json())
Endpoints · 6HealthyFULL DOCS ↗
Monitored path responding — GET /odata/534 mschecked 2h ago
GET/odata/PROBED

Data.parliament.uk API — free tier with API key

GET/odata/?limit=5

Paginated variant with limit parameter.

GET/odata/openapi.json

Openapi Json — documented GET route.

GET/photo/openapi.json

Openapi Json — documented GET route.

GET/query/openapi.json

Openapi Json — documented GET route.

GET/search/openapi.json

Search by query parameters.

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 API: common questions

Is Data.parliament.uk API free to use?

Yes — Data.parliament.uk API is a free open data API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Data.parliament.uk API need an API key?

Yes — Data.parliament.uk API needs a free API key, which you pass on each request. Rate limits: Unpublished.

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

Yes — Data.parliament.uk API 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 API up right now?

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