# House of Commons (MPs) UK Parliament Members (MPs & Lords)

**Use case:** 

Extract UK Parliament Members (MPs & Lords) data filtered by House of Commons (MPs). Export structured results ready for analysis, lead generation, or research.

## Input

```json
{
  "name": "",
  "house": "Commons",
  "party": "",
  "gender": "",
  "membershipStatus": "all",
  "constituency": "",
  "fetchDetails": true,
  "maxItems": 10
}
```

## Output

```json
{
  "id": {
    "label": "🆔 Member ID",
    "format": "number"
  },
  "imageUrl": {
    "label": "🖼️ Photo URL",
    "format": "image"
  },
  "profileUrl": {
    "label": "🔗 Profile URL",
    "format": "link"
  },
  "nameDisplayAs": {
    "label": "📌 Display Name",
    "format": "text"
  },
  "nameFullTitle": {
    "label": "📌 Full Title",
    "format": "text"
  },
  "nameListAs": {
    "label": "📌 Name as Listed",
    "format": "text"
  },
  "nameAddressAs": {
    "label": "📌 Address As",
    "format": "text"
  },
  "gender": {
    "label": "👤 Gender",
    "format": "text"
  },
  "house": {
    "label": "🏛️ House",
    "format": "text"
  },
  "constituency": {
    "label": "📍 Constituency",
    "format": "text"
  },
  "constituencyId": {
    "label": "🆔 Constituency ID",
    "format": "number"
  },
  "membershipStartDate": {
    "label": "📅 Membership Start",
    "format": "date"
  },
  "membershipEndDate": {
    "label": "📅 Membership End",
    "format": "date"
  },
  "membershipEndReason": {
    "label": "📝 End Reason",
    "format": "text"
  },
  "isCurrentMember": {
    "label": "🚦 Currently Sitting",
    "format": "boolean"
  },
  "membershipStatusDescription": {
    "label": "📝 Status Description",
    "format": "text"
  },
  "partyName": {
    "label": "🏛️ Party Name",
    "format": "text"
  },
  "partyAbbreviation": {
    "label": "🏷️ Party Abbreviation",
    "format": "text"
  },
  "partyId": {
    "label": "🆔 Party ID",
    "format": "number"
  },
  "partyColor": {
    "label": "🎨 Party Colour",
    "format": "text"
  },
  "partyBackgroundColor": {
    "label": "🎨 Party Background Colour",
    "format": "text"
  },
  "partyForegroundColor": {
    "label": "🎨 Party Foreground Colour",
    "format": "text"
  },
  "constituencyHistory": {
    "label": "📜 Constituency History",
    "format": "array"
  },
  "governmentPosts": {
    "label": "💼 Government Posts",
    "format": "array"
  },
  "oppositionPosts": {
    "label": "💼 Opposition Posts",
    "format": "array"
  },
  "committeeMemberships": {
    "label": "💼 Committee Memberships",
    "format": "array"
  },
  "phoneNumbers": {
    "label": "📞 Phone Numbers",
    "format": "array"
  },
  "emails": {
    "label": "📧 Emails",
    "format": "array"
  },
  "websites": {
    "label": "🔗 Websites",
    "format": "array"
  },
  "socialLinks": {
    "label": "🔗 Social Links",
    "format": "array"
  },
  "parliamentaryAddress": {
    "label": "🏠 Parliamentary Address",
    "format": "text"
  },
  "parliamentaryPostcode": {
    "label": "📮 Parliamentary Postcode",
    "format": "text"
  },
  "scrapedAt": {
    "label": "🕒 Scraped At",
    "format": "date"
  },
  "error": {
    "label": "❌ Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [UK Parliament Members Scraper (MPs & Lords)](https://apify.com/parseforge/members-uk-parliament-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/members-uk-parliament-scraper) to learn more, explore other use cases, and run it yourself.