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-gus-regon

v0.1.1

Published

n8n community node for GUS REGON - Polish government business registry (BIR API)

Downloads

119

Readme

n8n-nodes-gus-regon

npm

n8n community node for searching the Polish government business registry (GUS REGON/BIR) by NIP, REGON, or KRS number.

This node communicates with the official GUS BIR API (SOAP/XML) and returns structured company data including full reports and PKD activity codes.

Operations

| Resource | Operation | Description | | -------- | -------------- | --------------------------------------------- | | Company | Search by NIP | Search by tax identification number (NIP) | | Company | Search by REGON| Search by REGON statistical number | | Company | Search by KRS | Search by National Court Register number (KRS)| | Company | Get Full Data | Get full company report with optional PKD codes|

Credentials

This node requires an API Key from GUS.

  1. Register (free) at dane.biznes.gov.pl to get your API key
  2. In n8n, create new GUS REGON API credentials
  3. Enter your API Key
  4. Select Environment: Test or Production

Test API key (for sandbox): abcde12345abcde12345

The test environment is at wyszukiwarkaregontest.stat.gov.pl and the production environment at wyszukiwarkaregon.stat.gov.pl.

Installation

Community Nodes (recommended)

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

Manual installation

cd ~/.n8n/custom
npm install n8n-nodes-gus-regon

Restart n8n after installation.

Compatibility

Tested with n8n 1.x.

Resources

Notes

  • The GUS BIR API uses SOAP/XML. This node handles all XML encoding/decoding internally and returns clean JSON output.
  • Each API call opens a session (login), executes the operation, and closes the session (logout). This is transparent to the user.
  • The Get Full Data operation makes multiple API calls: search + full report + optionally PKD codes.
  • Polish characters in company names (e.g., special letters) are decoded correctly.

Example Workflow

Below is a minimal workflow that searches for a company by NIP:

{
  "nodes": [
    {
      "parameters": {
        "resource": "company",
        "operation": "searchByNip",
        "nip": "5261040828"
      },
      "name": "GUS REGON Lookup",
      "type": "n8n-nodes-gus-regon.gusRegon",
      "typeVersion": 1,
      "position": [450, 300]
    },
    {
      "parameters": {},
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [250, 300]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "GUS REGON Lookup",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

License

MIT