Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Overview

The Dividends 2 (Basic) [PREMIUM] operation under the Stock resource in this custom n8n node allows users to retrieve dividend information for a specified stock symbol using the Finnhub.io API. This is particularly useful for financial analysts, investors, or anyone needing up-to-date dividend data for stocks. For example, you could use this node to automate the collection of dividend histories for portfolio analysis or reporting.

Properties

Name Type Meaning
Symbol String The stock ticker symbol to search for (e.g., "AAPL"). Used to specify the company.
Premium Boolean Indicates whether you have a Premium Subscription for Finnhub.io, which may affect access to premium endpoints or data.

Output

  • The output will be a JSON object containing dividend information for the specified stock symbol.
  • Typical fields may include: ex-dividend date, payment date, amount, and other related dividend details as provided by Finnhub.io.
  • No binary data is produced by this operation.

Dependencies

  • Finnhub.io API Key: You must provide valid Finnhub credentials in n8n.
  • Premium Subscription: Accessing this specific operation ([PREMIUM]) may require a premium Finnhub.io subscription.
  • n8n Configuration: Ensure the Finnhub credential is set up in your n8n instance.

Troubleshooting

  • Invalid API Key: If your API key is missing or incorrect, you may receive authentication errors. Double-check your Finnhub credentials in n8n.
  • Insufficient Permissions: Attempting to access premium data without a premium subscription may result in authorization errors or limited data.
  • Invalid Symbol: Providing an incorrect or unsupported stock symbol will likely return empty results or an error message from the API.
  • API Rate Limits: Exceeding Finnhub's rate limits can cause temporary blocks; monitor your usage if making frequent requests.

Links and References

Discussion