Actions51
- Mutual Fund Actions
- Alternative Data Actions
- Crypto Actions
- Economic Data Actions
- Enterprise Data Actions
- ETF Actions
- Forex Actions
- Index Actions
- Stock Actions
- Calendar Earnings
- Calendar Ipo
- Company News
- News
- Quote
- Search
- Stock Dividend 2
- Stock Earnings
- Stock Earnings Call Live
- Stock Filings
- Stock Financials Reported
- Stock Historical Employee Count
- Stock Historical Market Cap
- Stock Insider Sentiment
- Stock Insider Transactions
- Stock International Filings
- Stock Lobbying
- Stock Market Holiday
- Stock Market Status
- Stock Metric
- Stock Peers
- Stock Presentation
- Stock Price Target
- Stock Profile 2
- Stock Recommendation
- Stock Revenue Breakdown
- Stock Revenue Breakdown 2
- Stock Social Sentiment
- Stock Split
- Stock Symbol
- Stock Transcripts
- Stock Transcripts List
- Stock Usa Spending
- Stock Uspto Patent
- Stock Visa Application
Stock → Stock Metric
AI-generatedOverview
This node interacts with the Finnhub.io API to retrieve specific stock metrics for a given company symbol. It supports both free and premium API endpoints, allowing users to toggle premium access based on their credentials. Common use cases include fetching financial metrics like price-to-earnings ratio, market capitalization, or other stock-related data for analysis or integration into workflows.
Use Case Examples
- Fetch the price-to-earnings ratio for Apple Inc. (AAPL) to analyze its valuation.
- Retrieve market capitalization data for a list of stock symbols to monitor portfolio value.
Properties
| Name | Meaning |
|---|---|
| Premium Access | Toggle to use premium Finnhub API endpoints based on the user's credential. |
| Symbol | The stock symbol of the company to query, e.g., AAPL for Apple Inc. |
| Metric | The specific stock metric to retrieve from Finnhub.io, such as financial ratios or other stock data. |
| Request Options | Settings to control request behavior, including batching, SSL certificate validation, proxy usage, and timeout duration. |
Output
JSON
metric- The requested stock metric value or data returned from the Finnhub API.symbol- The stock symbol for which the metric was retrieved.timestamp- The time at which the metric data was recorded or retrieved.
Dependencies
- Finnhub.io API
- An API key credential for Finnhub.io
Troubleshooting
- Ensure the API key credential is valid and has the necessary permissions for premium endpoints if premium access is enabled.
- Verify the stock symbol is correct and supported by Finnhub.io to avoid empty or error responses.
- Check network settings if using a proxy or if SSL certificate validation is disabled, as misconfiguration can cause request failures.
- Adjust timeout settings if requests frequently time out due to slow network or server response.
Links
- Finnhub API Documentation - Official documentation for Finnhub.io API endpoints and usage.