UK Parliament Petitions
UK Parliament e-petitions, most signed first: signatures, state, closing date, whether the 10,000-signature government response and 100,000-signature debate thresholds were reached, the government response and the departments involved.
GET
/api/v1/economy/uk/parliament/petitionsQuery parameters
| Parameter | Description | Try value |
|---|---|---|
qstring | Words in the petition | |
statestring | open (default), closed, rejected, awaiting_response, with_response, awaiting_debate, debated, not_debated or all | |
limitnumber | Rows (default 20, max 50) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504. Add format= for JSON Lines, CSV, TSV, Excel, XML or YAML (how it works).