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/memberAlso included in MP 360 , which joins it with 5 other APIs in one call.
Query parameters
| Parameter | Description | Try value |
|---|---|---|
idstring required | Member id from /economy/uk/parliament/members | |
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).