Government
Data.parliament.uk
An API for live datasets from the UK Parliament, including petitions, bills, and votes.
1
Endpoints
—
Status
—
Latency
CODE EXAMPLES
JavaScript (Fetch)
fetch('https://bills-api.parliament.uk/api/v1/Bills', {
method: 'GET',
headers: {},
})
.then(response => response.json())
.then(data => console.log(data));cURL
curl -X GET 'https://bills-api.parliament.uk/api/v1/Bills'Data.parliament.uk
0.0%
GOVERNMENT
An API for live datasets from the UK Parliament, including petitions, bills, and votes.
PERFORMANCE TELEMETRY
RATE LIMITS
API TESTING INTERFACE
READY
SIGN IN TO EXECUTE TEST
Please sign in to test API endpoints
RESPONSE TELEMETRY
Execute API test to view telemetry data