Yahoo Finance API guide

finance.yahoo.com

Look up stock quotes, chart historical prices, and filter equity and ETF options chains with Yahoo Finance.

Actions and inputs

yahoo-finance quote

Look up a quote for a ticker in the browser.

Inputs ticker symbol

quote list

Retrieve quotes for several tickers at once.

Inputs ticker symbols

chart

View historical prices and trading volume for a ticker.

Inputs ticker symbol, optional interval

options-chain

View an options chain filtered by contract type, moneyness, or days to expiration.

Inputs ticker symbol, optional contract type, moneyness, maximum days to expiration

Quote watchlists

Create

Create a watchlist in your Yahoo Finance account without linking a brokerage account.

Inputs Watchlist name and optional ticker symbols

Read

View the tickers and displayed quotes in your watchlist.

Inputs Watchlist name

Update

Rename your watchlist or add and remove ticker symbols.

Inputs Watchlist name and requested changes

Delete

Delete your own watchlist without selling securities or changing brokerage records.

Inputs Watchlist name and confirmation