YFinance

Yahoo Finance Stock Data API

Yahoo Finance quietly carries everything a research tool needs: adjusted price history back to the first trading day, a statistics tab with trailing and forward multiples, a company profile and quarterly financial statements. everydata.io exposes those views as HTTPS endpoints under /yho that return the JSON Yahoo itself renders – unmodified quoteSummary.result[] objects with {raw, fmt} value pairs – so what you know about Yahoo's data model carries over one to one.

100 free requests every month · realtime JSON · one API key for all platforms

What you get

Yahoo Finance data, ready to use

The historical-data endpoint gives you a flat prices[] array of {date, open, high, low, close, volume, adjclose} where date is a Unix timestamp in seconds. Choose a range from 1d up to max (1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max) and an interval from 1m up to 3mo (1m, 2m, 5m, 15m, 30m, 60m, 1d, 1wk, 1mo), or replace range with explicit period1/period2 epoch bounds when you backfill a specific window. Intraday intervals only cover the recent past, exactly as on Yahoo's chart.

Around the price series sit the descriptive endpoints. /stock-v4-get-statistics returns summaryDetail (marketCap, trailingPE, forwardPE, dividendYield, beta) and defaultKeyStatistics (enterpriseValue, profitMargins, floatShares, sharesShort, heldPercentInstitutions). /stock-v3-get-profile delivers sector, industry, website and fullTimeEmployees. /stock-get-fundamentals takes a comma-separated modules parameter – balanceSheetHistory, cashflowStatementHistoryQuarterly, incomeStatementHistory, earningsTrend and around 30 more – and returns only those modules.

  • prices[] with date (epoch seconds), open, high, low, close, volume and adjclose; eventsData for dividends and splits
  • range 1d…max and interval 1m…3mo, or absolute period1/period2 bounds for precise backfills
  • Key statistics with numeric raw values and Yahoo's display strings ({raw: 38.59, fmt: "38.59"})
  • Company profile: sector, industry, website, employee count, address, officer list
  • Fundamentals by module: annual and quarterly balance sheet, cash flow, income statement, earnings history and trend
  • Symbol lookup via /auto-complete – free text in, exchange-qualified symbol out
  • Twelve regions: US, BR, AU, CA, FR, DE, HK, IN, IT, ES, GB, SG with matching lang codes

How it works

Example request and response

Start with the symbol as Yahoo writes it – AAPL, SAP.DE, 0700.HK. If you only have a company name, call GET /yho/auto-complete?q=apple first; quotes[] returns symbol, exchange and quoteType so you can pick the equity rather than a future or ETF.

GET /yho/stock-v3-get-historical-data

curl "https://api.everydata.io/yho/stock-v3-get-historical-data?symbol=AAPL&region=US&range=1mo&interval=1d" \
  -H "x-api-key: YOUR_API_KEY"

Response (shortened)

200 OK · application/json
{
  "prices": [
    {
      "date": 1789738200,
      "open": 337.9100036621094,
      "high": 338.489990234375,
      "low": 332.5299987792969,
      "close": 336.1300048828125,
      "volume": 86433100,
      "adjclose": 336.1300048828125
    },
    {
      "date": 1789651800,
      "open": 334.7699890136719,
      "high": 338.3399963378906,
      "low": 330.17999267578125,
      "close": 337,
      "volume": 36700200,
      "adjclose": 337
    }
  ],
  "isPending": false,
  "firstTradeDate": 345479400,
  "id": "AAPL",
  "timeZone": {
    "gmtOffset": -14400
  },
  "eventsData": []
}

prices[] is ordered newest first, mirroring Yahoo's historical-data table. adjclose already reflects splits and dividends, so use it for return calculations and close for anything that must match the printed closing price. timeZone.gmtOffset tells you the exchange offset in seconds – -14400 is US Eastern daylight time – which you need to turn the epoch dates back into trading days for non-US listings.

Statistics and fundamentals come back in Yahoo's quoteSummary envelope: quoteSummary.result[0].summaryDetail.trailingPE is {raw: 38.591274, fmt: "38.59"}. Read raw for maths and fmt for display. Empty objects such as "yield": {} mean Yahoo has no value for that field on this instrument type.

region selects the Yahoo edition, which matters for localised display strings (typeDisp "Aktie" under region=DE) and for how a bare symbol resolves. Every call is realtime; there is no cached snapshot in between.

Related endpoints

GET/yho/stock-v3-get-historical-data

Historical data. OHLCV history with range/interval.

GET/yho/stock-v4-get-statistics

Statistics. Key statistics.

GET/yho/stock-v3-get-profile

Profile. Company profile.

GET/yho/stock-get-fundamentals

Fundamentals. Balance sheet, cash flow, income statements and more via modules.

GET/yho/auto-complete

Auto complete. Symbol lookup by free text.

Full API reference

Use cases

What teams build with this

Backtesting and quant research

Download 10y or max daily history for a universe of symbols, store adjclose, and run factor or momentum studies. Use 1wk or 1mo intervals when you only need coarse bars and want smaller payloads.

Portfolio and net-worth trackers

Resolve user input through auto-complete, then refresh positions with 1d history and summaryDetail. The regularMarketPreviousClose and dividendRate fields feed daily P&L and income projections.

Fundamental screeners

Combine defaultKeyStatistics (profitMargins, enterpriseValue, heldPercentInstitutions) with incomeStatementHistory from the fundamentals endpoint to rank companies on margins, growth or leverage.

Research dashboards

Show a company card with profile, employee count and years of quarterly statements without maintaining your own filings parser.

Pricing

Pay per request, every platform included

One request equals one endpoint call regardless of range – a max-range daily history for one symbol costs the same as a 1d call. The free plan (100 requests a month) covers a course project or prototype; Starter (5,000 requests, €30) refreshes a 150-symbol watch list daily with room for statistics; Production (50,000, €80) handles nightly fundamentals pulls across a few thousand tickers. Yahoo-side 5xx responses are never billed.

Free
100 req / month
Starter
5,000 req · €30
Production
50,000 req · €80
Business
300,000 req · €300

FAQ

Yahoo Finance Stock Data API: frequently asked questions

Related

Related use cases

All use cases

Fetch your first price history

Create a free account, copy the key and request GET /yho/stock-v3-get-historical-data?symbol=AAPL&range=1y – 100 requests a month, no card.

Get your free API key