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

Historical data ยท Early access

SPDR S&P 500 ETF (SPY) Historical Data Download

SPY daily and 1-minute bars, every trade, fund holdings and flows, distributions and the option chain, by API or file.

Coverage

Data available for SPY

SPY is the most traded ETF in the world and the benchmark most strategies are measured against. Every card below applies to it, including the ETF holdings and flows layer.

Dataset What it is Granularity Delivery Plan
Daily, weekly and monthly OHLCV Split-adjusted OHLCV, raw prices and a total-return close 1d, 1w, 1mo API and file Free (2 yrs), Starter (full)
Intraday OHLCV bars Bars from pre-market to after-hours, tagged by session 1s to 1h API and file Starter (delayed), Pro (real time)
Tick-level trades Every print: price, size, venue, conditions Each trade API and file Pro (10 yrs)
ETF holdings, profiles and flows Holdings, weights, expense ratio, daily flows Daily API and file Starter, history on Pro
Splits, dividends, symbol changes Quarterly distributions with ex, record and pay dates Per event API and file Free (2 yrs), Starter (full)
Option chain snapshot All SPY contracts with quotes, open interest, Greeks Snapshot API Free (EOD), Starter, Pro

Sample data

SPY sample data

SPY sample files are sent by hand during early access rather than posted for download. An FOMC day is the most requested SPY slice, so mention it if you want the 14:00 ET statement in the file. The file you get follows the schema below, so you can write your parser before you buy anything.

Schema

Schema

These are the fields in a SPY daily bar row. Intraday bars use the same names with a UTC timestamp in place of date, plus a session tag.

Field Type Description
symbol string Ticker, e.g. SPY
date string Trading date, YYYY-MM-DD, exchange calendar
interval string 1d, 1w or 1mo
open number Split-adjusted open
high number Split-adjusted high
low number Split-adjusted low
close number Split-adjusted close
volume number Split-adjusted share volume, consolidated
unadjusted_close number Raw printed close (also unadjusted_open, _high, _low)
adjusted_close number Split and dividend adjusted close (total return)
dividend number Cash dividend with ex-date on this day, else 0
split_factor number Split ratio effective this day, else 1
exchange string Primary listing MIC, e.g. ARCX
currency string ISO 4217 code, USD

API

Get it by API

The call below pulls SPY 1-minute bars for 2026-10-28. Bars are stamped at the start of the minute, in UTC, and a minute with no trades has no bar. Every parameter is in the stock bars reference. Keys are issued to the early access list.

Example (curl)

curl -s "https://api.marketdata.co/v1/stocks/bars?symbol=SPY&interval=1m&start=2026-10-28&end=2026-10-28" \
  -H "Authorization: Bearer $MARKETDATA_API_KEY"

Example (Python)

import os
import pandas as pd
import requests

resp = requests.get(
    "https://api.marketdata.co/v1/stocks/bars",
    params={"symbol": "SPY", "interval": "1m", "start": "2026-10-28", "end": "2026-10-28"},
    headers={"Authorization": f"Bearer {os.environ['MARKETDATA_API_KEY']}"},
)
resp.raise_for_status()
bars = pd.DataFrame(resp.json()["results"])
day_vwap = (bars["vwap"] * bars["volume"]).sum() / bars["volume"].sum()
print(f"SPY day VWAP from 1m bars: {day_vwap:.2f}")

Datasets

Get it as a file

Some people never touch the API. For them, every SPY dataset is a download: CSV for spreadsheets, Parquet for code. The price is set per symbol, not per month. Full 1-minute history costs $5, a year of trades costs $15, and corporate actions are free with bars. ETF holdings history is sold as its own file, at $99 per year of data across all US ETFs.

SPY tick files are very large. Start with one year in Parquet before you order more. The store opens to the early access list first. Join early access.

Use cases

About SPDR S&P 500 ETF (for traders)

SPDR S&P 500 ETF Trust tracks the S&P 500 and lists on NYSE Arca. It launched in January 1993 and was the first US-listed ETF, so it has the longest ETF history there is.

Everything that moves the US market moves SPY: Fed decisions, CPI, payrolls, mega-cap earnings. Because of that, it is the default benchmark, the default hedge and the first symbol most people backtest.

SPY is set up as a unit investment trust. Unlike most newer ETFs it cannot reinvest dividends between payments, so it holds a little cash until the quarterly distribution. Over a long test, use adjusted_close to capture the payouts.

Its option chain is the most active in the world, with expirations every trading day, which is why zero-day option studies usually start with SPY. On the stock side, extended-hours trading is heavy, so check whether your test should include the pre and post sessions.

Pricing

Pricing

Here is how the plans split the SPY data. Commercial use starts at Business. More detail on the pricing page.

Data Free Starter $29 Pro $79 Business $249
Daily bars About 2 years Full history Full history, higher limits Full history, commercial use
1-minute bars No 15-min delayed, 5 years Real time, full history, 1-second bars Real time (SIP), commercial use
Trades No No 15-min delayed, 10 years Real time, full history
ETF holdings and flows No Profile and latest holdings Holdings history and daily flows Commercial use
Splits and dividends 2 years Full history Full history Full history, commercial use
Option chain End of day, 5 underlyings a day 15-min delayed with Greeks Real time Real time, commercial use

FAQ

Frequently asked questions

How much SPY history will I get?

The aim is everything since January 1993, when it launched as the first US-listed ETF. Free covers about 2 years of daily bars and Starter covers the full daily series, while minute bars go back 5 years on Starter and further on Pro. These are early access plans, not live coverage.

Is SPY data adjusted for splits and dividends?

Yes. SPY has never split, so the price fields match the raw prints, but adjusted_close includes the quarterly distributions. That is the column to use for any total-return comparison.

Are SPY bar times in Eastern time or UTC?

UTC. Intraday timestamp values are ISO 8601 UTC and mark the start of each bar. SPY reacts to 8:30 ET releases in the pre session and to 14:00 ET Fed statements during regular hours, so keep both in mind when you filter by session.

Is SPY the same as the S&P 500 index data?

No. SPY is a fund that trades with volume, a bid and an ask, and pays distributions. The S&P 500 index level is a calculated value with no volume. Use SPY for trading tests and our index data for the index itself.

Is there a free SPY sample?

Not a ready-made one yet, but you can ask for one. Use the request button above and we'll send a sample file in the same schema. An FOMC day is the most requested SPY slice, so mention it if you want the 14:00 ET statement in the file.

Keep reading