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.

Yahoo Finance
GET/v1/yahoo-finance/search?q=apple
{
  "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
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#symbolstringshort_namestringlong_namestringquote_typestringexchangestringexchange_displaystringsectorstringindustrystringscoreinteger
1AAPLApple Inc.Apple Inc.EQUITYNMSNASDAQTechnologyConsumer Electronics377565
2SAAPL=FApple Inc Stock Futures,Dec-202Apple Inc Single Stock futuresFUTURECMEChicago Mercantile Exchange——30144
3TAAPL=FBTIC Apple Inc Stock Futures,De—FUTURECMEChicago 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

cURLshell
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.

EndpointRequired parametersReturnsCost
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: search takes a q and returns matching tickers and news.
  • Quotes: quote takes symbols, a comma-separated list such as AAPL,MSFT.
  • Price history: history takes a symbol, with range (1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd or max) and interval (1d, 1wk or 1mo).
  • Fundamentals: fundamentals takes a symbol.
  • News: news takes a symbol.

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.

FinanceJSONRESTMCP

More finance APIs

Use cases

Price a watchlist in one `quote` call

Use the Yahoo Finance API to price a watchlist in one `quote` call

Chart daily, weekly or monthly candles over a range

Use the Yahoo Finance API to chart daily, weekly or monthly candles over a range

Pull 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 company

Compare analyst price targets and recommendations

Use the Yahoo Finance API to compare analyst price targets and recommendations

FAQ

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.