Yahoo Finance
The Yahoo Finance Node allows you to retrieve comprehensive financial data, news, and analytics for stocks and companies using Yahoo Finance’s public data. This is useful for building dashboards, financial analysis tools, or integrating real-time market data into your workflows.
Available Actions
1. Get Stock Ticker Data
This action retrieves detailed information about a specific stock ticker symbol. It provides not only the current price, but also company details, market analytics, and key financial metrics.
Input Parameters
symbol (required): The stock ticker symbol you want to look up (e.g.,
AAPL
for Apple,GOOGL
for Alphabet/Google,TSLA
for Tesla).
Output Fields
The output is a rich object with the following fields (all are always present, but some may be null if data is unavailable):
symbol: The stock ticker symbol.
short_name: The short name of the company.
long_name: The full name of the company.
address_first_line, city, state, zip, country, phone, website: Company contact and location details.
industry, industry_key: The industry and its key.
sector, sector_key, sector_disp: The sector and its display name.
long_business_summary: A detailed business summary.
full_time_employees: Number of full-time employees.
current_price: The current trading price.
recommendation_key: Analyst recommendation (e.g., "buy", "hold", "sell").
number_of_analyst_opinions: Number of analyst opinions.
total_cash: Total cash on hand.
trailing_pe: Trailing price-to-earnings ratio.
regular_market_change, regular_market_change_percent: Price change and percent change in the regular market session.
market_cap: Market capitalization.
dividend_yield: Dividend yield (in basis points).
volume: Trading volume.
Here’s a detailed explanation of the Yahoo Finance Analytics action, in the same format as before:
2. Analytics Action
This action retrieves summarized analytics for a specific stock ticker over a given date range. It provides statistical summaries (mean, min, max) for prices and trading volume, broken down by time segments within the selected period. This is useful for trend analysis, reporting, and visualizations.
Input Parameters
symbol (required): The stock ticker symbol to analyze (e.g.,
AAPL
,TSLA
,GOOGL
).start_date (required): The start date for the analytics period (format:
YYYY-MM-DD
, e.g.,2020-01-01
).end_date (required): The end date for the analytics period (format:
YYYY-MM-DD
, e.g.,2024-01-01
).
Output Fields
The output is an array called summary_data
, where each item represents a time segment (e.g., a week or month) and contains the following fields:
segment_start_date: Start date of the segment.
segment_end_date: End date of the segment.
closing_price_mean: Average closing price during the segment.
trading_volume_mean: Average trading volume during the segment.
opening_price_mean: Average opening price during the segment.
high_price_mean: Average high price during the segment.
low_price_mean: Average low price during the segment.
closing_price_max: Maximum closing price in the segment.
closing_price_min: Minimum closing price in the segment.
trading_volume_max: Maximum trading volume in the segment.
trading_volume_min: Minimum trading volume in the segment.
opening_price_max: Maximum opening price in the segment.
opening_price_min: Minimum opening price in the segment.
high_price_max: Maximum high price in the segment.
high_price_min: Minimum high price in the segment.
Example Use Cases
Trend Analysis
Analyze how a stock’s average closing price and volume have changed over time.
Performance Reporting
Generate weekly or monthly summaries for investor updates or dashboards.
Comparative Analytics
Compare the volatility (min/max) and average prices of different stocks over the same period.
Visualization
Use the summary data to plot price and volume trends in charts.
Example Use Cases
Stock Dashboard
Input:
AAPL
Output: Current price, market cap, business summary, and more for Apple Inc.
Financial Analysis
Use the node to pull in data for multiple tickers and compare metrics like P/E ratio, market cap, or analyst recommendations.
Company Research
Retrieve the business summary, sector, and industry for a company to include in investment reports or presentations.
Alerting and Monitoring
Combine with a scheduler node to check price changes or analyst recommendations at regular intervals and trigger notifications.
Automated Reporting
Use the output fields to generate daily or weekly financial reports for a list of companies.
How to Use in a Workflow
Add the Yahoo Finance node.
Set the
symbol
input (can be static or from an Input node).Connect the output to an Output node, LLM node, or Template node for further processing or display.
Example:
To get the current price of Tesla, set symbol
to TSLA
.
To summarize the business of Microsoft, set symbol
to MSFT
and use {action-X.long_business_summary}
in a downstream node.
Summary Table
symbol
Stock ticker symbol (e.g., AAPL)
current_price
Current trading price
market_cap
Market capitalization
recommendation_key
Analyst recommendation (buy/hold/sell)
long_business_summary
Company business summary
sector, industry
Sector and industry
...and many more
See above for full list
Last updated
Was this helpful?