Data.parliament.uk API

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

📚 Open DataUNMONITORED
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.

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://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 · 6On scheduleFULL DOCS ↗
On schedule — GET /odata/ awaits first probe
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

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

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?

Data.parliament.uk API 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.