API reference/Economic Indicators/UK Parliament Petitions

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/petitions

Query parameters

ParameterDescriptionTry value
q
string
Words in the petition
state
string
open (default), closed, rejected, awaiting_response, with_response, awaiting_debate, debated, not_debated or all
limit
number
Rows (default 20, max 50)
apikey
string 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).