# Poland Company Lookup - KRS, NIP and VAT Whitelist (`zhucl1006/poland-krs-vat-whitelist`) Actor

Look up a Polish company by NIP, REGON, KRS or bank account. Official VAT whitelist (Biała Lista) plus the current KRS extract: legal form, capital, PKD and seat. No API key. One charge per company found.

- **URL**: https://apify.com/zhucl1006/poland-krs-vat-whitelist.md
- **Developed by:** [leo zhu](https://apify.com/zhucl1006) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 company looked ups

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

## Poland Company Lookup - KRS and VAT Whitelist

Look up a Polish company from two official registers. No API key.

- **VAT whitelist** (Biała Lista), Ministry of Finance: VAT status, legal name, NIP, REGON, KRS number, address and the bank accounts registered for that tax id.
- **KRS** current extract, Ministry of Justice open API: legal form, share capital, PKD activity codes, registered seat, and how the company is represented.

KRS does not search by name or NIP. This Actor resolves a NIP, REGON or bank account on the whitelist, reads the KRS number from that record, then fetches the current extract. A KRS number is looked up directly, and the NIP inside the extract is checked on the whitelist.

Officer names and PESEL are not returned. The open KRS extract masks them, and this Actor does not copy those fields.

### Pricing

Pay per event:

| Event | Price |
| --- | --- |
| Company found (`company-result`) | $0.004 per company |
| Actor start (`apify-actor-start`) | $0.00005 once per run |

A company that is not on either register is not charged. There is no per-dataset-item charge. A run stops cleanly when it hits the maximum cost you set.

### Input

The default input looks up NIP `7740001454` (ORLEN S.A.). That default needs no secret and finishes in well under 5 minutes.

Put one identifier per line. Automatic detection treats a valid 10-digit NIP as a tax id, 9 or 14 digits as REGON, 26 digits as a bank account, and any other number up to 10 digits as KRS. Delete the example NIP when you do not want that company in the results.

**VAT whitelist date** is the day the status is checked for (`YYYY-MM-DD`). Leave it empty to use today in Warsaw. **Bank account to verify** adds a yes/no on that account for each found company and does not add a charge. **Max companies** caps the list at 20.

### Output

One dataset row per identifier. A found row includes `name`, `nip`, `regon`, `krs`, `vatStatus` (`Czynny`, `Zwolniony` or `Niezarejestrowany`), addresses, `accountCount`, `accountNumbers`, `legalForm`, `shareCapital`, `pkd`, `seatAddress`, `email`, `website`, and the latest KRS entry date. `bankAccountListed` is set only when you pass an account to verify.

### Source

- VAT whitelist search: the public Ministry of Finance API. No registration.
- KRS current extract: `https://api-krs.ms.gov.pl/api/krs/OdpisAktualny/{krs}` with `rejestr=P` for companies and `rejestr=S` for associations. No registration. The open extract is the anonymized one.

The Actor calls `https://wl-api.mf.gov.pl` first. If that host does not return JSON, it tries `https://wykazpodatnikowvat.mf.gov.pl`. The Ministry has said the first host runs until 1 December 2026.

# Actor input Schema

## `identifiers` (type: `array`):

One identifier per line. A 10-digit NIP, a 9 or 14-digit REGON, a KRS number, or a 26-digit account. The default is ORLEN (NIP 7740001454), a public company, so a run with the default input returns a result. Delete that line when you want only your own companies.

## `idType` (type: `string`):

Leave on automatic unless a 10-digit value should be forced to NIP or KRS.

## `onDate` (type: `string`):

Date the VAT status is checked for, YYYY-MM-DD, in Poland. Leave empty to use today in Warsaw. The whitelist is a point-in-time register.

## `bankAccount` (type: `string`):

Optional 26-digit Polish account. Each found company then includes whether this account is on its whitelist. This does not add a charge.

## `includeAccounts` (type: `boolean`):

When on, each company includes the bank accounts published on the VAT whitelist. The account count is always included.

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

How many identifiers to look up. Each company that is found is charged once. Companies that are missing are not charged.

## Actor input object example

```json
{
  "identifiers": [
    "7740001454"
  ],
  "idType": "auto",
  "onDate": "",
  "bankAccount": "",
  "includeAccounts": true,
  "maxResults": 5
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "identifiers": [
        "7740001454"
    ],
    "idType": "auto",
    "onDate": "",
    "bankAccount": "",
    "includeAccounts": true,
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("zhucl1006/poland-krs-vat-whitelist").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 = {
    "identifiers": ["7740001454"],
    "idType": "auto",
    "onDate": "",
    "bankAccount": "",
    "includeAccounts": True,
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("zhucl1006/poland-krs-vat-whitelist").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 '{
  "identifiers": [
    "7740001454"
  ],
  "idType": "auto",
  "onDate": "",
  "bankAccount": "",
  "includeAccounts": true,
  "maxResults": 5
}' |
apify call zhucl1006/poland-krs-vat-whitelist --silent --output-dataset

```

## MCP server setup

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

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/eASgdbvJpruyLVV1y/builds/ep20I1FZN4JizodEO/openapi.json
