skanfirmy.pl
v1.4.0Verify Polish companies by NIP/KRS/REGON + EU VAT (VIES).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sprawdz_nip
Check VAT status (VAT White List / Biała Lista) and KRS data for a Polish company by NIP. For entities without a KRS number (sole proprietors and civil partnerships, i.e. natural persons) personal data is limited (GDPR): the address is reduced to the town (the White List does not say whether it is a business or a home address), and bank accounts to their count — check a specific account with sprawdz_rachunek; no REGON number, registration date or PKD codes are returned for them (the ceidg field is always null). The privacy field lists what was hidden. White List data for entities with a KRS…
| Parameter | Type | Description |
|---|---|---|
nip * | string | 10-digit Polish NIP (tax ID). |
sprawdz_lista_nip
Bulk-check up to 30 NIPs in one call to the Ministry of Finance VAT White List: VAT status, bank accounts, REGON, KRS number and address of each entity. For entities without a KRS number (natural persons) the address is reduced to the town and bank accounts to their count, and no REGON number or registration date is returned (GDPR) — check a specific account with sprawdz_rachunek. For verifying a portfolio of counterparties. Ministry limits: max 30 NIPs per call; the Ministry's daily query limit is shared by the whole service — when it is exhausted, the tool returns an error. Does not fetc…
| Parameter | Type | Description |
|---|---|---|
nipy * | array | List of NIPs (1 to 30). Each 10-digit with a valid checksum. Invalid NIPs are returned separately in the invalidInput field. |
sprawdz_regon
Look up entity data in the REGON register (Statistics Poland / GUS BIR) by NIP: REGON number, official name, legal form (legal or natural person), address (voivodeship, county, municipality). Covers ALL entities, including sole proprietors that are not in the KRS. For natural persons (GUS type F / LF) and civil partnerships (s.c.) only the NIP, name, entity type code (typ), form (forma: 'osoba fizyczna' / 'jednostka lokalna osoby fizycznej' / 'spółka cywilna'), town and activity status (status: active / ended) are returned — no REGON number, address, administrative units or dates (GDPR); t…
| Parameter | Type | Description |
|---|---|---|
nip * | string | 10-digit Polish NIP (tax ID). |
sprawdz_vies
Validate a counterparty's EU VAT number in the VIES system (European Commission). For Polish (PL) numbers the address is reduced to the town, because the number may belong to a natural person (GDPR).
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | Two-letter EU country code (e.g. DE, IE, FR). |
vatNumber * | string | VAT number without the country prefix. |
sprawdz_rachunek
Check whether a bank account number (NRB) appears in the VAT White List for a given NIP. Due diligence for payments above PLN 15,000.
| Parameter | Type | Description |
|---|---|---|
nip * | string | 10-digit NIP of the counterparty. |
numerRachunku * | string | 26-digit bank account number (NRB), without the PL prefix. |
generuj_mikrorachunek
Generate the individual tax micro-account (for PIT/CIT/VAT payments) from a NIP. The server does not accept PESEL (personal ID) — for a PESEL compute it locally: BBAN = "101000712221" + PESEL + "0", IBAN = "PL" + ISO 7064 mod-97 check digits + BBAN (or use skanfirmy.pl/mikrorachunek, which computes it in the browser).
| Parameter | Type | Description |
|---|---|---|
identyfikator * | string | NIP (10 digits). PESEL is not accepted by the server. |
szukaj_pkd
Search PKD 2025 business activity codes by activity name or code number.
| Parameter | Type | Description |
|---|---|---|
zapytanie * | string | Activity name (e.g. "software") or PKD code (e.g. "62.01"). |
oblicz_odsetki
Calculate statutory or commercial (B2B) late-payment interest, broken down by NBP reference-rate periods.
| Parameter | Type | Description |
|---|---|---|
dataDo * | string | Actual payment date, format YYYY-MM-DD. |
dataOd * | string | Payment due date, format YYYY-MM-DD. |
kwota * | number | Overdue amount in PLN. |
typ * | string | kc = statutory late-payment interest (Civil Code art. 481, NBP reference rate + 5.5 pp); h10 = commercial B2B transactions, non-public debtor (NBP reference rate on 1 Jan / 1 Jul + 10 pp); h8 = commer… |
szukaj_katalog_api
Search otwarteAPI.pl, a catalog of public Polish and EU APIs (VAT, KRS, GUS, NBP, ECB, Eurostat and more). Returns matching entries with a link to each API's official docs. An empty query returns the whole catalog (optionally narrowed by scope or topic).
| Parameter | Type | Description |
|---|---|---|
temat | string | Narrow to a specific catalog tag, e.g. "firmy" or "dane-statystyczne". Optional. |
zapytanie | string | Natural-language query, e.g. "euro exchange rate" or "weather data". Optional. |
zasieg | string | Narrow to Polish (PL) or EU APIs. Optional. |
observe_nip
Add a NIP to monitoring. You get notified (via changes_since or email) when its VAT status, bank account, or registry data shown on the Ministry of Finance White List (name, address, KRS, REGON) changes. For natural persons running a business (entities without a KRS number) only the VAT status and masked bank accounts are monitored (GDPR): no name, address or REGON changes. Requires a skanfirmy API key (Authorization: Bearer, or the api_key argument). Free plan: up to 10 NIPs.
| Parameter | Type | Description |
|---|---|---|
nip * | string | 10-digit NIP to monitor. |
api_key | string | skanfirmy API key (if not provided in the Authorization header). |
unobserve_nip
Stop watching a NIP — the watch is deleted right away. Requires a skanfirmy API key.
| Parameter | Type | Description |
|---|---|---|
nip * | string | 10-digit NIP to stop watching. |
api_key | string | skanfirmy API key (optional, if not in the header). |
list_observations
Return the list of NIPs you monitor, with their current VAT status and last-checked date (name is null for natural persons running a business). Each entry keeps the raw Ministry of Finance literal in status_vat and, when a status is known, adds derived language-neutral fields vat_active (boolean) and status_vat_code (active/exempt/not_registered). Requires a skanfirmy API key.
| Parameter | Type | Description |
|---|---|---|
api_key | string | skanfirmy API key (optional, if not in the header). |
changes_since
Return changes (VAT status, bank accounts, or registry data — name, address, KRS, REGON — from the White List) detected since a given date for the NIPs you monitor. The field property is one of: status_vat, account_added, account_removed, name, address, krs, regon. For natural persons (entities without a KRS number; natural_person: true) only status_vat, account_added and account_removed are returned, account numbers are masked (check digits + last 4, e.g. 61…2874) and name is null (GDPR); check a specific account with sprawdz_rachunek. A polling channel for agents. Requires a skanfirmy…
| Parameter | Type | Description |
|---|---|---|
api_key | string | skanfirmy API key (optional, if not in the header). |
since | string | ISO date/timestamp (e.g. 2026-08-01). Returns changes since that date. Defaults to the beginning. |
set_webhook
Set (or clear) a push webhook URL for your monitoring, instead of or in addition to polling. When we detect a change for a monitored NIP, we send a POST signed with HMAC-SHA256 (X-Skanfirmy-Signature header). Returns the secret ONCE. Pass an empty url to disable. Requires a skanfirmy API key. Public https addresses only (port 443).
| Parameter | Type | Description |
|---|---|---|
api_key | string | skanfirmy API key (optional, if not in the header). |
url | string | Public https URL of the receiver (empty = disable the webhook). |