Yahoo Finance API
Read Yahoo Finance quotes, price history, financial statements, earnings, statistics, institutional holdings, analyst ratings, options chains and news by ticker, plus preset market lists, as JSON with one EveryInfra API key, from $1.39 per 1,000 calls.
All you need is one API key, no Yahoo account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.
- 10 endpoints, one key.
- Failed calls and empty results are not charged.
- The data is for research. It is not investment advice.
Real sample values for one ticker
POST /api/v1/social params {"keyword":"AAPL"}
Platform availability
- 24h health
- Normal
Last 30 days
Available capabilities
Retrieve Yahoo Finance market quotes, historical prices, financial statements, analyst ratings, options chains, and news.
Provide ticker symbols with market suffixes. Long periods can limit intraday history intervals.
Quotes and prices
- SearchNormal
Look up stocks and other instruments on Yahoo Finance by ticker.
search$1.39 per 1,000 callsEach element in tickers counts as one call - Historical pricesNormal
Pull price history for one Yahoo Finance ticker: date, open, high, low, close, volume, dividends and stock splits.
history$1.39 per 1,000 calls - TrendingNormal
Get up to 200 movers from a preset Yahoo Finance list, day gainers by default.
trending$1.39 per 1,000 callsEvery 10 rows count as one call
Financials and earnings
- Financial statementsNormal
Get the income statement, balance sheet, cash flow and quarterly income for one Yahoo Finance ticker.
financials$1.39 per 1,000 calls - Earnings and EPSNormal
Get earnings per share by quarter for one US-listed ticker on Yahoo Finance: the analyst estimate, the reported figure and the surprise for past quarters, plus the estimate for the quarter ahead.
earnings$8 per 1,000 calls - Key statisticsNormal
Read the Statistics page of one US-listed ticker on Yahoo Finance, grouped into sections such as valuation, ratios, shares, margins and dividends.
statistics$8 per 1,000 calls
Ratings, holdings and news
- Analyst ratingsNormal
See how analysts rate a stock on Yahoo Finance: the recommendation distribution over time and the history of upgrades and downgrades.
analyst$1.39 per 1,000 calls - Institutional holdingsNormal
See how much of a US-listed stock institutions own, from one ticker in
keyword.institutional_holdings$8 per 1,000 calls - NewsNormal
Track recent news for a Yahoo Finance ticker.
news$1.39 per 1,000 calls
Options
- Options chainsNormal
Scan the options chain for one Yahoo Finance ticker, with calls and puts showing strike, last price, bid, ask, volume, open interest and implied volatility.
options$1.39 per 1,000 calls
6 questions to ask before choosing a data API for Yahoo Finance
Does Yahoo Finance have an official API, and how is it different from this one?
No. Yahoo's developer API catalog lists only the Yahoo Fantasy Sports API. There is no official Yahoo Finance API, so there is no Yahoo developer key to request and no official price list. With one EveryInfra API key, you can read public Yahoo Finance data in the same request format as other platforms, without applying for Yahoo Finance developer access.
Official sources: Yahoo Developer Network: APIs · Checked
Do I need to log in to Yahoo or provide a cookie to make calls?
No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.
How is it billed? Are failed requests charged? Is there a free trial?
Billing is per request, from $1.39 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.
Can I connect this Yahoo Finance API to Claude or Cursor?
Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.
What compliance points apply when using Yahoo Finance data?
The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.
What Yahoo Finance data can I get?
Available Yahoo Finance capabilities (10): Search, Historical prices, Financial statements, News, Analyst ratings, Options chains, Trending, Earnings and EPS, Key statistics, Institutional holdings. The parameters and response fields of each capability are in the API reference on this page.
Use cases
Research one stock
Read the quote and basics, pull the price history, then read the three financial statements.
Follow earnings season
Read the earnings per share and the next report date, then the valuation and dividend statistics.
Track institutions and analysts
Read the changes in analyst ratings, then the increases and decreases in institutional holdings.
Collect options chains
Read the contracts, strikes and implied volatility of one stock.
Usesoptions
Find material for a market summary
Read the moves on the market lists, then the news of single stocks.
Yahoo Finance official documentation vs EveryInfra
The Yahoo Finance official documentation has no interface description for this data, so this table has no comparison row.
| Compared | Yahoo Finance official documentation | EveryInfra |
|---|
The official help pages explain how to view this data on the website. They have no interface description. Official sources:
What does each Yahoo Finance action accept?
Parameter table for all 10 actions
Sync delivery for every action.
| Action | Required | Optional | Limit | Per 1,000 | Response fields |
|---|---|---|---|---|---|
searchSearch Look up stocks and other instruments on Yahoo Finance by ticker. Get name, sector, industry, market cap, price, exchange, P/E ratio and dividend yield. Pass exact symbols with any exchange suffix, or several in | keyword | tickers, limit | — | $1.39 per 1,000 requestsEach element in tickers counts as one call | id · name · symbol · sector · industry · market_cap · price · currency · quote_type · exchange · pe_ratio · dividend_yield · platform |
historyHistorical prices Pull price history for one Yahoo Finance ticker: date, open, high, low, close, volume, dividends and stock splits. | keyword | interval, period, limit | — | $1.39 per 1,000 requests | symbol · date · open · high · low · close · volume · dividends · stock_splits · platform |
financialsFinancial statements Get the income statement, balance sheet, cash flow and quarterly income for one Yahoo Finance ticker. Figures are not audited and do not replace the company's own filings. | keyword | — | — | $1.39 per 1,000 requests | symbol · income · balance_sheet · cash_flow · quarterly_income · platform |
newsNews Track recent news for a Yahoo Finance ticker. Each item has headline, snippet, publisher, time and link. Pass one symbol per call, not a company name. Snippets do not replace the original article. | keyword | limit | — | $1.39 per 1,000 requests | id · url · title · text · publisher · posted_at · symbol · platform |
analystAnalyst ratings See how analysts rate a stock on Yahoo Finance: the recommendation distribution over time and the history of upgrades and downgrades. These are third-party opinions for one ticker, not advice from EveryInfra. | keyword | — | — | $1.39 per 1,000 requests | symbol · recommendation_trend · upgrades_downgrades · platform |
optionsOptions chains Scan the options chain for one Yahoo Finance ticker, with calls and puts showing strike, last price, bid, ask, volume, open interest and implied volatility. There is no expiration parameter, so check | keyword | — | — | $1.39 per 1,000 requests | contract_symbol · strike · last_price · bid · ask · volume · open_interest · implied_volatility · in_the_money · expiration · symbol · expiration_dates · strikes · calls · puts · platform |
trendingTrending Get up to 200 movers from a preset Yahoo Finance list, day gainers by default. Each mover has price, change, percent change, volume, market cap and 52-week range. | screener | Catalog values: defaultLimit=10, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $1.39 per 1,000 requestsEvery 10 rows count as one call | id · symbol · name · price · change · change_percent · volume · market_cap · currency · exchange · pe_ratio · fifty_two_week_range · platform | |
earningsEarnings and EPS Get earnings per share by quarter for one US-listed ticker on Yahoo Finance: the analyst estimate, the reported figure and the surprise for past quarters, plus the estimate for the quarter ahead. Once the company has announced its next report date you also get that date, whether it falls before the open or after the close, and how many analysts make up the estimate. | keyword | — | — | $8 per 1,000 requests | symbol · quarters · next_earnings_date · next_earnings_timing · analyst_count · platform |
statisticsKey statistics Read the Statistics page of one US-listed ticker on Yahoo Finance, grouped into sections such as valuation, ratios, shares, margins and dividends. Each item has its label and the value as displayed, such as 4.94T, with the raw number when it differs. Sections and items vary from company to company. | keyword | — | — | $8 per 1,000 requests | symbol · sections · platform |
institutional_holdingsInstitutional holdings See how much of a US-listed stock institutions own, from one ticker in | keyword | — | — | $8 per 1,000 requests | symbol · institutional_ownership_pct · shares_outstanding · holdings_value_usd · holders · shares_held · increased_holders · increased_shares · decreased_holders · decreased_shares · unchanged_holders · unchanged_shares · new_holders · new_shares · sold_out_holders · sold_out_shares · top_holders · platform |
What each action's parameters mean (10 actions)
Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.
Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.
What do the Yahoo Finance search parameters mean?
Look up stocks and other instruments on Yahoo Finance by ticker. Get name, sector, industry, market cap, price, exchange, P/E ratio and dividend yield. Pass exact symbols with any exchange suffix, or several in tickers. Company names are not searched, and quotes may not be real time.
keywordRequired- Specifies a single Yahoo Finance ticker symbol (e.g., AAPL) with required exchange suffixes retained. It does not perform full-text company name searches. The history, financials, news, analyst, and options actions process one ticker per request to retrieve historical market data, financial statements, news items, analyst coverage, or options chains.Yahoo Finance: Ticker Suffixes, Exchange Delays, and Information Use — Official guidance explains that exchange ticker suffixes and data delays vary, defining data strictly for informational purposes. This explains ticker symbol and market data freshness boundaries; it does not prove that this endpoint supports real-time trading. · Checked
tickersOptional- Accepts an array of ticker symbols for the Yahoo Finance search action, overriding single-target keyword inputs. This array does not apply to other actions like history; uppercase ticker symbols with explicit exchange suffixes are recommended.
limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Yahoo Finance history parameters mean?
Pull price history for one Yahoo Finance ticker: date, open, high, low, close, volume, dividends and stock splits. interval defaults to 1d and period to 1mo. 1m means one minute, and long ranges may not include every data point.
keywordRequired- Specifies a single Yahoo Finance ticker symbol (e.g., AAPL) with required exchange suffixes retained. It does not perform full-text company name searches. The history, financials, news, analyst, and options actions process one ticker per request to retrieve historical market data, financial statements, news items, analyst coverage, or options chains.
intervalOptional- Defines the candlestick time step for the Yahoo Finance history action, defaulting to 1d. Allowed values include minute intervals (1m, 2m, 5m, 15m, 30m, 60m, 90m), hourly (1h), daily (1d, 5d), weekly (1wk), and monthly (1mo, 3mo). Note that 1m represents one minute, not one month, and sub-daily intervals paired with long periods may be subject to historical lookback limits.Yahoo Finance: Historical Prices, Dividends, Splits, and Frequency Selection — The official historical data page distinguishes time spans, data types, and frequency options, outlining available historical ranges and licensing restrictions. This does not indicate that this endpoint provides CSV downloads or identical complete coverage. · Checked
periodOptional- Sets the historical lookback duration for the Yahoo Finance history action, defaulting to 1mo. Supported values include days (1d, 5d), months (1mo, 3mo, 6mo), years (1y, 2y, 5y, 10y), year-to-date (ytd), and maximum available history (max). Selecting max does not guarantee a complete dataset dating back to an asset's initial public offering.Yahoo Finance: Definition of Adjusted Close — Official documentation defines adjusted close as accounting for stock splits and dividend adjustments. Because the current endpoint returns only close, this documentation cannot be used to claim that response values are adjusted. · Checked
limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Yahoo Finance financials parameters mean?
Get the income statement, balance sheet, cash flow and quarterly income for one Yahoo Finance ticker. Figures are not audited and do not replace the company's own filings.
Full API reference: parameters, code samples, response example and healthkeywordRequired- Specifies a single Yahoo Finance ticker symbol (e.g., AAPL) with required exchange suffixes retained. It does not perform full-text company name searches. The history, financials, news, analyst, and options actions process one ticker per request to retrieve historical market data, financial statements, news items, analyst coverage, or options chains.
What do the Yahoo Finance news parameters mean?
Track recent news for a Yahoo Finance ticker. Each item has headline, snippet, publisher, time and link. Pass one symbol per call, not a company name. Snippets do not replace the original article.
Full API reference: parameters, code samples, response example and healthkeywordRequired- Specifies a single Yahoo Finance ticker symbol (e.g., AAPL) with required exchange suffixes retained. It does not perform full-text company name searches. The history, financials, news, analyst, and options actions process one ticker per request to retrieve historical market data, financial statements, news items, analyst coverage, or options chains.
limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Yahoo Finance analyst parameters mean?
See how analysts rate a stock on Yahoo Finance: the recommendation distribution over time and the history of upgrades and downgrades. These are third-party opinions for one ticker, not advice from EveryInfra.
Full API reference: parameters, code samples, response example and healthkeywordRequired- Specifies a single Yahoo Finance ticker symbol (e.g., AAPL) with required exchange suffixes retained. It does not perform full-text company name searches. The history, financials, news, analyst, and options actions process one ticker per request to retrieve historical market data, financial statements, news items, analyst coverage, or options chains.
What do the Yahoo Finance options parameters mean?
Scan the options chain for one Yahoo Finance ticker, with calls and puts showing strike, last price, bid, ask, volume, open interest and implied volatility. There is no expiration parameter, so check expiration for the date returned and expiration_dates for the full list.
keywordRequired- Specifies a single Yahoo Finance ticker symbol (e.g., AAPL) with required exchange suffixes retained. It does not perform full-text company name searches. The history, financials, news, analyst, and options actions process one ticker per request to retrieve historical market data, financial statements, news items, analyst coverage, or options chains.Yahoo Finance: Ticker Suffixes, Exchange Delays, and Information Use — Official guidance explains that exchange ticker suffixes and data delays vary, defining data strictly for informational purposes. This explains ticker symbol and market data freshness boundaries; it does not prove that this endpoint supports real-time trading. · Checked
What do the Yahoo Finance trending parameters mean?
Get up to 200 movers from a preset Yahoo Finance list, day gainers by default. Each mover has price, change, percent change, volume, market cap and 52-week range. screener takes uppercase list names for stocks, crypto, private companies and funds. A list is not a recommendation.
screenerOptional- Specifies the uppercase preset list key for the Yahoo Finance trending action. Supported equity screeners include DAY_GAINERS (default), DAY_LOSERS, MOST_ACTIVES, MOST_SHORTED_STOCKS, UNDERVALUED_GROWTH_STOCKS, GROWTH_TECHNOLOGY_STOCKS, AGGRESSIVE_SMALL_CAPS, and SMALL_CAP_GAINERS; crypto lists include ALL_CRYPTOCURRENCIES_US, DAY_GAINERS_CRYPTOCURRENCIES, DAY_LOSERS_CRYPTOCURRENCIES, and MOST_ACTIVES_CRYPTOCURRENCIES; private company lists include HIGHEST_VALUATION_PRIVATE_COMPANY, WEEK_GAINERS_PRIVATE_COMPANY, RECENTLY_FUNDED_PRIVATE_COMPANY, and MOST_FUNDED_PRIVATE_COMPANY; fund lists include TOP_MUTUAL_FUNDS, DAY_GAINERS_MUTUAL_FUNDS, PORTFOLIO_ANCHORS, SOLID_LARGE_GROWTH_FUNDS, SOLID_MIDCAP_GROWTH_FUNDS, CONSERVATIVE_FOREIGN_FUNDS, and HIGH_YIELD_BOND. Category availability does not guarantee current data or constitute financial advice.Yahoo Finance: Exchange Delays in Trending Ticker Lists — Official guidance states that data delays vary by exchange and that data is strictly for informational purposes. This illustrates the market and freshness boundaries for trending lists; it does not prove that the endpoint lists are real-time or constitute investment advice. · Checked
What do the Yahoo Finance earnings parameters mean?
Get earnings per share by quarter for one US-listed ticker on Yahoo Finance: the analyst estimate, the reported figure and the surprise for past quarters, plus the estimate for the quarter ahead. Once the company has announced its next report date you also get that date, whether it falls before the open or after the close, and how many analysts make up the estimate.
Full API reference: parameters, code samples, response example and healthkeywordRequired- One US-listed ticker, such as
AAPLorBRK.B; a leading $ is removed. Pass one symbol, not a company name or a list. Only US-listed tickers are covered.
What do the Yahoo Finance statistics parameters mean?
Read the Statistics page of one US-listed ticker on Yahoo Finance, grouped into sections such as valuation, ratios, shares, margins and dividends. Each item has its label and the value as displayed, such as 4.94T, with the raw number when it differs. Sections and items vary from company to company.
Full API reference: parameters, code samples, response example and healthkeywordRequired- One US-listed ticker, such as
MSFTorBRK.B; a leading $ is removed. Pass one symbol, not a company name or a list. Only US-listed tickers are covered.
What do the Yahoo Finance institutional_holdings parameters mean?
See how much of a US-listed stock institutions own, from one ticker in keyword. You get the institutional ownership percentage, the number of holders, the shares they hold and their dollar value, how many holders added to, cut, kept, opened or closed positions, and top_holders with each holder's shares, change and value. limit sets how many top holders come back (default 20, up to 100).
keywordRequired- One US-listed ticker, such as
NVDAorBRK.B; a leading $ is removed. Pass one symbol, not a company name or a list. Only US-listed tickers are covered.
How to use the Yahoo Finance API
- 01Choose a platform action from the public catalog.
- 02Send the platform, action, and required parameters to POST /api/v1/social.
- 03Read the result from the response. For an asynchronous action, poll the returned job ID.
- 04Store the response fields that your application needs.
curl -X POST https://api.everyinfra.com/api/v1/social \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"yahoo_finance","action":"search","params":{"keyword":"<keyword>"}}'
Yahoo Finance API questions
What can I retrieve with the Yahoo Finance API?
Set platform to yahoo_finance. The current catalog lists search, historical prices, financial statements, news, analyst ratings, and more. These action names identify different Yahoo Finance objects or views; they are not interchangeable search modes.
Which input starts the Yahoo Finance search request?
Specifies a single Yahoo Finance ticker symbol (e.g., AAPL) with required exchange suffixes retained. It does not perform full-text company name searches. The history, financials, news, analyst, and options actions process one ticker per request to retrieve historical market data, financial statements, news items, analyst coverage, or options chains. Send it as keyword inside params.
Which fields can Yahoo Finance search return?
Its declared schema includes name, symbol, sector, and industry. A declared field can still be absent from an individual record, and every other action has its own field list.
Does every Yahoo Finance action return immediately?
Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.