getregdata
Home / Blog / Article
Article · 2026-11-01

How to Look Up a Polish Company by NIP: Name, REGON, KRS, Address, Status and a Basic KYB Check

nip · regon · kyb · poland · company-data · 12 min read

To look up a Polish company by NIP, enter the 10-digit number in the GUS REGON search at wyszukiwarkaregon.stat.gov.pl or the Ministry of Finance White List (Biała lista). Both are free. REGON gives you the official name, REGON number, legal form, registered address, activity codes and dates, and shows whether the business has ended its activity. The White List adds VAT status and the company’s bank accounts. For a company in the court register you then take the KRS number to the KRS extract for the board and shareholders. For hundreds of NIPs, or a check you repeat, the Polish REGON Scraper on Apify returns the REGON data as JSON in one batch, and Poland KYB Risk Check turns one NIP into identity, beneficial owners and insolvency screening in a single result.

This guide explains the Polish identifiers, the free official sources and what each one is good for, then the automated route, with code and a worked onboarding workflow.

NIP, REGON and KRS

A Polish company usually has three identifiers, and each one belongs to a different register.

IdentifierFormatIssued byWhat it identifies
NIP10 digits, last one is a check digitTax administrationThe taxpayer, for tax and VAT
REGON9 digits for an entity, 14 for a local unit (branch)GUS (Statistics Poland)The entity in the national business register used for statistics
KRS10 digits, written with leading zeros (e.g. 0000304735)Registry courts (National Court Register)Companies, cooperatives, foundations and associations entered in the court register

Sole traders (jednoosobowa działalność gospodarcza) are not in KRS; they register in CEIDG. They still have a NIP and a REGON, so REGON is the one register that covers both companies and sole traders.

Check the NIP before you look it up

A NIP has a check digit, so you can reject typos without calling anything. Multiply the first nine digits by the weights 6, 5, 7, 2, 3, 4, 5, 6, 7, add the products and take the remainder modulo 11. The result must equal the tenth digit (a remainder of 10 means the number is invalid).

function isValidNip(raw) {
  const nip = String(raw).replace(/[\s-]/g, '').replace(/^PL/i, '');
  if (!/^\d{10}$/.test(nip)) return false;
  const w = [6, 5, 7, 2, 3, 4, 5, 6, 7];
  const sum = w.reduce((acc, weight, i) => acc + weight * Number(nip[i]), 0);
  const check = sum % 11;
  return check !== 10 && check === Number(nip[9]);
}

isValidNip('526-000-68-41'); // true (Bank Pekao S.A.)

A valid check digit means the number is well formed, not that it exists. Only a register lookup tells you that.

The free official sources

For one company at a time, the official tools are free and usually enough.

GUS REGON search (wyszukiwarkaregon.stat.gov.pl). Enter a NIP, REGON or KRS and you get the entity’s name, REGON, legal form, address, PKD activity codes and key dates, including the date activity ended if it has. GUS also offers the BIR web service (BIR 1.1) for software, but you need a user key from GUS before you can use it in production.

Ministry of Finance White List (Wykaz podatników VAT). The search form is on the Ministry of Finance tax portal, and the same data is available through the White List API, which needs no key and accepts up to 30 numbers per batch request. Search by NIP, REGON or bank account number. It shows VAT status (active, exempt, or not registered), name, addresses, KRS and REGON numbers, and the bank accounts the company has reported to the tax office. The White List matters beyond KYB: Polish tax rules penalise business payments above 15,000 PLN made to an account that is not on the list.

KRS extract (search at ekrs.ms.gov.pl). The Ministry of Justice also publishes the current and full KRS extract as JSON through an open API (api-krs.ms.gov.pl/api/krs/OdpisAktualny/<KRS>?rejestr=P&format=json), with no key. The extract holds the representation rule, the management and supervisory boards, share capital and, for a limited liability company, its shareholders; in the API output, personal details of individuals are partly masked. The API does not accept a NIP, so you need the KRS number first (REGON and the White List both give it to you).

A basic manual check by NIP therefore looks like this:

  1. Validate the NIP check digit.
  2. Look it up in REGON or the White List: confirm the name, address and that activity has not ended.
  3. If you are going to pay the company, confirm its bank account on the White List.
  4. Take the KRS number to the KRS extract for the board and who can sign.
  5. Check beneficial owners in the CRBR register and insolvency proceedings in KRZ.

That takes ten to fifteen minutes per company across five websites, which is fine for a handful a month but stops working when you need to enrich a CRM export of 5,000 NIPs, screen an onboarding queue every day, or keep the result in a structured form for an audit trail.

The automated way: Polish REGON Scraper

The Polish REGON Scraper reads the public REGON register and returns one JSON row per entity. It needs no GUS key and no registration, only an Apify account, and it takes a list of identifiers in one run. More on the data is on our REGON registry page.

Input for a batch of NIPs, headquarters only:

{
  "searchMode": "nip",
  "identifiers": ["5260006841", "1080004850"],
  "includeLocalUnits": false,
  "fetchFullReport": true,
  "fetchPkd": true
}

searchMode is nip, regon or krs, one mode per run. includeLocalUnits defaults to true, which returns every registered branch of the company as its own row. For a bank or a retail chain that can be hundreds of rows, each billed as a result. Set it to false when you only need the company itself. pkdSections, pkdCodes and legalForms filter the output, which is useful when you enrich a lead list rather than verify a counterparty.

A trimmed sample row (this one is a local unit of Bank Pekao, which is why it has a 14-digit REGON and a parentRegon):

{
  "regon": "000010205",
  "regon14": "00001020500190",
  "nip": "5260006841",
  "name": "BANK POLSKA KASA OPIEKI SPÓŁKA AKCYJNA - ODDZIAŁ W ŁODZI",
  "recordType": "LOCAL_UNIT",
  "parentRegon": "000010205",
  "legalForm": "spółka akcyjna",
  "pkdMain": { "code": "64.19.Z", "name": "Pozostałe pośrednictwo pieniężne" },
  "voivodeship": "ŁÓDZKIE",
  "city": "Łódź",
  "postalCode": "90-001",
  "street": "ul. Piotrkowska",
  "buildingNumber": "12",
  "registrationDate": "1998-01-29",
  "activityStartDate": "1929-10-17",
  "website": "www.pekao.com.pl",
  "scrapeStatus": "full"
}

What the key fields mean:

FieldMeaning
regon / regon149-digit entity REGON; 14-digit REGON for a local unit
recordTypeHQ for the legal entity, LOCAL_UNIT for a branch
parentRegonThe entity a local unit belongs to
legalForm / legalFormDetailBasic and detailed legal form
voivodeship … buildingNumberRegistered address, with TERYT codes in terytVoivodeship / terytCounty / terytMunicipality
pkdMain / pkdMain activity code and the full list
registrationDate / activityStartDateEntry in the source register, start of activity
endedDateDate the business ended its activity, if the register records one
scrapeStatusfull when the full report was read, search-only when only the basic search row is available

With the full report, rows also carry the registering authority and the number in that register (registryType, registryNumber; for a KRS company that is its KRS number), and suspendedDate or removedFromRegonDate when the register has them. Fields the register leaves empty are simply absent.

For “status”, read the dates: an endedDate or removedFromRegonDate means the business is no longer operating as far as REGON knows; a suspendedDate without a later resumption means activity is suspended. REGON does not carry VAT status; that comes from the White List.

Code: JavaScript and Python

// npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('regdata/polish-regon-scraper').call({
  searchMode: 'nip',
  identifiers: ['5260006841', '1080004850'],
  includeLocalUnits: false,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const c of items) {
  const status = c.endedDate ? `ended ${c.endedDate}` : c.suspendedDate ? `suspended ${c.suspendedDate}` : 'active';
  console.log(c.nip, c.regon, c.name, c.city, status);
}
# pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("regdata/polish-regon-scraper").call(run_input={
    "searchMode": "nip",
    "identifiers": ["5260006841", "1080004850"],
    "includeLocalUnits": False,
})

for c in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(c.get("nip"), c.get("regon"), c.get("name"), c.get("registryNumber"), c.get("endedDate"))

A basic KYB check in one call: Poland KYB Risk Check

Identity is only the first step. A KYB check also asks who owns the company and whether anyone in that structure is in an insolvency proceeding. Poland KYB Risk Check does those steps for each NIP or KRS you give it:

  • identity from REGON (name, KRS, legal form, address, registration date, whether the company still exists);
  • beneficial owners from the CRBR register (name, citizenship, nature of control);
  • the KRZ debtor register, searched for the company and separately for every beneficial owner, because a clean company can be owned by someone in personal bankruptcy.

Input:

{ "identifiers": ["1080004850"] }

Optionally set includeManagement: true to also read the current KRS extract (management board, representation rule, prokurenci, shareholders, share capital); that part is billed by the board-members actor it runs.

Output, trimmed, with beneficial-owner details masked:

{
  "query": "1080004850",
  "verdict": "findings",
  "charged": true,
  "riskFlags": ["company-in-debtor-registry", "company-bankruptcy-or-restructuring"],
  "company": {
    "name": "GETIN NOBLE BANK SPÓŁKA AKCYJNA W UPADŁOŚCI",
    "nip": "1080004850",
    "krs": "0000304735",
    "regon": "141334039",
    "legalForm": "116 - SPÓŁKI AKCYJNE",
    "address": "Rondo Ignacego Daszyńskiego 2C 00-843 Warszawa",
    "registrationDate": "2008-04-25",
    "active": true
  },
  "beneficialOwners": [
    { "name": "…", "citizenship": "…", "natureOfControl": ["…"], "debtorRegistry": { "found": "…", "entries": [] } }
  ],
  "debtorRegistry": {
    "found": "…",
    "entries": [
      { "caseSignature": "…", "kind": "bankruptcy", "startedAt": "2024-09-16", "role": null, "sourceUrl": "https://krz.ms.gov.pl/" }
    ]
  },
  "coverage": { "identity": "OK", "ubo": "OK", "insolvency": "OK", "uboScreened": 2 }
}

The verdict is one of four values:

verdictMeaning
clearEvery source answered; no insolvency proceeding for the company or any screened beneficial owner
findingsEvery source answered and something needs a human; see riskFlags
not_foundNo company is registered under that identifier (usually a typo)
partialA source register could not be reached; the check is incomplete and should be re-run

Getin Noble Bank shows active: true while its name ends in “W UPADŁOŚCI”, because a company in bankruptcy stays in the business register until it is struck off. “Active” only means the company is still registered and says nothing about solvency, which is why identity and insolvency are separate checks.

More on the verdict logic is on our KYB check page. If you want to build the steps yourself from the separate REGON, CRBR and KRZ actors, our onboarding pipeline walkthrough covers that.

Workflow: enriching and screening an onboarding list

A concrete setup for a team that receives a CSV of new business customers every day:

  1. Validate locally. Run the check-digit function over the NIP column. Send invalid ones back to sales before you pay for anything.
  2. Enrich in one batch. Pass all valid NIPs to the REGON scraper with includeLocalUnits: false. Join the rows back to the CSV on nip. A NIP that comes back with no row did not match a REGON entity; treat it as “not found” and ask the customer.
  3. Reject the obvious. Any row with endedDate or removedFromRegonDate is a business REGON records as no longer operating. Do not onboard it on autopilot.
  4. Screen the rest. Send the remaining NIPs to Poland KYB Risk Check. Auto-approve clear, queue findings for a compliance analyst with the riskFlags, fix not_found, and re-run partial later.
  5. Keep the evidence. Store the JSON row with its timestamp next to the customer record. If an auditor asks what you checked and when, that row is the answer.

In n8n, use the official Apify community node to run each actor and a Code node for the check digit and the join; in Make, the Apify app does the same. The pattern also works from a nightly cron script with the code above.

Limits and gotchas

REGON looks up by identifier, not by name. The actor takes NIP, REGON or KRS. If all you have is a company name, find the NIP first (the company’s invoices, website footer or the White List).

REGON is not the legal source for who can sign. The board, representation rules and shareholders are in KRS. REGON gives you the identity and address; the KRS extract gives you authority to act.

VAT status and bank accounts are only on the White List. Neither actor returns them. If you pay suppliers, check the account there.

Beneficial-owner data is self-declared. Companies file their own CRBR entries, and the register does not verify them on filing. Treat a CRBR entry as the company’s own statement about itself. Companies listed on a regulated market are generally exempt from filing, so a missing CRBR entry for a listed company is expected, not a red flag. Owners listed without a PESEL, most often foreign nationals, cannot be searched in KRZ; the KYB check returns them as not screened and shows coverage.uboScreening: "PARTIAL" rather than calling them clean.

Insolvency coverage starts December 2021. KRZ holds proceedings from 1 December 2021. Earlier ones are in the Monitor Sądowy i Gospodarczy. Our KRZ insolvency guide explains how to read a KRZ entry, including why an entry is not proof that the company is the debtor.

The KYB check is not AML screening. It does not cover sanctions lists, politically exposed persons or adverse media.

Branches cost money if you leave them on. With includeLocalUnits: true, a large company returns one billed row per local unit. That helps when mapping sites; for verification, turn it off.

Pricing

The Polish REGON Scraper charges per result, from $0.004 per record, with no subscription; 1,000 headquarters lookups cost about $4. Poland KYB Risk Check charges an orchestration fee from $0.048 per completed check, never for not_found or partial ones, and the REGON, CRBR and KRZ lookups it runs bill on your account at their normal rates. Its README budgets roughly $0.14 per company plus about $0.05 per beneficial owner screened. Current prices are on the REGON and KYB check Store pages.

For a one-off lookup, the free GUS and White List portals are the better choice. The actors pay off when you have a list, a schedule or a system that needs JSON.

FAQ

Can I find a Polish company’s KRS number from its NIP?

Yes. Both the White List and the REGON report give you the KRS number for companies in the court register. Sole traders have no KRS number; they are in CEIDG.

Is there a free API for Polish NIP lookups?

Yes, several. The Ministry of Finance White List API needs no key, the GUS BIR service needs a user key from GUS, and the KRS open API needs no key but only accepts a KRS number.

How do I tell if a Polish company is still active?

In REGON, look for an end-of-activity date or a removal date; if neither is present, the business is recorded as operating. For a KRS company, the KRS extract also shows whether it has been struck off. Being registered does not mean being solvent, so check KRZ too.

What is the difference between REGON and KRS?

REGON is the statistical business register kept by GUS and covers companies and sole traders. KRS is the court register of companies and other legal entities, and it is the legal source for the board, representation and shareholders.

Does a NIP lookup show the company’s owners?

No. Shareholders of a limited company are in the KRS extract, and beneficial owners are in the CRBR register. Poland KYB Risk Check returns beneficial owners together with the identity data.

Yes. REGON, the White List, KRS, CRBR and KRZ are public registers. Data about natural persons, such as sole traders or beneficial owners, is still personal data under GDPR, so use it for a defined purpose and keep only what you need.


Turn this into working data. Browse the registries and use cases, or start free on Apify.