Early access is open. Free sample datasets are live now. Download a sample

Data product · Early access

Historical Daily Stock Data API and Download

Daily open, high, low, close and volume for US stocks, with split-adjusted, raw and total-return prices side by side, so your backtest and your broker statement agree.

Coverage

What you get

Item Detail
Product code STK-BARS-DAILY
Coverage US-listed stocks and ETFs, delisted names included in the full-universe dataset
Granularity 1d, 1w, 1mo bars
History Free plan: about 2 years. Starter and up: full history, with 1990 onward as our target for US names
Delivery REST API, bulk "whole market for one day" call, CSV and JSON files you download and keep
Update speed After the close, once per trading day

Vendors disagree on what "adjusted" means. Some adjust only the close, others adjust every column or ship raw prices and leave the rest to you. We put all three versions in the same row.

Schema

Schema

One row per symbol per bar. OHLCV columns are split-adjusted, the unadjusted_* columns are what actually printed that day, and adjusted_close folds in dividends as well.

Field Type Required Description
symbol string yes Our ticker, e.g. AAPL, BRK.B
date string yes Trading date, YYYY-MM-DD, exchange calendar
interval string yes 1d, 1w, 1mo
open number yes Split-adjusted open
high number yes Split-adjusted high
low number yes Split-adjusted low
close number yes Split-adjusted close
volume number yes Split-adjusted share volume, consolidated
vwap number optional Volume-weighted average price for the day
trade_count number optional Number of trades
unadjusted_open / unadjusted_high / unadjusted_low / unadjusted_close number optional Raw printed prices
unadjusted_volume number optional Raw volume
adjusted_close number yes Split and dividend adjusted close (total-return style)
dividend number optional Cash dividend with ex-date on this day, else 0
split_factor number optional Split ratio effective this day, else 1
previous_close number optional Prior session close
change_percent number optional Close vs previous close, percent
exchange string optional Primary listing MIC, e.g. XNAS
currency string yes ISO 4217, e.g. USD

Example record:

{
  "symbol": "AAPL",
  "date": "2026-11-18",
  "interval": "1d",
  "open": 228.41,
  "high": 231.07,
  "low": 227.9,
  "close": 230.62,
  "volume": 48213560,
  "vwap": 229.87,
  "trade_count": 612488,
  "unadjusted_open": 228.41,
  "unadjusted_high": 231.07,
  "unadjusted_low": 227.9,
  "unadjusted_close": 230.62,
  "unadjusted_volume": 48213560,
  "adjusted_close": 230.62,
  "dividend": 0,
  "split_factor": 1,
  "previous_close": 228.15,
  "change_percent": 1.08,
  "exchange": "XNAS",
  "currency": "USD"
}

Sample data

Sample data

We don't have a free daily stock sample yet. US exchange prices need a licensed source, and we won't post a file we can't legally hand out. A sample file is available on request: tell us the tickers and date range and we'll send one in the schema above when our source is signed.

Use cases

Use cases

Swing and position backtests. A 20/50-day crossover test on 500 names needs date, close and volume and nothing else. Run it on adjusted_close if you want dividends counted, which matters a lot for utilities and REITs over ten years.

Checking a fill against the tape. Your broker shows the price you actually paid. Compare it with unadjusted_close, not the adjusted one, or a 4-for-1 split three years ago will make your old trades look like they happened at a quarter of the price.

Gap scanners. open against previous_close gives the overnight gap. Filter on volume above its 20-day average and you have a pre-market watchlist built from yesterday's file.

Rebuilding a whole-market snapshot. The bulk call returns every symbol for one date in a single response, which is how you backfill a screener database without thousands of separate requests.

Code

Code examples

Example: one symbol, ten years of daily bars.

curl "https://api.marketdata.co/v1/stocks/bars?symbol=AAPL&start=2016-01-01&end=2025-12-31" \
  -H "Authorization: Bearer $MARKETDATA_API_KEY"

Example: the same request in Python, loaded into pandas.

import os
import requests
import pandas as pd

resp = requests.get(
    "https://api.marketdata.co/v1/stocks/bars",
    params={"symbol": "AAPL", "start": "2016-01-01", "end": "2025-12-31"},
    headers={"Authorization": f"Bearer {os.environ['MARKETDATA_API_KEY']}"},
)
resp.raise_for_status()
df = pd.DataFrame(resp.json()["results"])
df["date"] = pd.to_datetime(df["date"])
df = df.set_index("date")

price_ret = df["close"].iloc[-1] / df["close"].iloc[0] - 1
total_ret = df["adjusted_close"].iloc[-1] / df["adjusted_close"].iloc[0] - 1
print(f"price {price_ret:.1%}, total {total_ret:.1%}")

Pricing

Pricing

Plan What you get for daily bars
Free, $0 About 2 years of daily bars, prior day only, 5 calls a minute
Starter, $29/mo Full history and the bulk whole-market call
Pro, $79/mo Same data, higher rate limits
Business, $249/mo Commercial use

Prefer files? The planned one-off dataset is $149 for the full US universe, delisted stocks included, all history. A single index universe (S&P 500 or Nasdaq-100) is planned at $29, with daily updates at $9/mo. These are early access prices and may change before launch.

For context: across the vendors we studied, paid plans that include daily bars run from $9.99 to $199 a month, with a median of $34.50. Ten of them give some daily data away free.

Side by side

How we compare

30 of the 50 providers we studied sell daily stock bars, so this is the most crowded product we offer. We're not going to win on the data alone. Where we differ is the shape and the terms: prices are on this page, the full-universe file is a one-off purchase you keep after you cancel, and raw, split-adjusted and total-return prices arrive in one row with the same field names we use across stocks, forex, crypto and futures.

FAQ

Frequently asked questions

How far back does the daily history go?

Our target for US stocks is 1990 onward on Starter and above, and about 2 years on Free. Exact start dates per symbol depend on the licensed source we sign, so we'll publish them before launch rather than guess now.

Are prices adjusted for splits and dividends?

Both, in separate columns. open, high, low, close and volume are split-adjusted, the unadjusted_* fields are raw, and adjusted_close accounts for splits and dividends together.

What time zone are the dates in?

Daily bars carry a plain date in YYYY-MM-DD on the exchange calendar, so there's no time zone to convert. Intraday products use UTC timestamps instead.

Can I use the data in a commercial product?

Personal and internal research use is covered on every plan. Showing the data in an app or product for other people needs Business or an Enterprise licence.

What file formats can I download?

CSV and JSON, from the API or as dataset files. Every file uses the same column names as the API response.

Keep reading