Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Overview

The Finnhub.io node for n8n allows users to interact with the Finnhub financial data API. Specifically, when using the Stock resource and the Company Profile [PREMIUM] operation, this node retrieves detailed company profile information for a given stock symbol. This is particularly useful for workflows that require up-to-date company data, such as automating investment research, enriching CRM records, or building dashboards with company fundamentals.

Example scenarios:

  • Automatically fetching company profiles for a list of stock symbols.
  • Enriching lead or account data in a CRM with company details.
  • Integrating real-time company information into custom analytics pipelines.

Properties

Name Type Meaning
Symbol String The stock ticker symbol used to identify the company (e.g., "AAPL" for Apple Inc.).
Premium Boolean Indicates whether you have a Premium Subscription for Finnhub.io, unlocking premium data.

Output

The output will be a JSON object containing the company profile information for the specified stock symbol. The structure typically includes fields such as:

{
  "country": "US",
  "currency": "USD",
  "exchange": "NASDAQ",
  "ipo": "1980-12-12",
  "marketCapitalization": 2235173,
  "name": "Apple Inc",
  "phone": "14089961010",
  "shareOutstanding": 4375.47998046875,
  "ticker": "AAPL",
  "weburl": "https://www.apple.com/",
  "logo": "https://static.finnhub.io/logo/2b6c4a7d-apple.png",
  "finnhubIndustry": "Technology"
}

Note: The actual fields may vary depending on your subscription level and the company's available data.

Dependencies

  • Finnhub.io API Key: You must provide valid Finnhub credentials in n8n.
  • Premium Subscription: To access premium company profile data, ensure your Finnhub account has the required subscription.

Troubleshooting

  • Invalid API Key: If your API key is missing or incorrect, you may receive authentication errors. Ensure your Finnhub credentials are correctly configured in n8n.
  • Insufficient Permissions: Attempting to access premium data without a premium subscription will result in an error or limited data. Check your Finnhub subscription status.
  • Invalid Symbol: Providing an incorrect or unsupported stock symbol will return an error or empty result. Double-check the symbol format (e.g., "AAPL").
  • API Rate Limits: Exceeding Finnhub's rate limits can cause requests to fail. Monitor your usage and upgrade your plan if necessary.

Links and References

Discussion