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

v1.0.4

Published

n8n node to consume the finnhub.io REST API

Readme

Component palette with Finnhub Node

n8n is a fair-code licensed workflow automation platform.

Features

  • Covers 90+ Finnhub REST endpoints grouped by resource (stocks, ETFs, funds, forex, crypto, technical analysis, enterprise, institutional, economic, and alternative data).
  • Premium toggle surfaces additional paid endpoints only when your credential allows it.
  • Generated operations automatically include argument descriptions straight from Finnhub docs.
  • Ships with build, lint, and test scripts to keep the node production-ready.

Installation
Credentials
Compatibility
Usage
Operations
Resources
Development
Version history

Installation

Follow the community node installation guide in the n8n documentation.

Credentials

  1. Create an account and API token in the Finnhub dashboard.
  2. In n8n, add a new Finnhub.io API credential and paste the token into the Token field.
  3. Enable the Premium Access checkbox if your subscription unlocks premium endpoints. The node exposes the premium-only resources and operations automatically when this flag (or the credential) is set.

Tip: You can keep two credentials—one with a sandbox token and one with a live token—to switch between environments quickly.

Compatibility

  • n8n: v1.x
  • Node.js for local builds: 18+ (tested with 18, 20, 22)

Usage

  1. Drop the Finnhub.io node into your workflow.
  2. Select the credential you created earlier. The node prefills the Premium Access toggle based on the credential setting.
  3. Choose a Resource, then pick an Operation. Field names and descriptions come directly from the Finnhub API and match the official documentation.
  4. Provide any required parameters. Optional parameters can be left empty and are excluded from the request automatically.

Component palette with Finnhub Node

Node options in workflow

Operations

Every REST route defined in nodes/Finnhub/route-definitions.json is available in the node. Resources are grouped to mirror the Finnhub documentation:

  • Stock: Symbol search, quotes, profiles, filings, transcripts, market status, calendars, alternative metrics, and 30+ premium analytics such as ESG, supply chain, valuations, corporate actions, and similarity indexes.
  • ETF & Mutual Fund: Holdings, profiles, country/sector allocation; premium access adds EET/Pai disclosures and segmentation.
  • Index: Current and historical constituents, including premium-only datasets.
  • Bond: Yield curves, tick data, price snapshots, and profiles (premium).
  • Forex & Crypto: Exchange and symbol directories, candles, and premium rate/profile endpoints.
  • Technical Analysis: Pattern scans, technical indicator screens, and indicator calculations (premium).
  • Institutional & Enterprise Data: Ownership, portfolios, bank branches, global filings search/download, AI chat, and more.
  • Economic & Alternative Data: Country codes, macroeconomic indicators, and the FDA advisory calendar.

Premium-only endpoints are clearly marked inside n8n. Disable Premium Access to limit the operation list to free APIs.

Resources

Development

Local development and contributions:

  • Requirements

    • Node.js 18+ and npm
    • TypeScript 5, ESLint 8, Prettier 3 (installed as devDependencies)
  • Helpful scripts

    • npm run build – compiles TypeScript and copies icons with Gulp 5
    • npm run dev – TypeScript watch mode for rapid iteration
    • npm run lint – validates code with ESLint and n8n node rules
    • npm run lintfix – same as above with automatic fixes
    • npm run format – formats source files with Prettier
    • npm run test – builds the project and executes Node.js test suites
  • Notes

    • ESLint replaces the deprecated TSLint setup.
    • TypeScript uses skipLibCheck to avoid noise from third-party typings.
    • Security-sensitive sub-dependencies (for example, axios, form-data) are pinned via package.json overrides.

Version history

  • 0.2.0
    • Dependencies bumped (TypeScript 5, Prettier 3, ESLint; removed TSLint)
    • Updated to n8n v1.x APIs and adjusted node inputs/outputs
    • Migrated Gulp to v5
    • Added security overrides for axios and form-data
    • Documented development setup and usage guidance