UK Parliament Members Scraper (MPs & Lords) avatar

UK Parliament Members Scraper (MPs & Lords)

Pricing

from $23.25 / 1,000 results

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

UK Parliament Members Scraper (MPs & Lords)

Scrape UK House of Commons MPs and House of Lords peers from the official UK Parliament Members directory. Filter by House, party, gender, constituency or current/former status. Returns names, parties, constituencies, contact details, biographies, government posts and committee memberships.

Pricing

from $23.25 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

ParseForge Banner

๐Ÿ›๏ธ UK Parliament Members Scraper (MPs & Lords)

๐Ÿš€ Export the UK Parliament directory in seconds. Pull every MP in the House of Commons and every peer in the House of Lords, with biographies, parties, constituencies, contact details, government posts, and committee memberships. No sign-up, no manual stitching, no parser to maintain.

๐Ÿ•’ Last updated: 2026-05-15 ยท ๐Ÿ“Š 31 fields per record ยท ๐Ÿ›๏ธ 1,450+ current members ยท ๐Ÿ‡ฌ๐Ÿ‡ง Both Houses ยท ๐Ÿ“œ Historic + current

The UK Parliament Members Scraper queries the official UK Parliament Members directory and returns up to 31 structured fields per record, including the canonical display name and full title, party affiliation with party colour, House of Commons constituency, House of Lords seat type, government and opposition posts, committee memberships, parliamentary contact address, phone, email, websites, and social-media handles.

The directory covers every currently sitting MP and peer plus every former member going back through the modern era, across all parties from Labour, Conservative, Liberal Democrat, SNP, Reform UK, Sinn Fรฉin, the Lords Spiritual, Crossbench, and beyond. This Actor makes that data downloadable as CSV, Excel, JSON, or XML in under five minutes. Filters run server-side, so you skip the parser engineering entirely.

๐ŸŽฏ Target Audience๐Ÿ’ก Primary Use Cases
Public-affairs and government-relations teams, journalists and political researchers, lobbyists, NGOs, civic-tech projects, academic political scientists, CRM enrichment platformsStakeholder mapping, MP and peer outreach lists, constituency contact, committee tracking, voting-record context, party-composition analysis, lobbyist registers

๐Ÿ“‹ What the UK Parliament Members Scraper does

Six filtering workflows in a single run:

  • ๐Ÿ›๏ธ House filter. Restrict to Commons (MPs), Lords (peers), or both chambers.
  • ๐ŸŽ—๏ธ Party filter. Pick a single party from a curated list of every active and historic UK political party.
  • ๐Ÿ‘ค Gender filter. Male, female, or all.
  • ๐Ÿ“ Constituency substring. Match Commons members whose constituency name contains a substring (e.g. "London", "Glasgow").
  • ๐Ÿšฆ Current vs former. Currently sitting members, former members only, or all (current + former).
  • ๐Ÿ”Ž Name substring. Match the display name on a case-insensitive substring.

Each record includes the member ID, official photo URL, public profile URL, four name variants (display, full title, list-as, address-as), gender, House, party (name, abbreviation, ID, official party colour), constituency and constituency ID, membership start and end dates, current-member flag, full constituency history, every government post and opposition post with dates and department, committee memberships, parliamentary contact phone numbers, emails, websites, X / Facebook / Instagram links, and the canonical House of Commons / House of Lords address with postcode.

๐Ÿ’ก Why it matters: structured Parliament member data drives stakeholder mapping, public-affairs CRM enrichment, and political-research dashboards. Building your own pipeline means writing a paginated client, fetching three sub-resources per member, normalising contact channels, and refreshing daily. This Actor skips all of that and gives you a clean refreshed snapshot on every run.


๐ŸŽฌ Full Demo

๐Ÿšง Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded MP and Lords dataset.


โš™๏ธ Input

InputTypeDefaultBehavior
namestring""Substring match on the member's display name.
housestring""One of: empty (both), Commons, Lords.
partystring""One of 20+ parties (Labour, Conservative, Liberal Democrat, SNP, Reform UK, Crossbench, Bishops, and more).
genderstring""Empty (all), M, or F.
membershipStatusstring"current"Currently sitting, former, or all (current + former).
constituencystring""Substring match on the Commons constituency name (ignored for Lords).
fetchDetailsbooleantrueWhen enabled, pulls biography (committees, posts, representations) and contact details per member.
maxItemsinteger10Records to return. Free plan caps at 10, paid plan at 1,000,000.

Example: every currently sitting Labour MP with full biography and contact.

{
"maxItems": 500,
"house": "Commons",
"party": "Labour",
"membershipStatus": "current",
"fetchDetails": true
}

Example: female peers in the House of Lords.

{
"maxItems": 200,
"house": "Lords",
"gender": "F",
"membershipStatus": "current"
}

โš ๏ธ Good to Know: with fetchDetails: true (default) the Actor makes additional lookups per member to gather biography and contact records. That's the canonical experience but it's slower than a names-only pull. Set fetchDetails: false for a quick directory listing.


๐Ÿ“Š Output

Each member record carries up to 31 fields. Download the dataset as CSV, Excel, JSON, or XML.

๐Ÿงพ Schema

FieldTypeExample
๐Ÿ†” idnumber172
๐Ÿ–ผ๏ธ imageUrlstring"https://members-api.parliament.uk/api/Members/172/Thumbnail"
๐Ÿ”— profileUrlstring"https://members.parliament.uk/member/172"
๐Ÿ“Œ nameDisplayAsstring"Ms Diane Abbott"
๐Ÿ“Œ nameFullTitlestring"Rt Hon Diane Abbott MP"
๐Ÿ“Œ nameListAsstring"Abbott, Ms Diane"
๐Ÿ“Œ nameAddressAsstring"Ms Abbott"
๐Ÿ‘ค genderstring"F"
๐Ÿ›๏ธ housestring"Commons"
๐Ÿ“ constituencystring | null"Hackney North and Stoke Newington"
๐Ÿ†” constituencyIdnumber | null4074
๐Ÿ“… membershipStartDateISO 8601"1987-06-11T00:00:00"
๐Ÿ“… membershipEndDateISO 8601 | nullnull
๐Ÿ“ membershipEndReasonstring | nullnull
๐Ÿšฆ isCurrentMemberbooleantrue
๐Ÿ“ membershipStatusDescriptionstring"Current Member"
๐Ÿ›๏ธ partyNamestring"Independent"
๐Ÿท๏ธ partyAbbreviationstring"Ind"
๐Ÿ†” partyIdnumber8
๐ŸŽจ partyColorstring"#909090"
๐Ÿ“œ constituencyHistoryarray[{house, constituency, startDate, endDate, note}]
๐Ÿ’ผ governmentPostsarray[{name, startDate, endDate, department}]
๐Ÿ’ผ oppositionPostsarray[{name, startDate, endDate, department}]
๐Ÿ’ผ committeeMembershipsarray[{name, startDate, endDate}]
๐Ÿ“ž phoneNumbersarray["020 7219 4426"]
๐Ÿ“ง emailsarray["diane.abbott.office@parliament.uk"]
๐Ÿ”— websitesarray["http://www.dianeabbott.org.uk"]
๐Ÿ”— socialLinksarray[{type: "X", url: "https://twitter.com/HackneyAbbott"}]
๐Ÿ  parliamentaryAddressstring"House of Commons, London"
๐Ÿ“ฎ parliamentaryPostcodestring"SW1A 0AA"
๐Ÿ•’ scrapedAtISO 8601"2026-05-15T18:33:41.998Z"

๐Ÿ“ฆ Sample record


โœจ Why choose this Actor

Capability
๐Ÿ›๏ธBoth Houses. 1,450+ current MPs and Lords plus historic former members in a single run.
๐ŸŽฏMulti-dimensional filters. House, party, gender, constituency, current / former, and name combine freely.
๐Ÿ’ผCareer history included. Government posts, opposition posts, committee memberships, and constituency history per member.
๐Ÿ“žContact-ready. Parliamentary address, phone, email, websites, and X / Facebook / Instagram per record.
โšกFast. 100 members in seconds, full directory in a few minutes.
๐Ÿ”Always fresh. Every run hits the official directory, so the dataset reflects current members.
๐ŸšซNo authentication. Public open-government data. No login needed.

๐Ÿ“Š Structured Parliament member data sits at the heart of every public-affairs CRM, lobbyist register, and political-research dashboard in the UK.


๐Ÿ“ˆ How it compares to alternatives

ApproachCostCoverageRefreshFiltersSetup
โญ UK Parliament Members Scraper (this Actor)$5 free credit, then pay-per-use1,450+ current + historicLive per runhouse, party, gender, constituency, status, nameโšก 2 min
Commercial public-affairs platforms$15k - $80k/yearComparable + voting recordsDailyMany๐Ÿข Weeks (procurement)
TheyWorkForYou scrapingFreeLimited fieldsDailyFew๐Ÿ•’ Days
Manual copy-paste from members.parliament.ukFreeWhole directoryLiveSite-sideโณ Forever

Pick this Actor when you want a structured, contact-ready directory of every UK parliamentarian without writing a parser.


๐Ÿš€ How to use

  1. ๐Ÿ“ Sign up. Create a free account w/ $5 credit (takes 2 minutes).
  2. ๐ŸŒ Open the Actor. Go to the UK Parliament Members Scraper page on the Apify Store.
  3. ๐ŸŽฏ Set input. Pick a House, a party, a gender, a constituency substring, and set maxItems. Toggle fetchDetails for full biography + contact.
  4. ๐Ÿš€ Run it. Click Start and let the Actor collect your dataset.
  5. ๐Ÿ“ฅ Download. Grab your results in the Dataset tab as CSV, Excel, JSON, or XML.

โฑ๏ธ Total time from signup to a downloaded MPs / Lords dataset: 3-5 minutes. No coding required.


๐Ÿ’ผ Business use cases

๐Ÿ›๏ธ Public Affairs & Lobbying

  • Stakeholder mapping for policy campaigns
  • Outreach lists by party, House, or committee
  • Refresh CRM contact records each session
  • Track Cabinet and Shadow Cabinet posts in real time

๐Ÿ“ฐ Political Journalism & Research

  • Build party-composition snapshots after elections
  • Track committee membership changes by session
  • Cross-join with Hansard transcripts for speech analysis
  • Power explainer dashboards on cabinet reshuffles

๐ŸŽฏ Constituency Targeting

  • Map MPs to constituencies for civic-tech tools
  • Build "Find your MP" widgets with structured contact info
  • Surface party-coloured visuals in dashboards
  • Power email-your-MP workflows for campaign sites

๐Ÿ“Š Civic Analytics & NGOs

  • Diversity reporting by gender, party, and House
  • Tenure analysis across constituency histories
  • Committee participation patterns over decades
  • Open-data dashboards for civic-tech communities

๐Ÿ”Œ Automating UK Parliament Members Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

  • ๐ŸŸข Node.js. Install the apify-client NPM package.
  • ๐Ÿ Python. Use the apify-client PyPI package.
  • ๐Ÿ“š See the Apify API documentation for full details.

The Apify Schedules feature lets you trigger this Actor on any cron interval. Daily refreshes keep your stakeholder map and CRM in sync automatically.


๐ŸŒŸ Beyond business use cases

Open Parliament data powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

๐ŸŽ“ Research and academia

  • Quantitative studies of parliamentary careers and turnover
  • Politics coursework on party composition over time
  • Reproducible datasets for representation and diversity research
  • Historical archives of constituency boundary changes

๐ŸŽจ Personal and creative

  • Side projects mapping MPs to constituencies on a UK map
  • Personal newsletters that profile newly elected members
  • Visualisations of party colours in the Commons chamber
  • Data-art pieces on the demographics of Parliament

๐Ÿค Non-profit and civic

  • Civic-tech tools that connect citizens with their MP
  • Watchdog dashboards tracking ministerial appointments
  • Investigative journalism on committee compositions
  • Accessibility projects that present member data clearly

๐Ÿงช Experimentation

  • Train named-entity models with UK political figures
  • Build agent pipelines that summarise career histories
  • Prototype recommender systems for civic engagement
  • Stress-test contact-form workflows with real member data

๐Ÿค– Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:


โ“ Frequently Asked Questions

๐Ÿงฉ How does it work?

Pick a House, party, gender, or constituency substring, click Start, and the Actor pages through the official Parliament directory, optionally fetches biography and contact records per member, and emits a clean structured row. No browser automation, no captchas, no setup.

๐Ÿ“ How accurate is the data?

Every record comes from the official UK Parliament Members directory used by members.parliament.uk itself, so names, parties, constituencies, posts, and contact channels match what you see on the page.

๐Ÿ” How often is the dataset refreshed?

The directory is updated continuously as elections, by-elections, peerage creations, ministerial reshuffles, and resignations take place. Every run hits the live directory.

๐Ÿ›๏ธ Does it include both MPs and Lords?

Yes. Leave the house filter empty to return both Houses, or set it to Commons for MPs only and Lords for peers only.

๐Ÿ’ผ Are committees and government posts included?

Yes. Set fetchDetails: true (default) and each record will include constituency history, government posts, opposition posts, and committee memberships with dates and departments.

๐Ÿ“ž Are contact details included?

Yes. Parliamentary address, postcode, phone numbers, emails, websites, and X / Facebook / Instagram links are emitted when present. Some members opt out of publishing certain channels, in which case those fields are omitted.

๐Ÿ•ฐ๏ธ Can I get former members?

Yes. Set membershipStatus to former for former members only or all for current + former.

โฐ Can I schedule regular runs?

Yes. Use Apify Schedules to run this Actor on any cron interval (daily, weekly) and keep your CRM stakeholder map in sync.

UK Parliament publishes member directory data under the Open Parliament Licence, which permits commercial reuse with attribution. Review the licence terms for your specific application.

๐Ÿ’ผ Can I use this data commercially?

Yes. The Open Parliament Licence explicitly allows commercial reuse with attribution. You remain responsible for following the licence in your product.

๐Ÿ’ณ Do I need a paid Apify plan to use this Actor?

No. The free Apify plan is enough for testing and small runs (10 records per run). A paid plan lifts the limit and gives you scheduling, higher concurrency, and larger datasets.

๐Ÿ†˜ What if I need help?

Our support team is here to help. Contact us through the Apify platform or use the Tally form linked below.


๐Ÿ”Œ Integrate with any app

UK Parliament Members Scraper connects to any cloud service via Apify integrations:

  • Make - Automate multi-step stakeholder workflows
  • Zapier - Connect with 5,000+ apps
  • Slack - Get reshuffle alerts in your channels
  • Airbyte - Pipe member data into your warehouse
  • GitHub - Trigger runs from commits and releases
  • Google Drive - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh member records into your CRM, or alert your public-affairs team in Slack.


๐Ÿ’ก Pro Tip: browse the complete ParseForge collection for more reference-data scrapers.


๐Ÿ†˜ Need Help? Open our contact form to request a new scraper, propose a custom data project, or report an issue.


โš ๏ธ Disclaimer: this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the UK Parliament, the House of Commons, or the House of Lords. All trademarks mentioned are the property of their respective owners. Only publicly available open Parliament data is collected, under the Open Parliament Licence.