# KRS Poland Company Scraper (`snappytools/krs-poland-company-scraper`) Actor

You give it a list of KRS numbers. You get back one row per Polish company with the current registry extract: name, legalForm, nip, regon, the registered address, shareCapital, and the board in boardMembers. The data comes from the official open KRS API run by the Polish Ministry of Justice.

- **URL**: https://apify.com/snappytools/krs-poland-company-scraper.md
- **Developed by:** [Snappy](https://apify.com/snappytools) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$7.10 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## KRS Poland Company Scraper – Polish company registry data export

You give it a list of KRS numbers. You get back one row per Polish company with the current registry extract: `name`, `legalForm`, `nip`, `regon`, the registered `address`, `shareCapital`, and the board in `boardMembers`.

The data comes from the official open KRS API run by the Polish Ministry of Justice (the same registry behind ekrs.ms.gov.pl). No login, no captcha, no scraping of web pages.

You can put it on a schedule to re-check a watch list of companies, so you notice when a board, address or share capital changes.

### Why this one

- **Official source.** Every record is read from the Ministry of Justice open KRS API, not from scraped web pages.
- **Board included.** You get the representation body and each member's name and role, not just the company name.
- **Both registers.** Set **Register** to `auto` and it tries the business register (P) first, then associations and foundations (S).
- **Flat, clean fields.** NIP, REGON, city, postcode and capital come as separate fields, ready to filter in a spreadsheet.
- **Forgiving input.** Type KRS numbers with or without leading zeros; leading zeros are added for you.
- **Cheap.** $7.10 per 1,000 results, and runs with no results cost nothing.

### Quick start

```json
{
  "krsNumbers": ["0000019193", "0000028860", "0000026438"],
  "maxItems": 5,
  "registry": "auto"
}
```

This returns the current registry extracts for the three companies, one row each. In a test run on 14 Nov 2026 it returned 3 rows.

### What you can use it for

| Who | What for |
|---|---|
| Compliance and KYC teams | Check a Polish supplier's legal form, NIP, REGON and who can sign for it |
| Sales and lead teams | Enrich a list of Polish prospects with address, capital and board names |
| Credit analysts | Confirm share capital and registration date before extending terms |
| Lawyers and M\&A advisers | Pull the current board and registered seat during due diligence |
| Procurement | Re-check a vendor list on a schedule and spot board or address changes |

### How to use it

1. Click **Try for free**.
2. In **KRS numbers**, add the KRS numbers you want to look up, for example `0000019193`. You can add up to 500.
3. Pick a **Register**: leave it on `auto` unless you know the company sits in `P` (businesses) or `S` (associations and foundations).
4. Set **Max results** to cap the run, for example `100`.
5. Click **Start**.

Tip: save the input as a task and add it to **Schedules** to re-check the same companies every week.

### What data you get

Each row is one company's current KRS extract.

| Field | What it is | Example |
|---|---|---|
| `id` | Record id (register and KRS number) | `P-0000019193` |
| `krsNumber` | 10-digit KRS number | `0000019193` |
| `registry` | Register the record came from | `P` |
| `url` | Official API link to the extract | `https://api-krs.ms.gov.pl/api/krs/OdpisAktualny/0000019193?rejestr=P&format=json` |
| `name` | Registered company name | `ORLEN SPÓŁKA AKCYJNA` |
| `legalForm` | Legal form | `SPÓŁKA AKCYJNA` |
| `nip` | Tax id (NIP) | `7740001454` |
| `regon` | Statistical id (REGON) | `61018820100000` |
| `registrationDate` | Date first entered in KRS | `19.07.2001` |
| `extractStateDate` | Date the extract is current as of | `09.10.2026` |
| `voivodeship` | Province of the registered seat | `MAZOWIECKIE` |
| `city` | City of the registered seat | `PŁOCK` |
| `address` | Street and number | `CHEMIKÓW 7` |
| `postalCode` | Postcode | `09-411` |
| `country` | Country of the address | `POLSKA` |
| `shareCapital` | Share capital as a number | `1451177561.25` |
| `capitalCurrency` | Currency of the capital | `PLN` |
| `representationBody` | Name of the body that represents the company | `ZARZĄD` |
| `boardMembers` | List of `{ name, role }` | `{"name": "I******* F*****", "role": "PREZES ZARZĄDU"}` |
| `scrapedAt` | When the row was fetched (UTC) | `2026-11-14T01:58:08.415Z` |

### Pricing

| Event | Price |
|---|---|
| Result (each row written to the dataset) | $0.0071 |

No start fee. Runs with no results cost nothing.

| Run | Cost |
|---|---|
| 100 results | $0.71 |
| 1,000 results | $7.10 |
| 10,000 results | $71.00 |

### Good to know

- **Limits.** Up to 500 KRS numbers per run, capped by **Max results** (1 to 500, default 100). Extra numbers beyond the cap are skipped.
- **Where the data comes from.** The official KRS open API from the Polish Ministry of Justice. Only public registry data is read.
- **What is not included.** Search by company name is not supported; you need the KRS number. Personal names in `boardMembers` come back partly masked, as the registry publishes them.
- **Freshness.** Each run reads the current extract at that moment. Check `extractStateDate` for the date it is current as of.
- **Not affiliated.** This tool isn't affiliated with or endorsed by the Polish Ministry of Justice.

### FAQ

**Can I search by company name?** No. It looks up by KRS number only. Find the number on ekrs.ms.gov.pl first.

**Why is a company missing?** The number may be wrong, or the company may sit in the other register. Set **Register** to `auto`.

**Do I need to type the leading zeros?** No. Numbers of up to 10 digits are accepted and leading zeros are added for you.

### Getting the data out

Download results as Excel, CSV or JSON from the Output tab. Send them to Google Sheets, Slack, Zapier, Make or webhooks from the **Integrations** tab. Every run is also available through the Apify API, and you can run it on a timetable from **Schedules**.

### Questions or problems

Open an issue on the **Issues** tab and include the run link. I reply within one business day.

### Related tools

- [Companies House Company Scraper](https://apify.com/snappytools/companies-house-uk-scraper): the same kind of company lookup for UK companies
- [TED Europa Tender Scraper](https://apify.com/snappytools/ted-europa-tender-scraper): public tenders from TED Europa
- [Bulk Email Syntax and MX Validator](https://apify.com/snappytools/email-syntax-mx-validator): check a list of email addresses in bulk

# Actor input Schema

## `krsNumbers` (type: `array`):

List of Polish KRS numbers to look up (up to 10 digits; leading zeros are added for you). Maximum 500 per run.

## `registry` (type: `string`):

Which KRS register to query: P for businesses, S for associations and foundations, or auto to try P first and then S.

## `maxItems` (type: `integer`):

Upper limit of company records saved in one run. Extra KRS numbers beyond this are skipped.

## Actor input object example

```json
{
  "krsNumbers": [
    "0000019193",
    "0000028860",
    "0000026438"
  ],
  "registry": "auto",
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "krsNumbers": [
        "0000019193",
        "0000028860",
        "0000026438"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("snappytools/krs-poland-company-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 = { "krsNumbers": [
        "0000019193",
        "0000028860",
        "0000026438",
    ] }

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

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

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

```

## CLI example

```bash
echo '{
  "krsNumbers": [
    "0000019193",
    "0000028860",
    "0000026438"
  ]
}' |
apify call snappytools/krs-poland-company-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,snappytools/krs-poland-company-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/UEM4rwkced1XSz4vC/builds/fMiOrzc2DDqerCZOm/openapi.json
