UK Parliament Members Scraper (MPs & Lords)
Pricing
from $23.25 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share

๐๏ธ 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 platforms | Stakeholder 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
| Input | Type | Default | Behavior |
|---|---|---|---|
name | string | "" | Substring match on the member's display name. |
house | string | "" | One of: empty (both), Commons, Lords. |
party | string | "" | One of 20+ parties (Labour, Conservative, Liberal Democrat, SNP, Reform UK, Crossbench, Bishops, and more). |
gender | string | "" | Empty (all), M, or F. |
membershipStatus | string | "current" | Currently sitting, former, or all (current + former). |
constituency | string | "" | Substring match on the Commons constituency name (ignored for Lords). |
fetchDetails | boolean | true | When enabled, pulls biography (committees, posts, representations) and contact details per member. |
maxItems | integer | 10 | Records 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. SetfetchDetails: falsefor a quick directory listing.
๐ Output
Each member record carries up to 31 fields. Download the dataset as CSV, Excel, JSON, or XML.
๐งพ Schema
| Field | Type | Example |
|---|---|---|
๐ id | number | 172 |
๐ผ๏ธ imageUrl | string | "https://members-api.parliament.uk/api/Members/172/Thumbnail" |
๐ profileUrl | string | "https://members.parliament.uk/member/172" |
๐ nameDisplayAs | string | "Ms Diane Abbott" |
๐ nameFullTitle | string | "Rt Hon Diane Abbott MP" |
๐ nameListAs | string | "Abbott, Ms Diane" |
๐ nameAddressAs | string | "Ms Abbott" |
๐ค gender | string | "F" |
๐๏ธ house | string | "Commons" |
๐ constituency | string | null | "Hackney North and Stoke Newington" |
๐ constituencyId | number | null | 4074 |
๐
membershipStartDate | ISO 8601 | "1987-06-11T00:00:00" |
๐
membershipEndDate | ISO 8601 | null | null |
๐ membershipEndReason | string | null | null |
๐ฆ isCurrentMember | boolean | true |
๐ membershipStatusDescription | string | "Current Member" |
๐๏ธ partyName | string | "Independent" |
๐ท๏ธ partyAbbreviation | string | "Ind" |
๐ partyId | number | 8 |
๐จ partyColor | string | "#909090" |
๐ constituencyHistory | array | [{house, constituency, startDate, endDate, note}] |
๐ผ governmentPosts | array | [{name, startDate, endDate, department}] |
๐ผ oppositionPosts | array | [{name, startDate, endDate, department}] |
๐ผ committeeMemberships | array | [{name, startDate, endDate}] |
๐ phoneNumbers | array | ["020 7219 4426"] |
๐ง emails | array | ["diane.abbott.office@parliament.uk"] |
๐ websites | array | ["http://www.dianeabbott.org.uk"] |
๐ socialLinks | array | [{type: "X", url: "https://twitter.com/HackneyAbbott"}] |
๐ parliamentaryAddress | string | "House of Commons, London" |
๐ฎ parliamentaryPostcode | string | "SW1A 0AA" |
๐ scrapedAt | ISO 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
| Approach | Cost | Coverage | Refresh | Filters | Setup |
|---|---|---|---|---|---|
| โญ UK Parliament Members Scraper (this Actor) | $5 free credit, then pay-per-use | 1,450+ current + historic | Live per run | house, party, gender, constituency, status, name | โก 2 min |
| Commercial public-affairs platforms | $15k - $80k/year | Comparable + voting records | Daily | Many | ๐ข Weeks (procurement) |
| TheyWorkForYou scraping | Free | Limited fields | Daily | Few | ๐ Days |
| Manual copy-paste from members.parliament.uk | Free | Whole directory | Live | Site-side | โณ Forever |
Pick this Actor when you want a structured, contact-ready directory of every UK parliamentarian without writing a parser.
๐ How to use
- ๐ Sign up. Create a free account w/ $5 credit (takes 2 minutes).
- ๐ Open the Actor. Go to the UK Parliament Members Scraper page on the Apify Store.
- ๐ฏ Set input. Pick a House, a party, a gender, a constituency substring, and set
maxItems. TogglefetchDetailsfor full biography + contact. - ๐ Run it. Click Start and let the Actor collect your dataset.
- ๐ฅ 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
๐ Automating UK Parliament Members Scraper
Control the scraper programmatically for scheduled runs and pipeline integrations:
- ๐ข Node.js. Install the
apify-clientNPM package. - ๐ Python. Use the
apify-clientPyPI 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.
๐ค Ask an AI assistant about this scraper
Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:
- ๐ฌ ChatGPT
- ๐ง Claude
- ๐ Perplexity
- ๐ Copilot
โ 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.
โ๏ธ Is this data legal to use?
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.
๐ Recommended Actors
- ๐ฃ๏ธ Hansard UK Parliament Debates Scraper - Full transcripts of Commons and Lords debates
- ๐ฌ๐ง GOV.UK Content Search Scraper - Search the entire UK government publications catalogue
- ๐ก๏ธ OpenSanctions Sanctions & PEP Scraper - Sanctioned entities and politically exposed persons
- โก Carbon Intensity UK Scraper - National Grid carbon intensity feed
- ๐๏ธ Florida Sunbiz Business Registry Scraper - Florida corporate registry records
๐ก 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.