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-prh

v0.6.3

Published

n8n community node for the Finnish Patent and Registration Office (PRH) Digital Financial Statement (XBRL) open data API

Readme

n8n-nodes-prh

Quality Gate Status

This is an n8n community node. It lets you use all three of the Finnish Patent and Registration Office (PRH) open data APIs in your n8n workflows: Digital Financial Statement (XBRL) data, Registered Notices (company registration and public notice history), and the Finnish Business Information System (company search).

All three APIs are public and require no authentication.

n8n is a fair-code licensed workflow automation platform.

Installation Operations Credentials Compatibility Usage Data license Resources Version history

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

Financial

Access PRH's Digital Financial Statement (XBRL) data:

  • Get Financials — list the financial periods a company has filed digital statements for, given a Finnish Business ID.
  • Search All Financials — find all companies that filed a digital financial statement for a given period end date.
  • Search All Financial Statements — find all companies that filed a digital financial statement within a registration date range (data available from 1 July 2023 onward).
  • Get Financial Statement — get the full digital financial statement for a company and period, given a Business ID and the period end date. Returns the raw iXBRL XML document as a single rawXbrl field — pipe this into an XML or Code node if you need to extract specific values, since the underlying taxonomy uses coded element names rather than plain labels like "Revenue" or "Net Income."

Notification

Access PRH's Registered Notices data — company details, public notice history, and reference code lists:

  • Get — get a company's full details and public notice history by Business ID.
  • Get By Record Number — look up a specific public notice by its year and record number.
  • Search — search for companies by name, Business ID, location, company form, or registration/notification date ranges.
  • Get Description — look up what a set of PRH register codes mean (currently: Company Form and Entry Code lists), in English, Finnish, or Swedish.

Company

Access the Finnish Business Information System (BIS/YTJ):

  • Search — search for companies by name or Business ID.

Return All: every list/search operation across all three resources supports a Return All toggle. When enabled, the node automatically pages through all results and returns them as a flat list, with a short delay between pages. When disabled, you can request a specific page number.

Credentials

No authentication is required. All three PRH open data APIs used by this node are public and open.

Compatibility

Tested against n8n v1.x (Node.js 24+). No known version incompatibility issues at this time.

Usage

This node is useful for due diligence, vendor or customer credit checks, or automating financial and registration data collection for Finnish trade register entities.

Typical workflows:

  • Use Get Financials to find which periods a company has filed for, then feed a confirmed Business ID + period end date into Get Financial Statement to retrieve the full filing.
  • Use Company → Search or Notification → Search to find companies by name or location, then Notification → Get to retrieve their full public notice history.
  • Use Get Description to decode the entry codes and company form codes that appear throughout responses.

Not every Finnish company has digital financial statements on file — smaller entities in particular may return no results from the Financial resource.

Error handling: all Return All-enabled operations provide clear error messages if a rate limit is hit or a page fails, including how many results were already retrieved. Single-lookup operations (Get Financial Statement, Get, Get By Record Number, Get Description) return PRH's standard error response for failures — for example, an HTTP 400 when no financial statement exists for a given Business ID and period, which is expected for companies without digital filings.

Data license

PRH's open data — Digital Financial Statements, Registered Notices, and the Business Information System — is published under CC BY 4.0 (see also the human-readable summary). Data is digital, free of charge, and updated once daily by PRH. Attribution required when displaying or republishing the data:

Source PRH / avoindata.prh.fi, license CC BY 4.0

Per PRH's terms, services built on this data must not use the PRH or Finnish Business Information System (YTJ) logos, nor otherwise mimic PRH's own services through a similar layout.

This data is provided "as-is" without warranties of any kind, per the license terms.

This node is free and open-source. Note the following scope limitations from PRH, which apply regardless of the license:

  • Business Information System: only companies registered or pending at the Finnish Trade Register are available. Details of private traders, and companies' email addresses or phone numbers, are not included.
  • Registered Notifications: only covers notifications registered since 7 November 2014. Notifications filed by private traders are not available.
  • Digital Financial Statements: only financial statements filed using the iXBRL reporting language are available — roughly 5% of all filings. Other financial statements can be purchased via PRH's Virre Information Service. Using the financial statement details programmatically requires the SBR taxonomy.

Resources

Version history

  • 0.6.x — Added the Company resource (Finnish Business Information System API) with Search. Refactored shared pagination logic into shared/GenericFunctions.ts to remove code duplication across resources.
  • 0.5.x — Added the Notification resource (PRH Registered Notices API): Get, Get By Record Number, Search (with Return All pagination and Company Form filtering), and Get Description. Added test coverage for pagination logic.
  • 0.3.x — Replaced built-in pagination with a custom, tested pagination implementation for reliability. Added clear error messages for rate limits and request failures during Return All.
  • 0.2.0 — First functional release. Implements all four PRH Digital Financial Statement API operations: Get Financials, Search All Financials, Search All Financial Statements, and Get Financial Statement (raw XML).
  • 0.1.x — Initial scaffold and name reservation on npm.