UK Parliament Scraper: MPs & Lords by Party avatar

UK Parliament Scraper: MPs & Lords by Party

Pricing

Pay per usage

Go to Apify Store
UK Parliament Scraper: MPs & Lords by Party

UK Parliament Scraper: MPs & Lords by Party

Look up UK Parliament members by house and party via the official Members API: constituency, party, gender and service dates. No login, no proxy, no browser.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Naimur Hasan

Naimur Hasan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Share

UK Parliament Scraper

Looks up UK Parliament members by house through the official Members API. No login, no proxy, no browser.

Input

FieldTypeNotes
housestringCommons | Lords. Default Commons.
nameContainsstringFilter by member name. Omit to list in order.
maxItemsintegerCap on members returned. Default 40.

Output

One row per member: id, name, listAs, fullTitle, gender, party, partyAbbreviation, house, constituency, memberSince, memberUntil, endReason, isActive, thumbnailUrl.

Notes

  • Every record is wrapped in a value envelope upstream and the party and membership sit in nested objects; those are flattened here so a row is a single flat record.
  • house is a number upstream (1 for Commons, 2 for Lords) and is translated to the name, so the column reads correctly without a lookup.
  • A null membership end date means the member is currently sitting, which is what isActive encodes. Former members remain in the API with an end date and a reason such as "Dissolution".