Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Stock → Quote

AI-generated

Overview

This node interacts with the Finnhub.io API to fetch stock quote information based on a given stock symbol. It supports both free and premium API endpoints, allowing users to toggle premium access depending on their credentials. This node is useful for scenarios where real-time or delayed stock price data is needed, such as in financial dashboards, trading bots, or market analysis tools.

Use Case Examples

  1. Fetching the latest stock price for a specific symbol like AAPL or TSLA.
  2. Integrating real-time stock quotes into a financial report or alert system.

Properties

Name Meaning
Premium Access Toggle to use premium Finnhub endpoints based on your credential.
Symbol The stock symbol for which to fetch the quote data.
Request Options Additional request settings such as batching, SSL handling, proxy, and timeout configurations.

Output

JSON

  • symbol - The stock symbol for which the quote was requested.
  • currentPrice - The current trading price of the stock.
  • openPrice - The opening price of the stock for the trading day.
  • highPrice - The highest price of the stock during the trading day.
  • lowPrice - The lowest price of the stock during the trading day.
  • previousClose - The closing price of the stock from the previous trading day.
  • timestamp - The time at which the quote data was retrieved.

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.
  • Check the stock symbol input for correctness; invalid or unsupported symbols will result in errors or empty responses.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of the security implications.
  • Proxy settings must be correctly configured if used; incorrect proxy details can cause request failures.
  • Timeout settings should be adjusted based on network conditions to avoid premature request abortion.

Links

Discussion