Back to the blog

The End of KRS Scraping. Four Lawful Channels for Accessing Registry Data for Your System.

Compare four ways to access Poland’s KRS data, their limits and the checks to make before replacing scraping in a contractor verification product.

One day, the integration with the National Court Register (KRS) stopped working. The team diagnosed an IP address block and began looking for another hosting provider. That diagnosis was wrong — the block was not a fault to be circumvented, but an enforcement of the legal framework. The right question was not “how do we connect?”, but “what is our legal basis for obtaining this data in the first place?”.

If your product pulls data from the National Court Register — for contractor verification, customer onboarding, automatic completion based on a Tax Identification Number (NIP), or KYC procedures — this article is for you. Scraping the KRS is no longer an option. Changing hosting providers, using a proxy, or obtaining a new pool of addresses — none of these solutions changes the legal assessment. Only choosing the right access channel does.

Below you will find four lawful channels for accessing registry data, their actual limits, a test for determining the boundary of targeted retrieval, four questions to ask a data intermediary, and a checklist to use before changing channels. You will also learn why the simplest solution is sometimes to stop using PESEL numbers rather than fight for access to them.

Key terms used in this article

Before we move on to the specifics, it is worth clarifying the terminology. The following terms appear repeatedly throughout the article — I explain them once so that you do not have to look back.

Term Meaning
Open KRS API A free programming interface provided by the Court Registers Portal. It returns data corresponding to current and full register extracts, but masks individuals’ data (first names, surnames, PESEL numbers)
KRS web services An access channel for complete, unmasked data — requires a decision by the Minister of Justice (Article 4(4c) of the National Court Register Act). Available to public entities and entities performing public tasks
Scraping Automated retrieval of data from the registry’s web search engine or bulk downloading and parsing of PDF extracts. It is not a lawful access channel within the meaning of the Act
Data minimisation principle Article 5(1)(c) of the GDPR — personal data must be limited to what is necessary for the purposes of processing. If a date of birth is sufficient to distinguish between individuals, a PESEL number is excessive
Registry data intermediary A commercial API provider that aggregates data from public registers and makes it available on a subscription basis. It does not have its own data source — it uses the same open channels
Data Act (Chapter VI) Regulation (EU) 2023/2854 — applicable from 12 September 2025. It requires SaaS providers to allow customers to export and transfer their data after terminating a contract

Why scraping the KRS is no longer an option

The register is public — Article 8 of the National Court Register Act gives everyone the right to access its data. However, public availability means a right to inspect the data, not a licence for bulk extraction. The method used to obtain the data is assessed separately from the right to read it.

An IP block is not a network fault

Blocking a pool of IP addresses on the registry’s firewall is a way of enforcing the terms governing free access. Changing hosting providers, using a proxy, or obtaining a new pool of addresses does not solve the legal problem — it merely postpones it.

“We download the PDF and parse it locally” — this does not change the assessment

The proposed workaround looks like this: instead of scraping the search engine, you download a PDF extract and extract the data on your own drive. However, the activity being assessed is the bulk, automated downloading of extracts — not the moment when the data is extracted from the file. Moving a technical step elsewhere does not change the legal classification.

What is excluded from free access

Three classic examples of operations that go beyond free access:

  1. Building your own business register
  2. Obtaining a database for marketing communications
  3. Reselling registry data

If your product does anything similar to the above — change your data supply channel.

Four lawful channels for accessing KRS data

Each channel offers a different scope of data, has different restrictions, and involves a different access procedure. The comparison below will help you assess which one suits your product model.

Channel Scope of data Individuals’ data Formal requirements Intended users
1. Open KRS API Current and full extracts, list of entities with entries made on a given day Masked — a string with obscured characters instead of a first name and surname, no PESEL number None — free access Any entity
2. KRS web services Complete, unmasked data First name, surname, PESEL number — unmasked Decision by the Minister of Justice (Article 4(4c)) Public entities and entities performing public tasks
3. Commercial intermediary Depends on the pricing plan — usually company data, with date of birth available as an option in higher-tier plans No PESEL number (if the intermediary uses open channels) Agreement with the intermediary, due diligence on the data source Commercial businesses
4. Alternative registers Company data (REGON), tax status (VAT whitelist), beneficial owners (CRBR) CRBR: beneficial owner’s first name, surname, PESEL number or date of birth API key (REGON), query limits (VAT whitelist: max. 100/day) Hybrid architecture

(National Court Register – Court Registers Portal) | (Open KRS API – Court Registers Portal)

Channel 1: the open KRS API — what you get and what you do not

The open API was launched in 2022 under open data regulations (Launch of the open KRS API – Ministry of Justice). It returns data corresponding to current and full extracts (including deleted data), as well as a list of entities with entries made on a specified date.

Limitation: individuals’ data is anonymised. Instead of a first name and surname, the API returns a string with obscured characters. It does not return PESEL numbers at all.

For a contractor verification product, this means that the open API is suitable for retrieving company data (name, NIP, address, legal form, status), but does not allow a specific representative to be matched by first name and surname.

Channel 2: web services — complete data, but not for everyone

Complete, unmasked personal data (first name, surname, PESEL number) is available exclusively through the web services channel — on the basis of a decision by the Minister of Justice issued under Article 4(4c) of the National Court Register Act (National Court Register Act – consolidated text in ISAP).

The decision is addressed to a specified entity and covers the scope necessary to perform its statutory tasks. In the case described here, the application was rejected after approximately two months of review — meaning that an interim solution had to be planned for the duration of the administrative court proceedings.

What you should know when submitting an application:

  1. Describe the intended commercial use of the system — do not make it narrower than the actual use. A declaration of “exclusively case-by-case retrieval” that is inconsistent with the periodic verification of several thousand contractors creates an audit issue
  2. Draft the declaration regarding the retrieval method so that it remains accurate for the usage model of your largest customer
  3. Plan an interim solution for the duration of the proceedings — a refusal may be appealed to the Provincial Administrative Court (Articles 3 § 2(1) and 53 § 1 of the Law on Proceedings Before Administrative Courts)
  4. There is no confirmed case law from the Provincial Administrative Courts concerning the interpretation of an “entity performing public tasks” in the context of Article 4(4c) — this remains an open legal gap

An additional risk: an IT provider’s use of access formally granted to its customer (an obliged entity) may be regarded as use by an unauthorised entity — particularly where the provider independently initiates queries or stores data (2017 Regulation of the Minister of Justice – ISAP).

Channel 3: commercial intermediary — due diligence before purchasing

A commercial intermediary without a decision from the Minister uses the same open channels as everyone else. A claim that PESEL numbers are provided while simultaneously confirming that only open channels are used is internally inconsistent — the open API does not return PESEL numbers.

Before signing an agreement with an intermediary, send them four questions:

No. Question What to look out for
1 Which channel do you use — the open API or web services accessed under a decision by the Minister? If it is the open API — the provider cannot have unmasked personal data
2 What is the exact scope of data covered by your API? Compare it with the marketing claims — any discrepancy is a warning sign
3 How frequently is the data updated, and how far does it lag behind the register? A claim of “hourly updates” when using the open API — something to verify
4 On what legal basis and in what capacity do you process personal data? Establish whether the intermediary is a controller or processor — and check the terms and conditions for a prohibition on resale

Keep the answers as evidence that you exercised due diligence.

Market example: one intermediary candidly stated that its API did not provide PESEL numbers and offered dates of birth only under a higher-tier pricing plan. Another claimed to provide complete personal data including PESEL numbers while also confirming that it used only the open API — an internally inconsistent answer that ends the conversation.

The terms and conditions of one intermediary (AnalizaFirm) confirm the following: a non-exclusive and non-transferable licence, a prohibition on reselling data as a product, and a prohibition on making it publicly available in a way that enables bulk downloading (AnalizaFirm Terms and Conditions).

When purchasing data from an intermediary, you also purchase its legal problem. Knowingly entering a chain in which the origin of personal data has not been established creates a risk that cannot be transferred to the seller — under the GDPR, responsibility remains with the controller using the data.

Channel 4: alternative registers — hybrid architecture

None of the alternative registers can replace the KRS in relation to representation rules and authority to act. However, they can complement your data supply architecture:

Register What it provides Limits Legal basis
REGON API Company data based on NIP/REGON Requires a user key from Statistics Poland; query limits to be verified Public Statistics Act
VAT whitelist Tax status, bank account numbers Max. 100 queries per day, up to 30 entities in a single query VAT Act
CRBR Beneficial owners: first name, surname, PESEL number or date of birth, nature of ownership Data provided within 5 minutes (current status) AML Act

(VAT taxpayer whitelist – National Revenue Administration) | (CRBR – information search)

Recommendation: retrieve company data from an open register (REGON, VAT whitelist), and representation data from a channel that provides a genuinely available scope of information (open KRS API + an intermediary with a verified source). CRBR data includes beneficial owners’ personal data — its commercial processing requires a separate GDPR compliance assessment.

Contact us

Where the boundary of targeted retrieval lies

One query about one entity in connection with a specific business relationship constitutes targeted retrieval. Several hundred queued queries concerning the genuine contractors of a particular user can also be defended.

Refreshing data on several thousand entities every month “just in case”, regardless of the status of the relationship, comes close to building your own register. That is no longer targeted retrieval.

How to assess this in your product

Estimate the actual scale of registry queries: number of entities × frequency × number of customers. Compare the result with the declaration in your documentation — if you declare “case-by-case retrieval”, but the usage model of your largest customer involves periodically verifying several thousand contractors, that declaration is no longer true.

Scenario Assessment
Querying a contractor when adding it to the system Targeted retrieval — defensible
200 queued queries concerning one customer’s genuine contractors Targeted retrieval — defensible
Refreshing data on 5,000 entities every month regardless of an active relationship Approaching bulk extraction — risk
Downloading all entries from a given day every day and building a local copy of the register Building your own register — outside the scope of free access

Do you really need a PESEL number?

This is a question worth asking before fighting for access to the full API. The data minimisation principle under Article 5(1)(c) of the GDPR is clear: personal data must be limited to what is necessary for the purposes of processing. Recital 20 of the Data Act confirms that even new data-sharing obligations do not override this principle (Data Act – Polish text on EUR-Lex).

Run a test on your own database

Count how many pairs of people in your contractor database have identical first names and surnames. Then check how many of these cases could not be resolved by using their dates of birth. If the result is only a few cases out of tens of thousands — the PESEL number is excessive data.

Article 11 of the GDPR reinforces this argument: if the purposes of processing do not require the identification of a person, the controller is not obliged to obtain additional identifying data solely in order to comply with data protection legislation.

Exception: AML requirements

Article 34(1)(1) and (2) and Article 36(1) of the Act on Counteracting Money Laundering and Terrorist Financing (consolidated text, Journal of Laws of 2025, item 644) require the following information for a person representing a customer that is a legal person: first name, surname, and PESEL number — or, if no PESEL number has been assigned, date of birth and country of birth (AML Act – consolidated text).

A date of birth alone does not replace a PESEL number if that number has been assigned. If your customer is an obliged entity carrying out KYC procedures — it needs the PESEL number by law, not by your choice.

Your customer Is a PESEL number required? Basis
Obliged entity (AML) — verification of a representative Yes, if a PESEL number has been assigned Article 36(1) of the AML Act
Commercial business — contractor verification No, if the date of birth is sufficient to distinguish between individuals Article 5(1)(c) of the GDPR
Accounting firm — customer identification Depends on the basis — check whether the law requires a PESEL number Separate assessment

For most contractor verification SaaS products, abandoning PESEL numbers and introducing a procedure for handling exceptions (the few cases where first names and surnames coincide) is a simpler and safer solution than fighting for access to the full API.

GDPR obligations of the system provider

Changing the data supply channel does not settle the matter. Retrieving the data of company representatives from the register triggers separate obligations under the GDPR.

Information obligation under Article 14

When your system obtains individuals’ data from a register rather than directly from them, the information obligation under Article 14 of the GDPR arises. Article 12(1) of the GDPR specifies that the information must be provided in a concise, transparent, and intelligible form.

Possible exemption: Article 14(5)(c) of the GDPR provides for an exception where the obtaining of data is expressly laid down by law. Whether this applies to KRS data requires a separate determination for your specific scenario.

Legal basis for processing — two separate determinations

  1. Processing on behalf of the customer (an obliged entity fulfilling a statutory obligation) — the legal basis is Article 6(1)(c) of the GDPR
  2. The system provider’s own processing — requires a separate legal basis, most commonly Article 6(1)(f) of the GDPR (legitimate interests), supported by a full legitimate interest assessment

Right to erasure — exception for legal obligations

Article 17(3)(b) of the GDPR excludes the right to erasure where processing is necessary for compliance with a legal obligation or for the performance of a task carried out in the public interest. If data was obtained from the register for verification required under the AML Act, an erasure request from a company representative does not necessarily have to be fulfilled automatically.

Connecting a language model — a separate issue

If you plan to connect an external language model to a system containing identification data, address data, and information about beneficial owners — this constitutes the engagement of a sub-processor within the meaning of Article 28(2) and (4) of the GDPR.

The argument that “the risk is negligible, just as with ordinary office tools” concerns the level of risk, not compliance with formal obligations. The obligations remain the same regardless of the risk assessment:

  1. Conduct a risk assessment for this specific dataset
  2. Enter into a sub-processing agreement that is no less stringent than the main agreement
  3. Obtain the controllers’ (customers’) consent — in accordance with the notification and objection procedure set out in the data processing agreement
  4. Establish a legal basis for transfers outside the EEA (Articles 44-46 of the GDPR) if the model provider processes data outside the European Economic Area

Data Act — a product feature, not a clause in the terms and conditions

Chapter VI of Regulation (EU) 2023/2854 (the Data Act) applies from 12 September 2025 (Data Act – EUR-Lex EN). It covers providers of “data processing services” within the meaning of Article 2(8) — including SaaS providers (Recital 81). What matters is whether the definition is met, not how the product is commercially described.

The obligations under Chapter VI (including Articles 23, 25, 29, 30, and 34) concern switching providers, data exports, and portability. Recital 35 of the Data Act explains that the regulation requires the technical capability to access and transfer data — a declaration in the terms and conditions is not enough.

For your product, this means a specific feature that must be built: exporting the customer’s complete dataset within a specified period after the contract is terminated. Plan it in your roadmap as a product feature, not as a legal clause.

Checklist before changing your data supply channel

The following list sets out the steps from audit to implementation. The order matters — each step is based on the results of the previous one.

No. Action Priority
1 Take an inventory of the registry fields used by the system — separately identify fields used solely to distinguish individuals with matching details Immediately
2 Calculate first-name and surname collisions in your own database — check how many can be resolved using dates of birth Immediately
3 Estimate the actual query volume: entities × frequency × customers — compare it with the declaration in your documentation Immediately
4 Disable search engine scraping and bulk PDF downloads — do not try to circumvent the block by using another hosting provider Immediately
5 Send the four questions to the intermediaries you are considering — keep their answers Immediately
6 Compare the intermediary’s declaration about its source with its declaration about the scope of data — any inconsistency ends the conversation Immediately
7 Establish the intermediary’s role (controller / processor) and review its terms and conditions Immediately
8 List the non-standard cases supported by your system (court-appointed supervisor, liquidator, commercial proxy, branch, insolvency) — check each one in the documentation for the new channel Immediately
9 Where the channel does not support a particular case, implement a discrepancy alert instead of silently returning no result Immediately
10 Determine the legal basis for processing separately for the customer and for yourself as the provider Immediately
11 Check which data can be obtained from alternative registers — build a hybrid architecture Within one month
12 Before connecting a language model — risk assessment, sub-processing agreement, controllers’ consent, transfer outside the EEA Before implementation
13 Verify whether the product meets the data portability obligations under Chapter VI of the Data Act Within one month

Item 8 deserves particular attention. After changing channels, the system may no longer support entities without a standard form of representation — a court-appointed supervisor, liquidator, or administrator. A discrepancy alert without personal data is better than silent, false confirmation of compliance. A system that returns no result instead of a warning gives the user a false impression that the verification was completed correctly.

How we can help you

Changing the data supply channel is not a matter of replacing one endpoint with another. It requires a review of the product’s data layer — from taking an inventory of fields and conducting a minimisation test to performing due diligence on an intermediary and mapping Data Act obligations onto the roadmap.

We help SaaS providers and technology companies organise this process:

  1. Audit of the fields used and a minimisation test — we determine which data is necessary and which is excessive within the meaning of Article 5(1)(c) of the GDPR
  2. Selection of a registry data access channel — we compare the options, taking account of your product’s scale, frequency, and usage model
  3. Due diligence on the data intermediary — a ready-made set of questions, an assessment of the answers, and verification that the declarations regarding the source and scope of data are consistent
  4. Preparation of an application for access to web services — and an appeal following a refusal, with an interim solution for the duration of the proceedings
  5. Sub-processing agreements for AI models — risk assessment, controller consent procedure, and legal basis for transfers outside the EEA
  6. Mapping Data Act obligations onto the product roadmap — customer data export as a feature, not a clause

If your product retrieves KRS data and you want to put the legal aspects of its data supply in order — contact us.

Put your data supply in order before someone else does it for you

Scraping the KRS is no longer an option. An IP block is not a fault — it is a signal that your product’s data supply architecture needs to be reviewed. The four lawful access channels have real limitations, but they can be combined into a coherent hybrid architecture. The simplest solution is sometimes to stop using PESEL numbers and introduce a procedure for handling exceptions — rather than fight for access that you may never obtain.

Take an inventory of the fields, estimate the volume of queries, and send the four questions to the intermediary. If you need support with auditing the data layer, choosing a channel, or preparing an application for web services — contact us.

Frequently asked questions

If I move the scraper to another hosting provider or connect it through a proxy, does the problem go away?
No. Blocking IP addresses on the registry’s firewall is a way of enforcing the terms governing free access — not a network fault. Changing hosting providers, using a proxy, or obtaining a new pool of addresses postpones the problem but does not change the legal assessment. The activity being assessed is the bulk, automated retrieval of data, not the IP address from which you retrieve it.

How many queries per day are safe — where is the boundary of targeted retrieval?
There is no single numerical threshold. One query about one entity in connection with a specific business relationship constitutes targeted retrieval. Several hundred queued queries concerning the genuine contractors of a particular user can also be defended. Refreshing data on several thousand entities every month regardless of the status of the relationship comes close to building your own register. Assess the scale using your own database: entities × frequency × customers — and compare the result with the declaration in your documentation.

When I purchase data from an intermediary, do I also purchase its legal problem?
Yes. Under the GDPR, responsibility remains with the controller using the data. It cannot be transferred to the seller through a contractual provision. If an intermediary claims to provide PESEL numbers but uses only open channels (which do not return PESEL numbers), you are entering a chain in which the origin of the personal data has not been established. Therefore, before purchasing, send the intermediary the four questions described in this article and keep the answers as evidence that you exercised due diligence.

Will a date of birth instead of a PESEL number be sufficient for my customer in a regulated industry?
It depends on the legislation. Article 36(1) of the AML Act requires a PESEL number for a person representing a customer — or, if no PESEL number has been assigned, the date and country of birth. A date of birth alone does not replace a PESEL number if that number has been assigned. For customers outside regulated industries — if a date of birth is sufficient to distinguish individuals with matching details, the PESEL number is excessive under the data minimisation principle (Article 5(1)(c) of the GDPR).

Does the Data Act require me to add a new feature to the product, or is updating the terms and conditions enough?
It requires a feature. Chapter VI of Regulation (EU) 2023/2854 applies from 12 September 2025 and requires the technical capability to export and transfer a customer’s data after the contract is terminated. Recital 35 of the Data Act explains that this means a genuine technical capability — a declaration in the terms and conditions does not satisfy the requirement. Plan the export of the customer’s complete dataset as an item on the product roadmap.

Do I have to inform thousands of company representatives that I process their data from the register?
When you obtain individuals’ data from a register rather than directly from them, the information obligation under Article 14 of the GDPR generally arises. Article 14(5)(c) provides for a possible exemption where the obtaining of data is expressly laid down by law — but whether it applies to your particular scenario requires a separate assessment. Do not automatically assume that the exemption applies to you — and do not assume that you must send notifications to every representative before checking.

Related services

How we can help

RECOMMENDED

You may also be interested in

Selected examples of projects in which we supported businesses on legal matters, from regulatory and compliance advice to technology projects, transactions and day-to-day business support.