Data.parliament.uk

API

Open government API for UK Parliament datasets (petitions, bills, votes & more)

Visit Website

Overview

The Data.parliament.uk API provides RESTful access to live UK Parliament datasets including petitions, legislative bills, MP voting records, attendance statistics, and member profiles. Endpoints are organized by dataset category (e.g., /petitions, /bills, /votes) and return structured JSON responses. Use cases include building citizen engagement tools to track petition progress, journalistic platforms analyzing MP voting patterns, academic research on legislative processes, and transparency apps displaying parliamentary activity for public awareness.

Example Integration (JavaScript)

script.js JS

fetch('https://explore.data.parliament.uk/?learnmore=Members')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful API
  • JSON responses
  • Live parliamentary datasets
  • Open access (no API key required)
  • Multiple dataset categories

Frequently Asked Questions

? Is Data.parliament.uk free to use?

Yes, the API offers open, cost-free access to all its UK Parliament datasets.

? Does it require an API Key?

No, most endpoints do not require an API key, enabling straightforward integration.

? What is the response format?

Responses are primarily in JSON format, compatible with most modern applications and tools.

Top Alternatives

data.gov.uk API Search Google

People Also Ask about Data.parliament.uk

Data.parliament.uk vs data.gov.uk API Data.parliament.uk 2025 review

Tool Info

Pricing Free
Category Government
Platform Public API

Pros

  • Free to use
  • Comprehensive parliamentary data
  • Regularly updated live datasets
  • Easy integration
  • Supports transparency initiatives

Cons

  • Potential rate limits
  • Documentation requires exploration
  • No formal SLA
  • Minor data latency possible

More Government Tools