UK Parliament Members Scraper (Commons & Lords) avatar

UK Parliament Members Scraper (Commons & Lords)

Pricing

from $3.00 / 1,000 results

Go to Apify Store
UK Parliament Members Scraper (Commons & Lords)

UK Parliament Members Scraper (Commons & Lords)

Extract every current and historical UK Parliament Member via the official Members API. Filter by House (Commons or Lords), party, constituency, name, or post code. Returns contact details, parties, election history, and biography fields.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Compute Edge

Compute Edge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Share

Extract current and historical Members of the UK Parliament from the official Members API (members-api.parliament.uk). Returns names, party, constituency, House, gender, membership dates, and profile photos. Filter by House (Commons or Lords), party, name, or post code — the API can map any UK post code to its current Commons MP.

Features

  • Official UK Parliament Members API — no scraping of HTML.
  • Filter by House (Commons / Lords), name substring, post code, party.
  • Current members only (default) or full historical list.
  • Pagination handled automatically.
  • Returns 600+ Commons MPs and 800+ Lords peers.

Output fields

FieldDescription
memberIdUnique Parliament ID
nameDisplayAs / nameFullTitleDisplay name + honorifics
genderMember gender
party / partyAbbreviationCurrent party
houseCommons or Lords
constituencyCommons constituency (Lords = null)
membershipStart / membershipEndDateTenure
membershipStatusActive / Former
thumbnailUrlMember portrait
profileUrlOfficial profile page

Tutorial — How to scrape UK MPs

  1. (Optional) Set Name to search (e.g., 'Starmer').
  2. (Optional) Choose House: Commons (lower) or Lords (upper).
  3. (Optional) Enter a Post Code like SW1A 0AA to find that constituency's current MP.
  4. (Optional) Set Party: 'Labour', 'Conservative', 'Liberal Democrat', etc.
  5. Toggle Current Members Only off to include historical members.
  6. Run — results stream to dataset.

Pricing

Per-result. Lightweight API, runs cost a fraction of a cent.

Use cases

  • Government affairs / public affairs — build up-to-date MP contact and party lists.
  • Journalism — quickly pull all MPs from a party or in a region.
  • Civic tech — map post codes to MPs for constituent-engagement apps.
  • Research — analyze party composition and membership change over time.

FAQ

Q: Is this official? Yes — the Members API is published by the UK Parliament.

Q: Does it include email addresses? No — emails require a separate Contact endpoint and are subject to Parliament's published contact rules.

Q: How fresh is the data? Real-time — sourced live from members-api.parliament.uk.

Data is published by the UK Parliament under the Open Parliament Licence. This Actor uses official, public endpoints.