Skip to main content

fetch_yahoo


Fetch Yahoo Finance

Type: fetch_yahoo • Category: flow • Tags: data, finance

Description

Fetch stock data or additional information from Yahoo Finance

Parameters

NameTypeDescriptionRequiredDefault
symbolautocompleteno
startdateStart date in ISO format (e.g., '2023-01-01')no
enddateEnd date in ISO format (e.g., '2023-12-31')no"2099-12-31"
intervalstringData intervalno
data_typestringType of data to fetchno

Help

Overview

The Yahoo Finance Fetcher worker retrieves historical market data and related information for a given ticker symbol from Yahoo Finance. It supports custom date ranges, selectable intervals, and multiple data types, making it suitable for quick data pulls or integration into larger financial analysis pipelines.

Input Parameters

  • symbol – The ticker symbol to query (e.g., AAPL). Autocomplete is enabled to help select valid symbols.
  • start – Start date for the data series, expressed in ISO‑8601 format (YYYY‑MM‑DD). Example: 2023-01-01.
  • end – End date for the data series, also in ISO‑8601 format. If omitted, the default value is 2099-12-31, effectively returning data up to the most recent available point.
  • interval – Desired granularity of the returned data. Typical values include 1d (daily), 1wk (weekly), 1mo (monthly), or finer intraday intervals such as 5m or 15m.
  • data_type – Specifies which category of information to fetch. Common options are price, dividends, splits, or metadata. The worker will return the structure appropriate to the selected type.

Minimal Example Usage

Request a daily price series for Microsoft (MSFT) from the beginning of 2022 through the end of 2022:

  • symbol: MSFT
  • start: 2022-01-01
  • end: 2022-12-31
  • interval: 1d
  • data_type: price

The worker will return a JSON payload containing the open, high, low, close, adjusted close, and volume for each trading day within the specified range.