# Sprawdź, czy osoba jest posłem

**Use case:** 

Sprawdź, czy dana osoba zasiada w Sejmie: dopasuj nazwisko i pobierz partię, okręg, datę urodzenia i status mandatu - do screeningu PEP (AML).

## Input

```json
{
  "term": "current",
  "nameFilter": "Kowalski",
  "activeOnly": false
}
```

## Output

```json
{
  "fullName": {
    "label": "Name",
    "format": "text"
  },
  "dateOfBirth": {
    "label": "DOB",
    "format": "text"
  },
  "party": {
    "label": "Party",
    "format": "text"
  },
  "district": {
    "label": "District",
    "format": "text"
  },
  "term": {
    "label": "Term",
    "format": "number"
  },
  "active": {
    "label": "Active",
    "format": "boolean"
  },
  "role": {
    "label": "Role",
    "format": "text"
  },
  "profileUrl": {
    "label": "Profile",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Poland Parliamentary PEP Scraper - Sejm Members for KYC/AML](https://apify.com/regdata/poland-parliamentary-pep-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/regdata/poland-parliamentary-pep-scraper) to learn more, explore other use cases, and run it yourself.