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

Historical data ยท Early access

Microsoft (MSFT) Historical Data Download

MSFT daily and intraday bars, tick trades, splits and dividends, SEC financials (free sample below) and option chains.

Coverage

Data available for MSFT

Microsoft's financial statements are already in our free sample, taken from SEC EDGAR. Bars, trades and option chains follow in early access.

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)
Splits, dividends, symbol changes MSFT dividends, splits and ticker changes, with ex, record and pay dates Per event API and file Free (2 yrs), Starter (full)
Financial statements and ratios Statements from SEC filings, plus ratios Quarterly and annual API and file Free (4 quarters), Starter (full)
Option chain snapshot All MSFT contracts with quotes, open interest, Greeks Snapshot API Free (EOD), Starter, Pro

Sample data

Sample data preview

This is real data, not a mock-up. Our free US Company Financials file has 865 rows for 8 large caps since 2023, built from SEC EDGAR filings, and 113 of them are MSFT. Here are the first 10 MSFT rows exactly as they appear in the CSV.

symbol metric calendar_period period_start period_end value unit form filed_date accession_number
MSFT cash_and_equivalents CY2023Q1I 2023-03-31 26562000000 USD 10-Q 2023-04-25 0000950170-23-014423
MSFT eps_diluted CY2023Q1 2023-01-01 2023-03-31 2.45 USD/share 10-Q 2024-04-25 0000950170-24-048288
MSFT net_income CY2023Q1 2023-01-01 2023-03-31 18299000000 USD 10-Q 2024-04-25 0000950170-24-048288
MSFT operating_cash_flow CY2023Q1 2023-01-01 2023-03-31 24441000000 USD 10-Q 2024-04-25 0000950170-24-048288
MSFT revenue CY2023Q1 2023-01-01 2023-03-31 52857000000 USD 10-Q 2024-04-25 0000950170-24-048288
MSFT shareholders_equity CY2023Q1I 2023-03-31 194683000000 USD 10-Q 2024-04-25 0000950170-24-048288
MSFT total_assets CY2023Q1I 2023-03-31 380088000000 USD 10-Q 2023-04-25 0000950170-23-014423
MSFT total_liabilities CY2023Q1I 2023-03-31 185405000000 USD 10-Q 2023-04-25 0000950170-23-014423
MSFT eps_diluted CY2023 2022-07-01 2023-06-30 9.68 USD/share 10-K 2025-07-30 0000950170-25-100235
MSFT operating_cash_flow CY2023 2022-07-01 2023-06-30 87582000000 USD 10-K 2025-07-30 0000950170-25-100235

Source: SEC EDGAR

The file holds statement data such as revenue, net_income and eps_diluted. MSFT price bars are not part of it; for those, request a sample.

Schema

Schema

Every MSFT daily row has the fields below. Nothing is abbreviated: you get open, not o, and the date follows the exchange calendar, so holidays simply have no row.

Field Type Description
symbol string Ticker, e.g. MSFT
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. XNAS
currency string ISO 4217 code, USD

API

Get it by API

Swap the symbol and dates and this is the whole integration. For 2026-10-21, MSFT's regular session runs from 13:30 UTC to 20:00 UTC in the timestamp field. Keys go to the early access list first; the stock bars reference lists every parameter.

Example (curl)

curl -s "https://api.marketdata.co/v1/stocks/bars?symbol=MSFT&interval=1m&start=2026-10-21&end=2026-10-21" \
  -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": "MSFT", "interval": "1m", "start": "2026-10-21", "end": "2026-10-21"},
    headers={"Authorization": f"Bearer {os.environ['MARKETDATA_API_KEY']}"},
)
resp.raise_for_status()
bars = pd.DataFrame(resp.json()["results"])
bars["timestamp"] = pd.to_datetime(bars["timestamp"])
print(bars.set_index("timestamp")["close"].resample("5min").last().head())

Datasets

Get it as a file

MSFT data is also sold as plain downloads, in CSV or Parquet, with the same columns as the API. You pay once per symbol: 1-minute bars are $5 for the whole history and trades are $15 a year. Dividends and splits come with any bar file at no charge. Fundamentals for every US company, all periods, are a $199 file.

MSFT minute history goes back further than most single-stock files, so check the size before you choose CSV. None of these files are on sale yet. Join early access to get the first download links.

Use cases

About Microsoft (for traders)

Microsoft sells cloud services through Azure, Office and other productivity software, Windows, LinkedIn, and gaming through Xbox and Activision Blizzard. It lists on Nasdaq and is one of the largest weights in both the S&P 500 and the Nasdaq-100.

Azure growth and AI capital spending are what the market watches on earnings, which come after the close. Because of its index weight, MSFT moves also feed directly into SPY and QQQ.

Microsoft's fiscal year ends on June 30. You can see it in our sample: the row labelled CY2023 for diluted EPS covers 2022-07-01 to 2023-06-30. Align on period_end, not on the label, when you join MSFT fundamentals with a calendar-year company.

The stock split nine times between 1987 and 2003, so raw 1990s prices are far from adjusted ones. All of those splits are in our corporate actions data, and Microsoft has paid a quarterly dividend since 2003.

Pricing

Pricing

What each plan covers for MSFT. All prices are monthly; see full pricing for rate limits and dataset prices.

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
Splits and dividends 2 years Full history Full history Full history, commercial use
Financial statements Last 4 quarters Full EDGAR history, ratios Full EDGAR history, ratios 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 far back does MSFT historical data go?

MSFT has public price history since its March 1986 IPO on Nasdaq. In early access the plan is about 2 years of daily bars on Free, full daily history on Starter, and 1-minute history on Starter (5 years) or Pro (full). Nothing is live yet, so treat these as what you'll get, not current coverage.

Is MSFT data adjusted for splits and dividends?

Yes. All nine MSFT splits from 1987 to 2003 are applied to the OHLC and volume fields, and adjusted_close adds the quarterly dividends paid since 2003. The unadjusted_* fields keep the original prints.

Which time zone are MSFT timestamps in?

UTC, in ISO 8601. Daily rows use a plain date on the exchange calendar instead. Microsoft reports after the close, so the first reaction is in post session bars. Convert to New York time in pandas with tz_convert("America/New_York").

Why does the MSFT sample show fiscal-year dates?

Because Microsoft's fiscal year runs July to June. The sample keeps the real period_start and period_end from each filing, so a CY2023 annual row spans 2022-07-01 to 2023-06-30. Join on period_end when you compare it with other companies.

Is there a free MSFT sample?

Yes. The US Company Financials sample includes 113 real MSFT rows from SEC EDGAR, free to download. It covers financial statements, not prices; price samples for MSFT are available on request.

Keep reading