Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Stock → Search

AI-generated

Overview

This node interacts with the Finnhub.io API to perform a stock search based on a query string. It allows users to search for stocks by symbol, name, ISIN, or CUSIP, optionally filtering by exchange. It supports toggling between free and premium API endpoints depending on the user's credential. This node is useful for financial applications that require real-time or historical stock data lookup, such as portfolio management, market analysis, or trading platforms.

Use Case Examples

  1. Searching for a stock by its symbol to retrieve detailed information.
  2. Filtering stock search results by a specific exchange to narrow down the dataset.

Properties

Name Meaning
Premium Access Toggle to use premium Finnhub endpoints based on your credential.
Q Query text for the stock search; can be symbol, name, ISIN, or CUSIP.
Exchange Optional filter to limit the search to a specific exchange.
Request Options Settings for batching requests, SSL certificate validation, proxy usage, and request timeout.

Output

JSON

  • symbol - The stock symbol returned from the search.
  • description - Description or name of the stock.
  • exchange - The exchange where the stock is listed.
  • type - Type of the stock or financial instrument.

Dependencies

  • Finnhub API key credential for authentication

Troubleshooting

  • Ensure the Finnhub API key credential is correctly configured and has access to premium endpoints if Premium Access is enabled.
  • If the search query (Q) is empty or invalid, the node will not return results; provide a valid symbol, name, ISIN, or CUSIP.
  • Network issues or incorrect proxy settings can cause request failures; verify proxy configuration and network connectivity.
  • Timeout errors may occur if the server is slow to respond; adjust the timeout setting in Request Options accordingly.

Links

Discussion