UK MPs and Lords
Find members of the House of Commons and House of Lords by name or constituency: party, constituency or peerage, and when they joined or left.
GET
/api/v1/economy/uk/parliament/membersData source
- UK Parliament Members and Bills APIsUK Parliament
Query parameters
| Parameter | Description | Try value |
|---|---|---|
namestring | Name contains | |
constituencystring | Constituency name contains | |
housestring | commons or lords | |
currentboolean | Only sitting members (default true) | |
limitnumber | Rows (default 20, max 20) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.