Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Stock → Stock Historical Market Cap

AI-generated

Overview

This node interacts with the Finnhub.io API to retrieve historical market capitalization data for a specified stock symbol over a given date range. It is useful for financial analysts, investors, and developers who need to analyze the market cap trends of companies over time. For example, a user can input a company symbol and a date range to get the historical market cap data for that period.

Use Case Examples

  1. Retrieve historical market cap for Apple Inc. (AAPL) from 2020-01-01 to 2020-12-31 to analyze its market value changes throughout the year.
  2. Fetch historical market cap data for Tesla (TSLA) to compare its growth against competitors.

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 retrieve historical market cap data for.
From The start date (YYYY-MM-DD) for the historical data range.
To The end date (YYYY-MM-DD) for the historical data range.
Request Options Additional request settings such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • symbol - The stock symbol for which the historical market cap data is retrieved.
  • from - The start date of the historical data range.
  • to - The end date of the historical data range.
  • historicalMarketCapData - An array or object containing the historical market capitalization data points for the specified date range.

Dependencies

  • Finnhub.io API
  • An API key credential for Finnhub authentication

Troubleshooting

  • Ensure the API key credential is valid and has access to the required endpoints, especially if using premium features.
  • Verify the date format for 'From' and 'To' fields is correct (YYYY-MM-DD).
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option cautiously.

Links

Discussion