Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Stock → Stock Peers

AI-generated

Overview

This node interacts with the Finnhub.io API to retrieve stock peer information based on a given company symbol. It supports both free and premium access to the API, allowing users to specify whether to use premium endpoints. The node is useful for financial analysis, competitive benchmarking, or market research by identifying peer companies in the same sector, industry, or sub-industry as the specified stock symbol.

Use Case Examples

  1. A user wants to find peer companies of Apple Inc. (AAPL) to analyze competitors in the same sub-industry.
  2. A financial analyst uses the node to group peer stocks by sector to understand market trends.

Properties

Name Meaning
Premium Access Toggle to use premium Finnhub endpoints based on the user's credential.
Symbol The stock symbol of the company to find peers for, e.g., AAPL.
Grouping Criteria to group peer companies by sector, industry, or sub-industry. Defaults to sub-industry if not specified.
Request Options Settings for request batching, SSL certificate validation, proxy usage, and request timeout.

Output

JSON

  • peers - List of peer stock symbols related to the specified company symbol.

Dependencies

  • Finnhub.io API
  • API key credential for authentication

Troubleshooting

  • Ensure the API key credential is valid and has appropriate access rights, especially for premium endpoints.
  • Check that the stock symbol provided is correct and exists in the Finnhub database.
  • If using proxy or ignoring SSL issues, verify network and security settings to avoid connection errors.
  • Timeout errors may occur if the server is slow or network issues exist; consider increasing the timeout setting.

Links

Discussion