Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Stock → News

AI-generated

Overview

This node interacts with the Finnhub.io API to fetch stock-related news based on specified categories and optional filters. It supports both free and premium access to Finnhub endpoints, allowing users to retrieve news in categories such as general, forex, crypto, and merger. This node is useful for financial analysts, traders, and developers who want to integrate real-time or recent stock news into their workflows or applications.

Use Case Examples

  1. A trader wants to get the latest crypto news to make informed trading decisions.
  2. A financial analyst needs to monitor merger news to assess market impacts.
  3. A developer integrates stock news into a dashboard to provide users with up-to-date market information.

Properties

Name Meaning
Premium Access Toggle to use premium Finnhub endpoints based on the user's credential.
Category The category of news to fetch, such as general, forex, crypto, or merger.
Min Id Optional filter to get only news items with an ID greater than this value, defaulting to 0 if not specified.
Request Options Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • news - Array of news items fetched from the Finnhub API, each containing details such as headline, category, source, datetime, and related stock symbols.

Dependencies

  • Finnhub API key credential for authentication

Troubleshooting

  • Ensure the Finnhub API key credential is correctly configured and has the necessary permissions for premium endpoints if 'Premium Access' is enabled.
  • If no news is returned, verify that the 'Category' parameter is set correctly and that the 'Min Id' filter is not excluding all results.
  • Timeout errors may occur if the server is slow or network issues exist; adjust the 'Timeout' setting or check network connectivity.
  • If SSL certificate validation fails and you trust the source, enable 'Ignore SSL Issues' to bypass this check.

Links

Discussion