npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-krs

v1.0.0

Published

n8n community node for KRS - Polish National Court Register (Krajowy Rejestr Sadowy) company lookup

Readme

n8n-nodes-krs

npm

n8n community node for looking up companies in the KRS (Krajowy Rejestr Sadowy / Polish National Court Register) via the public government API at api-krs.ms.gov.pl.

This node lets you retrieve current or full historical company data extracts from the official KRS registry -- no registration or API key required.

Operations

| Resource | Operation | Description | | -------- | ------------------- | ------------------------------------------------------------ | | Company | Get Current Extract | Get the current company data extract (basic info, officers) | | Company | Get Full Extract | Get the full historical extract (all sections, all changes) |

Credentials

No credentials required. The KRS API is free and public -- no registration or API key needed.

Installation

Community Nodes (recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Select Install a community node
  3. Enter n8n-nodes-krs and click Install

Manual installation

cd ~/.n8n/custom
npm install n8n-nodes-krs

Restart n8n after installation.

Usage

  1. Add the KRS node to your workflow
  2. Select the Company resource
  3. Choose an Operation: Get Current Extract or Get Full Extract
  4. Enter a KRS Number (10 digits, zero-padded, e.g., 0000019193)
  5. Optionally select a Register Type (auto-detect works in most cases):
    • Entrepreneurs (P) -- business entities
    • Associations (S) -- NGOs, foundations, associations

Notes

  • KRS Number format: Always 10 digits, zero-padded (e.g., 0000019193 for PKN Orlen).
  • JSON responses: The API returns structured JSON with company data organized in sections (dzial1-dzial6).
  • Personal data: The API anonymizes personal data (e.g., board members' PESEL numbers are masked).
  • Response structure: Data is nested under odpis.dane.dzial1 through dzial6, covering company identity, management, capital, financials, and more.
  • Rate limits: The API is public but may enforce rate limits during high traffic. Use reasonable request intervals.

Example Workflow

Below is a minimal workflow that retrieves the current KRS extract for PKN Orlen:

{
  "nodes": [
    {
      "parameters": {
        "resource": "company",
        "operation": "getCurrentExtract",
        "krsNumber": "0000019193"
      },
      "name": "KRS Lookup",
      "type": "n8n-nodes-krs.krs",
      "typeVersion": 1,
      "position": [450, 300]
    }
  ]
}

API Documentation

Full API reference: https://api-krs.ms.gov.pl/

License

MIT

Author

Michal Ploneczka ([email protected])