Options Data for US Stocks: End-of-Day and Historical Learn more

Historical Stock Data API:
30+ Years of End‑of‑Day Prices

Daily OHLCV for stocks, ETFs, funds, indices, forex pairs and digital currencies across 60+ exchanges. JSON or CSV, adjusted close included, one API key for everything.

No credit card required. The free plan covers end-of-day prices, splits, dividends and delayed quotes — 20 calls a day, one year of history, every ticker.

Two ways to get this data

Response example — 7,900+ records

[
  {
    "date": "1995-01-03",
    "open": 38.8752,
    "high": 38.8752,
    "low": 37.8784,
    "close": 38.3712,
    "adjusted_close": 0.2837,
    "volume": 103868800
  },
  ...
]

Via REST API

https://eodhd.com/api/eod/AAPL.US?from=1995-01-01&fmt=json&api_token=demo

or

AI prompt via MCP server

Show me daily Apple share prices from 1995

Identical either way — same endpoint, same data.

30+ Years of data
60+ Stock exchanges
20 000+ ETFs
150 000+ Tickers
1 100+ Forex Pairs

Choose a plan

  • Flexibility: No long-term commitments, just a minimum of one month
  • Instant access: Get your API key and instructions within seconds of subscribing
  • Try It Free: Upgrade to advanced access when you’re ready

What you get

One API key, REST endpoints, JSON or CSV on every call. Full reference in the EOD API documentation.

End-of-day OHLCV

Open, high, low, close and volume for every trading day, back 30+ years on major exchanges. Stocks, ETFs, funds, indices and bonds.

GET /api/eod/{SYMBOL}

Adjusted close, splits and dividends

Every response carries adjusted_close next to the raw close, so a backtest does not break on a split. The corporate actions behind it are included too, as their own history — for dividend series and total-return maths.

GET /api/div/{SYMBOL} · /api/splits/{SYMBOL}

Whole exchange in one request

The Bulk API returns an entire exchange at once — the US market, 45,000+ active tickers, in 5 to 10 seconds. Included from this plan up; the only tier without it is Free.

GET /api/eod-bulk-last-day/{EXCHANGE}

60+ exchanges, worldwide

US and international markets with local tickers and currencies. Query the supported list programmatically before you subscribe.

GET /api/exchanges-list

Forex and digital currencies

1,100+ forex pairs and major digital currencies share the same EOD endpoint and the same response shape as equities.

GET /api/eod/EURUSD.FOREX

CSV without writing code

Add fmt=csv to any request, or use the Google Sheets and Excel add-ons and the Windows downloader — same API key, no programming.

GET /api/eod/{SYMBOL}?fmt=csv
MCP server · 88 tools

Ask your assistant, not the API

Connect the EODHD MCP server once and Claude, ChatGPT, Cursor or Windsurf query 30+ years of end-of-day history themselves — resolving tickers, pulling the series, applying splits and dividends. No client code, no CSV wrangling.

How it works in your assistant

You ask: Compare the total return of Apple and Microsoft from 2015 to 2025, adjusted for splits and dividends, and tell me the worst drawdown each one had.

Called eodhd-mcp 5 times

5 tool calls

  1. Finds the tickersresolve_ticker“Apple” → AAPL.US, “Microsoft” → MSFT.US
  2. Pulls Apple pricesget_historical_stock_pricesAAPL.US, 2015-01-01 → 2025-01-01
  3. Pulls Microsoft pricesget_historical_stock_pricesMSFT.US, same window
  4. Pulls splitsget_historical_splitsboth tickers
  5. Pulls dividendsget_historical_dividendsboth tickers

2,516 trading days each. The assistant does the arithmetic.

It answers:
AppleMicrosoft
Total return+928.5%+949.7%
On raw close only+129.0%+801.4%
Worst drawdown−38.5%Trough Jan 2019−37.1%Trough Nov 2022
Splits4:1, Aug 2020none
Dividends40 payments, $7.6740 payments, $20.76

Apple looks like a +129% decade if you use raw closing prices. The 4:1 split in August 2020 is why. Adjusted close is the difference between +129% and +928.5% — and it ships in every response.

Figures computed from this API over a closed window, 2015-01-02 to 2024-12-31. Reproducible with the public demo key.

Connect to MCP in one line

Paste the URL into Claude Desktop, ChatGPT MCP Connector, Cursor or Windsurf.

v1 · API key

https://mcp.eodhd.com/v1/mcp?apikey=YOUR_API_KEY

Your API key goes in the URL. For ChatGPT, Claude Code and other v1 clients.

v2 · OAuth 2.1

https://mcp.eodhd.com/v2/mcp

No API key in the URL — approve the OAuth consent. For Claude Desktop.

Build with EODHD

Not using an assistant? The same API key works from your code, your spreadsheet, or a client you generate yourself.

Agent skills

EODHD as a Claude Code plugin

Install the skills plugin and your agent knows the endpoints, parameters and ticker formats — no prompt engineering per request.

Claude Code

eodhd-claude-skills
SDKs

Official clients

Maintained SDKs for Python, Node.js / TypeScript and C# / .NET. Install, pass your key, call the endpoint.

Python · Node.js · TypeScript · C# / .NET

All libraries
OpenAPI 3.1

Generate a client for any language

A published OpenAPI 3.1 specification and a Postman collection. Generate a typed client for a language we do not ship an SDK for.

OpenAPI · Postman

API reference
No code

Prefer not to write code?

Use one of our ready-to-go integrations.

Not included in this plan

Everything above is EOD All World, $19.99 a month — historical end-of-day prices plus delayed live quotes. The datasets below are not part of it. Same API key and the same integration, so nothing is rebuilt when you move up — but each one needs a higher plan.

All World Extended · $29.99

Intraday

1- and 5-minute candles when daily bars are too coarse.

GET /api/intraday/{SYMBOL}
All World Extended · $29.99

Real-time over WebSocket

Streaming prices rather than the 15‑minute delayed quotes your plan already includes.

wss://ws.eodhistoricaldata.com/ws/us?api_token=YOUR_API_KEY
All World Extended · $29.99

Technical indicators

SMA, EMA, RSI, MACD and more computed server-side, so you do not pull a full history to get one number.

GET /api/technical/{SYMBOL}
All World Extended · $29.99

Screener

Filter the universe by 100+ criteria to decide which tickers are worth pulling history for.

GET /api/screener
Fundamentals Data Feed · $59.99

Fundamentals

Statements, ratios and earnings for the same tickers, so a price series can be screened on financials. Also in All-In-One.

GET /api/fundamentals/{SYMBOL}
Most of it is one step up. Intraday, real-time, technical indicators and the screener all come with All World Extended at $29.99 — $10.00 more than this page’s plan. Fundamentals needs either the Fundamentals Data Feed at $59.99 or All-In-One at $99.99. Compare every plan on the pricing page.

Trusted by people,
proven through success stories

We are proud to witness an incredible number of projects developed and launched with the assistance of the data we provide. This motivates us to continuously enhance our service.

Questions & Answers

Feel free to ask us anything related to our service & subscription plans in live chat.
You'll only find real assistants on the other end.

Is there a free historical stock data API?
Yes, and it needs no credit card. The Free Starter plan gives 20 API calls a day for personal use, with one year of historical depth on every ticker — end-of-day prices, splits, dividends and delayed quotes included. Paid plans start at $19.99 a month and unlock 30+ years of history with 100,000 calls a day.
Can I download historical prices as CSV?
Yes. Every EOD endpoint returns JSON or CSV — add fmt=csv to the request. The same data is available through the Excel and Google Sheets add-ons and the Windows downloader if you would rather not write code.
How can I get EOD data if I don't know how to code?
Use the Google Sheets or Excel add-on, or the Windows data downloader. All three use the same API key and need no programming.
Where do I find the adjusted close price?
Every EOD response includes an adjusted_close field alongside open, high, low, close and volume. It is adjusted for splits and dividends.
Can I download data for a whole exchange in one request?
Yes, through the Bulk API — one request returns an entire exchange, for example the US market with more than 45,000 active tickers in 5 to 10 seconds.
Which programming languages have an official SDK?
Python, Node.js / TypeScript and C# / .NET are the officially maintained SDKs. An OpenAPI 3.1 specification is published, so you can generate a client for any other language.
Can AI assistants query the data directly?
Yes. The EODHD MCP server exposes the API to Claude, ChatGPT, Cursor and Windsurf, and there is a Claude Agent Skills plugin. Both use your existing API key.
Which markets and instruments are covered?
60+ stock exchanges worldwide, 150,000+ tickers, 20,000+ ETFs and 1,100+ forex pairs, plus funds, indices, bonds and digital currencies. The exchanges list is queryable before you subscribe.
How often is historical data updated?
End-of-day prices are updated daily after each exchange closes.
What if I find an inaccuracy in the data?
Report it to support and the data team checks the ticker against the source. Support is staffed by people, not bots.

Start with 30+ years of end-of-day data

Create a key, run one request, and see the response shape before you pay anything.

Send the request

Leave your email and our team will contact you ASAP.