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

Data source

Query parameters

ParameterDescriptionTry value
name
string
Name contains
constituency
string
Constituency name contains
house
string
commons or lords
current
boolean
Only sitting members (default true)
limit
number
Rows (default 20, max 20)
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: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.