API reference/Economic Indicators/UK Parliament Member

UK Parliament Member

One member of the Commons or Lords by id: party, constituency (with its id) or peerage, dates, current roles from the official synopsis and profile links.

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

Query parameters

ParameterDescriptionTry value
id
string required
Member id from /economy/uk/parliament/members
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).