APIs / Finance / Yahoo Finance
1 credit per call5 endpoints9 datapointsChecked working 25 Nov 2026
Yahoo Finance API
Yahoo Finance API for ticker search, live quotes, price history, company fundamentals and news by symbol as JSON. 1 credit per successful call.
{
"query": "apple",
"quotes": [
{
"symbol": "AAPL",
"short_name": "Apple Inc.",
"long_name": "Apple Inc.",
"quote_type": "EQUITY",
"exchange": "NMS",
"exchange_display": "NASDAQ",
"sector": "Technology",
"industry": "Consumer Electronics",
"score": 377565
},
{
"symbol": "SAAPL=F",
"short_name": "Apple Inc Stock Futures,Dec-202",
"long_name": "Apple Inc Single Stock futures",
"quote_type": "FUTURE",
"exchange": "CME",
"exchange_display": "Chicago Mercantile Exchange",
"score": 30144
},
{
"symbol": "TAAPL=F",
"short_name": "BTIC Apple Inc Stock Futures,De",
"quote_type": "FUTURE",
"exchange": "CME",
"exchange_display": "Chicago Mercantile Exchange",
"score": 30021
}
],
"news": [
{
"uuid": "ae9bc59a-91db-3ff1-a747-25e068787ad4",
"title": "Broadcom vs. Micron Technology: Which Tech Stock Is the Better Buy for 2027?",
"publisher": "Motley Fool",
"link": "https://finance.yahoo.com/markets/stocks/articles/broadcom-vs-micron-technology-tech-033002100.html",
"published_at": "2026-11-18T03:30:02Z",
"image_url": "https://media.zenfs.com/en/motleyfool.com/7b34279efedabcb096f1bfd48e663b1f.jpg",
"related_tickers": [
"AVGO",
"MU",
"AAPL"
]
},
{
"uuid": "fdc1b20f-b8f1-3ef7-b574-08c33aebf7e6",
"title": "A Retiree With $400,000 in His 401(k) Tries to Move Money Before Stocks Fall Further. Apple’s Widespread Outage Raises the Stakes of a Missed Trade",
"publisher": "24/7 Wall St.",
"link": "https://finance.yahoo.com/markets/options/articles/retiree-400-000-401-k-030429558.html",
"published_at": "2026-11-18T03:04:29Z",
"image_url": "https://media.zenfs.com/en/24_7_wall_st__718/cb63419af6776d56ab50170dd41f6e97.jpg",
"related_tickers": [
"AAPL",
"NVDA"
]
},
{
"uuid": "0eddea25-454c-35e6-bb64-32a077a57baf",
"title": "Mary Barra Transformed GM. Her Successor May Have to Do It Again.",
"publisher": "The Wall Street Journal",
"link": "https://finance.yahoo.com/m/0eddea25-454c-35e6-bb64-32a077a57baf/mary-barra-transformed-gm..html",
"published_at": "2026-11-18T02:00:00Z",
"image_url": "https://media.zenfs.com/en/wsj.com/2d49360bc0f08a9e8a6f2dcd0e3136e1.jpg",
"related_tickers": [
"GM",
"^IXIC",
"AAPL"
]
}
],
"source": "yahoo_finance",
"meta": {
"request_id": "req_f9e92171088547f396e4ce13493b7c9d",
"credits_charged": 1,
"credits_remaining": 997
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | symbolstring | short_namestring | long_namestring | quote_typestring | exchangestring | exchange_displaystring | sectorstring | industrystring | scoreinteger |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AAPL | Apple Inc. | Apple Inc. | EQUITY | NMS | NASDAQ | Technology | Consumer Electronics | 377565 |
| 2 | SAAPL=F | Apple Inc Stock Futures,Dec-202 | Apple Inc Single Stock futures | FUTURE | CME | Chicago Mercantile Exchange | — | — | 30144 |
| 3 | TAAPL=F | BTIC Apple Inc Stock Futures,De | — | FUTURE | CME | Chicago Mercantile Exchange | — | — | 30021 |
[
{
"symbol": "AAPL",
"short_name": "Apple Inc.",
"long_name": "Apple Inc.",
"quote_type": "EQUITY",
"exchange": "NMS",
"exchange_display": "NASDAQ",
"sector": "Technology",
"industry": "Consumer Electronics",
"score": 377565
},
{
"symbol": "SAAPL=F",
"short_name": "Apple Inc Stock Futures,Dec-202",
"long_name": "Apple Inc Single Stock futures",
"quote_type": "FUTURE",
"exchange": "CME",
"exchange_display": "Chicago Mercantile Exchange",
"score": 30144
},
{
"symbol": "TAAPL=F",
"short_name": "BTIC Apple Inc Stock Futures,De",
"quote_type": "FUTURE",
"exchange": "CME",
"exchange_display": "Chicago Mercantile Exchange",
"score": 30021
}
]symbol,short_name,long_name,quote_type,exchange,exchange_display,sector,industry,score AAPL,Apple Inc.,Apple Inc.,EQUITY,NMS,NASDAQ,Technology,Consumer Electronics,377565 SAAPL=F,"Apple Inc Stock Futures,Dec-202",Apple Inc Single Stock futures,FUTURE,CME,Chicago Mercantile Exchange,,,30144 TAAPL=F,"BTIC Apple Inc Stock Futures,De",,FUTURE,CME,Chicago Mercantile Exchange,,,30021
Recorded from our API · 3 items shown · 9 datapoints per itemGET /v1/yahoo-finance/search?q=apple
9 datapoints
Identity
- short_namestring
- quote_typestring
Location
- long_namestring
Reputation
- scoreinteger
Other
- symbolstring
- exchangestring
- exchange_displaystring
- sectorstring
- industrystring
Playground
Run this API
curl "https://api.perceptlayer.com/v1/yahoo-finance/search?q=apple" \
-H "X-API-Key: $API_KEY"Yahoo Finance · 5 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/yahoo-finance/fundamentals | symbol | symbolcurrencyexchangeprofilestatisticsearnings+2 more | 1 credit |
GET/v1/yahoo-finance/history | symbol+2 optional | symbolcurrencyexchangerangeintervalcandles+1 more | 1 credit |
GET/v1/yahoo-finance/news | symbol | symbolnewsfeed | 1 credit |
GET/v1/yahoo-finance/quote | symbols | symbolshort_namelong_namepricechangechange_percent+9 more | 1 credit |
GET/v1/yahoo-finance/search | q | symbolshort_namelong_namequote_typeexchangeexchange_display+3 more | 1 credit |
Overview
About the Yahoo Finance API
What you can get
The Yahoo Finance API returns Yahoo Finance market data as JSON through 5 endpoints.
- Search:
searchtakes aqand returns matching tickers and news. - Quotes:
quotetakessymbols, a comma-separated list such asAAPL,MSFT. - Price history:
historytakes asymbol, withrange(1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytdormax) andinterval(1d,1wkor1mo). - Fundamentals:
fundamentalstakes asymbol. - News:
newstakes asymbol.
The recorded fundamentals call for AAPL returns symbol, currency, exchange, a profile with name, sector, industry, country and employees, and statistics such as previousClose, trailingPE, forwardPE, dividendYield, beta and marketCap. It also carries earnings estimates, analyst_targets with target_mean, target_low, target_high and recommendation, and statements split into income, balance_sheet and cash_flow.
How a call works
Find the ticker, then read it: GET /v1/yahoo-finance/search?q=apple, with your key in the X-API-Key header, returns quotes with each symbol, and the first is AAPL. Pass that to the other endpoints, for example GET /v1/yahoo-finance/history?symbol=AAPL&range=1mo&interval=1d, which returns candles with date, open, high, low, close, volume and adjusted_close, plus any dividends in events. Every successful call costs 1 credit; failed calls cost nothing.
More finance APIs
Use cases
Price a watchlist in one `quote` call
Use the Yahoo Finance API to price a watchlist in one `quote` callChart daily, weekly or monthly candles over a range
Use the Yahoo Finance API to chart daily, weekly or monthly candles over a rangePull income, balance sheet and cash flow lines for a company
Use the Yahoo Finance API to pull income, balance sheet and cash flow lines for a companyCompare analyst price targets and recommendations
Use the Yahoo Finance API to compare analyst price targets and recommendationsFAQ
Questions
How much does the Yahoo Finance API cost?
Each successful call costs one credit, whichever endpoint you call. A `quote` call for several symbols is still one call. New accounts get free credits to start, and credit packs bring the price down as you scale.
Does search return more than stocks?
Yes. Each result has a `quote_type`. The recorded search for "apple" returned the `AAPL` stock as `EQUITY` alongside Apple futures contracts as `FUTURE`, plus related news.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Do I need a Yahoo Finance account?
No. You call this Yahoo Finance API with your Perceptlayer key in the `X-API-Key` header, with no Yahoo Finance login.
Is this the official Yahoo Finance API?
No. Perceptlayer is an independent service and is not affiliated with Yahoo Finance. It returns Yahoo Finance data as JSON with a Perceptlayer key, so there is no Yahoo Finance developer account, app review or partner approval to get first. It only reads data: if Yahoo Finance has an official API and you need to act on your own Yahoo Finance account, such as posting, managing orders or reading private data, use that one.
Should I build a Yahoo Finance scraper instead?
You can, but a Yahoo Finance scraper is code you maintain: page changes break it, requests get blocked, and Yahoo Finance's terms govern how you collect data. The Yahoo Finance API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Yahoo Finance API with 100 free credits
No credit card. Failed calls are never billed.