# Poland Parliamentary PEP Scraper - Sejm Members for KYC/AML (`regdata/poland-parliamentary-pep-scraper`) Actor

Structured PEP dataset of Polish Sejm members across terms - names, dates of birth, party, district, profession - for KYC/AML screening. Official Sejm API source

- **URL**: https://apify.com/regdata/poland-parliamentary-pep-scraper.md
- **Developed by:** [getregdata](https://apify.com/regdata) (community)
- **Categories:** Automation, Developer tools, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 pep records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Poland Parliamentary PEP Scraper - Sejm Members for KYC/AML Screening

Build a clean, structured **PEP (Politically Exposed Persons)** dataset of members of the **Polish Sejm** (the lower house of Parliament) for KYC/AML and enhanced due-diligence screening. For each member you get a structured record: full name, **date of birth**, party/club, electoral district, profession, term of office, and a link to the official profile (where the public asset declaration is published).

Sourced directly from the **official Sejm API** - no proxy, no API key, no anti-bot to fight. Covers the **current term and all historical terms since 1991**, so you can screen against former parliamentarians too (still PEP-relevant under most AML regimes).

### Why this matters

Global PEP datasets (e.g. OpenSanctions) cover national legislators **unevenly** across jurisdictions. This actor gives you a **complete, authoritative, structured Polish parliamentary PEP list** with dates of birth - the key field for confident name matching in screening, and the one most generic lists are missing.

### Quick Start

Current parliament:

```json
{ "term": "current" }
````

Screen a specific person across all terms (current + historical):

```json
{ "term": "all", "nameFilter": "Tusk" }
```

### Sample Output

```json
{
  "isPEP": true,
  "pepCategory": "National legislator (member of national parliament)",
  "country": "PL",
  "source": "Sejm Rzeczypospolitej Polskiej (Polish Parliament)",
  "role": "Poseł",
  "roleEn": "Member of the Sejm (Polish Parliament)",
  "term": 10,
  "termFrom": "2023-11-13",
  "termCurrent": true,
  "active": true,
  "fullName": "Andrzej Adamczyk",
  "firstName": "Andrzej",
  "lastName": "Adamczyk",
  "dateOfBirth": "1959-01-04",
  "birthPlace": "Krzeszowice",
  "party": "PiS",
  "district": "Kraków",
  "voivodeship": "małopolskie",
  "profession": "ekonomista",
  "email": "Andrzej.Adamczyk@sejm.pl",
  "profileUrl": "https://www.sejm.gov.pl/Sejm10.nsf/posel.xsp?id=001&type=A",
  "assetDeclarationNote": "Public asset declaration (oświadczenie majątkowe) is available on the linked profile page.",
  "scrapedAt": "2026-06-10T08:00:00.000Z"
}
```

### Pricing

Pay-per-event - you pay only for results:

| Event | Price |
|-------|-------|
| Actor start (per run) | $0.005 |
| PEP record returned | $0.004 |

A full current-term pull (≈460 members) costs about **$1.85**; screening one name across all terms costs a few cents. No proxy or API-key bill - the source is an open government API. No subscription, no minimum commitment.

### Features

- **Authoritative source** - the official Sejm API (`api.sejm.gov.pl`), not a scraped third-party list
- **Dates of birth included** - the decisive field for confident PEP name matching
- **Full history since 1991** - screen against current and former legislators
- **One-name screening** - `nameFilter` returns just the person(s) you are checking
- **Screening-ready schema** - `isPEP`, `pepCategory`, `country`, `source`, `role`/`roleEn` on every record
- **No proxy, no key, no anti-bot** - just run it

### Related Actors

Combine PEP screening with the rest of the Polish KYC/AML stack:

- [Poland CRBR Beneficial Owners Scraper](https://apify.com/regdata/crbr-beneficial-owners-scraper) - ultimate beneficial owners (UBO) by NIP/KRS for KYC/AML
- [Poland KRS Board Members Scraper](https://apify.com/regdata/krs-fullnames-scraper) - non-anonymized company directors and shareholders
- [Poland KRS Financial Statements Scraper](https://apify.com/regdata/poland-krs-financial-scraper) - balance sheets and P\&L by NIP/KRS
- [Poland KRZ Debtor Registry Scraper](https://apify.com/regdata/krz-debtor-scraper) - bankruptcy, restructuring and enforcement
- [Poland REGON Scraper](https://apify.com/regdata/polish-regon-scraper) - resolve any Polish company by name, NIP, KRS or REGON

### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `term` | string | No | `"current"` (default), a specific term number (e.g. `"9"`), or `"all"` (every term since 1991) |
| `nameFilter` | string | No | Case-insensitive substring match on the full name - use to screen one person |
| `activeOnly` | boolean | No | Only currently-active members. Default `false` |
| `maxResults` | integer | No | Optional cap on records returned |

### Output Fields

| Field | Description |
|-------|-------------|
| `isPEP` | Always `true` - every record is a politically exposed person |
| `pepCategory` | PEP category (national legislator) |
| `country` | `PL` |
| `source` | Authoritative source label |
| `role` / `roleEn` | `Poseł` / Member of the Sejm |
| `term` / `termFrom` / `termCurrent` | Parliamentary term, its start date, and whether it is the current term |
| `active` | Whether the member is currently active in the term |
| `fullName` / `firstName` / `lastName` | Name fields |
| `dateOfBirth` / `birthPlace` | Date and place of birth |
| `party` / `district` / `voivodeship` | Club/party, electoral district, voivodeship |
| `profession` / `education` | Declared profession and education |
| `email` | Official Sejm email where published |
| `profileUrl` | Official profile page (links to the public asset declaration) |
| `scrapedAt` | Provenance timestamp |

### Use Cases

- **PEP screening** - check whether a counterparty/individual is (or was) a Polish national legislator
- **KYC/AML & EDD** - enrich onboarding with authoritative PEP identity data including date of birth
- **Building a PEP database** - maintain your own Polish-parliament PEP list rather than paying for a black-box feed
- **Due diligence & research** - map parliamentary composition by term, party and district

### Data Source & Compliance

- **Source**: official Sejm API - https://api.sejm.gov.pl
- **Legal basis**: data on elected public officials is public information under Polish law (and the Polish public-information act)
- Only publicly published fields are collected. Residential addresses and other restricted data are not part of the public API and are **not** collected.

### Scope & Notes

- Covers **Sejm** members (lower house). Senate (Senat) and Polish MEPs are not included in this version.
- **Asset declarations** (oświadczenia majątkowe - cash, real estate, company stakes) are published as per-member **scanned PDFs** on the Sejm Lotus-Notes site, behind an anti-bot layer. Structured extraction of those is **out of scope for this version**; each record links the member's profile where the declaration can be retrieved manually.

### Polish Business Data Suite

This actor is part of a portfolio covering the full Polish company- and compliance-intelligence stack. No subscriptions, no minimum commitment - pay only for what you use.

| Registry | Actor | What it does |
|----------|-------|--------------|
| **Sejm** | Parliamentary PEP (this actor) | Polish PEP list for KYC/AML screening |
| **CRBR** | [Beneficial Owners](https://apify.com/regdata/crbr-beneficial-owners-scraper) | UBO verification by NIP/KRS |
| **KRS** | [Board Members](https://apify.com/regdata/krs-fullnames-scraper) | Full non-anonymized director names |
| **eKRS** | [Financial Statements](https://apify.com/regdata/poland-krs-financial-scraper) | Balance sheets, income statements |
| **KRZ** | [Debtor Registry](https://apify.com/regdata/krz-debtor-scraper) | Bankruptcy, restructuring, enforcement |
| **KNF** | [Financial Supervision](https://apify.com/regdata/knf-registry-scraper) | 75,000+ regulated financial entities |
| **REGON** | [Company Lookup](https://apify.com/regdata/polish-regon-scraper) | Resolve any company by name/NIP/KRS/REGON |

> **Full suite**: [apify.com/regdata](https://apify.com/regdata) - now also covering **[Germany Handelsregister](https://apify.com/regdata/germany-handelsregister-scraper)**.

### Informacje po polsku

#### Czym jest ten aktor?

Ten aktor buduje ustrukturyzowaną listę **osób zajmujących eksponowane stanowiska polityczne (PEP)** - posłów na **Sejm RP** - na potrzeby weryfikacji **KYC/AML** i wzmożonej należytej staranności (EDD). Dla każdego posła otrzymujesz: imię i nazwisko, **datę urodzenia**, klub/partię, okręg wyborczy, zawód, kadencję oraz link do oficjalnego profilu (gdzie publikowane jest **oświadczenie majątkowe**). Dane pochodzą bezpośrednio z **oficjalnego API Sejmu** (`api.sejm.gov.pl`) - bez proxy, bez klucza, bez zabezpieczeń anty-bot. Obejmuje **bieżącą kadencję i wszystkie kadencje od 1991 roku**.

#### Dla kogo?

Dla **działów compliance i KYC/AML**, **biur informacji gospodarczej**, **fintechów i banków** oraz **firm prowadzących due diligence**, które potrzebują wiarygodnej, kompletnej polskiej listy PEP z datami urodzenia - kluczowym polem do pewnego dopasowywania nazwisk. Bez subskrypcji - płacisz tylko za wyniki.

### Disclaimer

This actor returns publicly available information about elected public officials for legitimate KYC/AML, compliance and research purposes. Residential addresses and other restricted fields are not part of the public API and are not collected.

***

### Polish PEP Screening Dataset - Sejm Members for KYC/AML

Structured **Politically Exposed Persons (PEP)** dataset of Polish Parliament (**Sejm**) members for KYC/AML and enhanced due diligence: full names, **dates of birth**, party, electoral district, profession and term of office. Current term plus every term since 1991, straight from the **official Sejm API** - no proxy, no API key, no anti-bot. Ideal for compliance teams, fintechs, banks and due-diligence providers building or enriching a Polish PEP screening list.

# Actor input Schema

## `term` (type: `string`):

Which Sejm term to fetch: "current" (default), a specific term number (e.g. "9"), or "all" for every term since 1991 (historical PEPs).

## `nameFilter` (type: `string`):

Case-insensitive substring match on the full name. Use to screen a specific person (e.g. "Tusk").

## `activeOnly` (type: `boolean`):

Return only currently-active members. Leave off to include those who left mid-term (still PEP-relevant).

## `maxResults` (type: `integer`):

Optional cap on the number of records returned.

## Actor input object example

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

# Actor output Schema

## `peps` (type: `string`):

Politically Exposed Persons (Sejm members) with name, date of birth, party, district, profession, term and profile URL.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "term": "current"
};

// Run the Actor and wait for it to finish
const run = await client.actor("regdata/poland-parliamentary-pep-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "term": "current" }

# Run the Actor and wait for it to finish
run = client.actor("regdata/poland-parliamentary-pep-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "term": "current"
}' |
apify call regdata/poland-parliamentary-pep-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=regdata/poland-parliamentary-pep-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Poland Parliamentary PEP Scraper - Sejm Members for KYC/AML",
        "description": "Structured PEP dataset of Polish Sejm members across terms - names, dates of birth, party, district, profession - for KYC/AML screening. Official Sejm API source",
        "version": "1.0",
        "x-build-id": "5YhS6jCy9xJWZ3eH7"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/regdata~poland-parliamentary-pep-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-regdata-poland-parliamentary-pep-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/regdata~poland-parliamentary-pep-scraper/runs": {
            "post": {
                "operationId": "runs-sync-regdata-poland-parliamentary-pep-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/regdata~poland-parliamentary-pep-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-regdata-poland-parliamentary-pep-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "term": {
                        "title": "Term of office",
                        "type": "string",
                        "description": "Which Sejm term to fetch: \"current\" (default), a specific term number (e.g. \"9\"), or \"all\" for every term since 1991 (historical PEPs).",
                        "default": "current"
                    },
                    "nameFilter": {
                        "title": "Name filter (optional)",
                        "type": "string",
                        "description": "Case-insensitive substring match on the full name. Use to screen a specific person (e.g. \"Tusk\")."
                    },
                    "activeOnly": {
                        "title": "Active members only",
                        "type": "boolean",
                        "description": "Return only currently-active members. Leave off to include those who left mid-term (still PEP-relevant).",
                        "default": false
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Optional cap on the number of records returned."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
