API reference/Economic Indicators/UK Constituency Election Result

UK Constituency Election Result

The latest election in a House of Commons constituency: result, winner, electorate, turnout, majority and every party’s votes and share.

GET/api/v1/economy/uk/parliament/constituency-result
Also included in MP 360 , which joins it with 5 other APIs in one call.

Query parameters

ParameterDescriptionTry value
id
string required
Constituency id (constituencyId from /economy/uk/parliament/member)
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).