Uk Parliament Members Scraper avatar

Uk Parliament Members Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Uk Parliament Members Scraper

Uk Parliament Members Scraper

Export details on UK MPs and Lords directly from official public records. Quickly search by name or house to pull membership status, parties, constituencies, and contact details. Download your complete datasets instantly in CSV, JSON, or Excel format.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

B2B Lead Generation

B2B Lead Generation

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Share

UK Parliament Members Directory Scraper

Uk Parliament Members

Easily extract and export comprehensive directory listings of UK Members of Parliament (MPs) and Lords. This tool gathers names, political parties, constituencies, official roles, status details, and contact numbers smoothly and efficiently. You can export your clean datasets anytime into CSV, JSON, or Excel formats.


What It Does

  • Directory Extraction: Pulls comprehensive member records with customizable filters for house, name, and membership status.
  • Contact Inclusion: Automatically fetches and attaches available contact numbers, postcodes, and office details when requested.
  • Flexible Runs: Run quick searches or schedule regular updates to keep your records fresh and accurate.

Use Cases

  • Constituency Lists: Search by surname or filter to quickly export current House of Commons members.
  • Lords Offices: Focus specifically on the House of Lords to gather parliamentary office details, phone numbers, and postal codes.
  • CRM Maintenance: Set up scheduled runs to ensure your internal directories and contact lists stay current.
  • Historical Research: Easily switch off the active filter to include former members who are no longer in office.

Input Configuration

ParameterTypeDefaultDescription
modestringmembersChoose between standard member extraction (members) or dedicated contact gathering (contacts).
namestringFilter records by entering a specific name or keyword.
houseinteger1Select the parliamentary house (1 for Commons, 2 for Lords).
isCurrentMemberbooleantrueRestrict results to active, current members only.
includeContactsbooleantrueAttach available phone and address details to member records.
maxItemsinteger100Set a limit on the total number of successful rows saved (hard cap of 1000).
timeoutSecsinteger300Stop the run after this many seconds.
requestTimeoutSecsinteger30Timeout limit per individual request.
proxyConfigurationobject{"useApifyProxy": false}Optional proxy settings.

Example Input

{
"mode": "members",
"name": "smith",
"house": 1,
"isCurrentMember": true,
"includeContacts": true,
"maxItems": 100,
"timeoutSecs": 300,
"requestTimeoutSecs": 30,
"proxyConfiguration": { "useApifyProxy": false }
}

Output Structure & Fields

Every record saved in the dataset provides a structured object containing the following key details:

FieldTypeDescription
memberIdintegerUnique identifier for each individual record.
nameDisplayAsstringThe official display name of the member.
partyNamestringThe political party affiliation.
constituencystringThe represented constituency or membership classification.
statusTextstringCurrent operational status description.
houseNumberintegerIndicates whether the member belongs to the Commons (1) or Lords (2).
phonestringPrimary contact telephone number retrieved.
postcodestringPrimary postal code associated with the office.
scrapedAtstringTimestamp of when the record was processed.

Performance & Reliability

  • Smart Retries: Temporary connection interruptions or rate limits are handled automatically with built-in retry logic and intelligent backoff intervals.
  • Duplicate Prevention: Automatically filters and drops duplicate member IDs to keep your dataset clean.
  • Error Handling: If an individual record encounters an issue, it logs a clean error row while allowing the rest of the run to proceed smoothly.

Frequently Asked Questions

  • How many records can I export in one run? The default limit is 100 items, with a maximum cap of 1,000 successful rows per execution.
  • Can I export my data to Excel or CSV? Yes, you can easily download your final dataset in CSV, JSON, or Excel format directly from the platform.
  • What do house numbers represent? House 1 corresponds to the House of Commons, and House 2 corresponds to the House of Lords.

Collecting publicly accessible information is generally permissible, but how you utilize the data matters:

  • Personal Data: Depending on your jurisdiction (such as GDPR in Europe or CCPA in California), regulations may govern how you store and process personal information like names and contact details. Ensure you have a valid purpose and legal basis for collection.
  • Copyright & Content: Respect intellectual property rights and avoid republishing protected materials without proper authorization.
  • Terms & Guidelines: Always follow best practices, respect rate guidelines, and adhere to appropriate attribution requirements.
  • Legal Guidance: This overview is for informational purposes and does not constitute legal counsel. Consult a qualified professional if you have specific legal questions.