UK MP & Lords Lookup: Name, Postcode or Constituency avatar

UK MP & Lords Lookup: Name, Postcode or Constituency

Pricing

from $1.50 / 1,000 results

Go to Apify Store
UK MP & Lords Lookup: Name, Postcode or Constituency

UK MP & Lords Lookup: Name, Postcode or Constituency

Search current and former UK Members of Parliament and the House of Lords by name, postcode or constituency. Returns party, gender, house, constituency, membership start/end dates and profile link. Official UK Parliament Members API, no key needed, Open Parliament Licence.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

돈벼락

돈벼락

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Share

Search current and former UK Members of Parliament and the House of Lords by name, postcode or constituency. Returns party, gender, house, constituency, membership start/end dates and profile link. Official UK Parliament Members API, no key needed, Open Parliament Licence.

What does UK MP & Lords Lookup do?

Search UK Parliament members by name, postcode or constituency: party, house, dates and profile links.

What can you use it for?

  • Find your MP by postcode for a civic-engagement app.
  • Build a directory of current UK Parliament members by party.
  • Check when a Member's term started or ended.
  • Link constituencies to their current representative.

Why use this Actor?

  • Fast and cheap: lightweight HTTP-based Actor with no browser, so runs finish in seconds and cost very little.
  • No API keys or accounts needed for the data source (see notes below).
  • Clean, structured JSON that you can export as CSV, Excel, JSON or XML, or pull through the Apify API and integrations.
  • Scheduling, webhooks and integrations: run it daily and send results to Google Sheets, Slack, Zapier, Make, n8n or your own API.

Input

Configure the run in the Input tab (all fields have sensible defaults).

FieldTypeRequiredDefaultDescription
querystringyes-e.g. Rachel Blake, SW1A0AA, or Islington North.
onlyCurrentMembersbooleannotrueExclude former Members who have left the House.
maxResultsintegerno20Maximum number of members to return.

Example input

{
"query": "Rachel Blake",
"maxResults": 20
}

Output

Results are stored in the default dataset. Download them from the Output tab or via the API.

Example result

{
"id": 5257,
"name": "Rachel Blake",
"fullTitle": "Rachel Blake MP",
"party": "Labour (Co-op)",
"gender": "F",
"house": 1,
"constituencyOrSource": "Cities of London and Westminster",
"membershipStartDate": "2024-07-03T15:00:00.000Z",
"membershipEndDate": null,
"isCurrentMember": true,
"thumbnailUrl": "https://members-api.parliament.uk/api/Members/5257/Thumbnail",
"profileUrl": "https://members.parliament.uk/member/5257/",
"scrapedAt": "2026-10-06T20:42:19.727Z"
}

Output fields

FieldTypeExample
idnumber5257
namestring"Rachel Blake"
fullTitlestring"Rachel Blake MP"
partystring"Labour (Co-op)"
genderstring"F"
housenumber1
constituencyOrSourcestring"Cities of London and Westminster"
membershipStartDatestring"2024-07-03T15:00:00.000Z"
membershipEndDatenullnull
isCurrentMemberbooleantrue
thumbnailUrlstring"https://members-api.parliament.uk/api/Members/5257/Thumb...
profileUrlstring"https://members.parliament.uk/member/5257/"
scrapedAtstring"2026-10-06T20:42:19.727Z"

How much does it cost?

The Actor is billed by Apify according to the pricing shown on the Pricing tab of this page. Runs are small and fast, and the Apify Free plan includes monthly platform credits so you can try it at no cost. You can set a maximum cost per run, and the Actor stops cleanly when that limit is reached.

Notes and limitations

  • Query matches name, postcode (full or outward code) or constituency name.
  • house: 1 = House of Commons, 2 = House of Lords.
  • Data from UK Parliament's Members API, released under the Open Parliament Licence (commercial and non-commercial reuse permitted).

Tips

  • Start with a small test run, then scale up the input.
  • Use Schedules to automate recurring runs and Webhooks or Integrations to deliver the data where you need it.
  • Call the Actor from your code with the Apify API or the official JavaScript and Python clients.

FAQ

Can I search by postcode?

Yes, a full postcode or outward code (e.g. SW1A0AA or SW1A) matches the current constituency.

Feedback

Found a bug or need an extra field? Open an issue from the Issues tab of this Actor and it will be looked at quickly.

More tools from the same author