Built into AlgoGP (data) Pro
Market dataStocksETFsForexCryptoFundamentals API key

EODHD API guide

EODHD is a budget-friendly choice for global coverage: one key gets you daily history for stocks on exchanges from London to Tokyo, plus ETFs, funds, FX and crypto.

Last verified · Also known as EOD Historical Data

Quick answer

EODHD (EOD Historical Data) serves end-of-day and intraday prices for 150,000+ tickers on dozens of global exchanges, plus fundamentals, FX and crypto, through a simple REST API authenticated by an api_token parameter. The free tier allows 20 calls a day with one year of history; paid plans start around $19.99/month.

EODHD API at a glance

Pricing
Free: 20 calls/day; paid from $19.99/mo
Availability
Worldwide
Paper trading
Not applicable (data only)
Integration type
REST + API key
In AlgoGP
Built in: data adapter (Pro)
EOD
/api/eod/{TICKER}.{EXCHANGE}?api_token=…&fmt=json
Intraday
/api/intraday/{TICKER}?interval=1m|5m|1h
Tickers
AAPL.US, VOD.LSE, EURUSD.FOREX, BTC-USD.CC
Free tier
20 calls/day, 1 year of EOD history

Endpoints and ticker format

Every symbol carries an exchange suffix. Daily bars include adjusted_close; intraday bars come with Unix timestamps. Fundamentals, dividends, splits and an exchange list are separate endpoints. AlgoGP maps EUR/USD to EURUSD.FOREX, BTC/USD to BTC-USD.CC and AAPL to AAPL.US.

Limits and licensing

Paid plans allow 100,000 calls a day; some endpoints cost more than one call. Personal plans are for individual use; commercial and redistribution uses need a business licence.

Use EODHD in AlgoGP

Open a project, go to the APIs & keys tab and, under Platforms, pick EODHD as the market data source (market_data.py). The choice is saved to config.json as a new strategy version:

{
  "platforms": {
    "data": "eodhd",
    "broker": "alpaca"
  }
}
In-app backtests always use AlgoGP’s normalized history so results stay comparable; this choice decides what backtest.py and live.py connect to when you run the exported code.
KeyWhat it is
EODHD_API_TOKENEODHD API token from your account dashboard.
Names the generated code reads. Add values under Keys & secrets or in a local .env.

New to EODHD? Follow the step-by-step EODHD API key guide.

EODHD API: frequently asked questions

Is EODHD free?

A free key gives 20 calls a day and a year of daily data; paid plans start around $19.99/month.

What exchanges does EODHD cover?

Over 60 exchanges worldwide, plus FX, crypto and indices.

Does EODHD have real-time data?

Delayed quotes and a real-time WebSocket product are available on certain plans.

Turn EODHD data into a tested strategy

Backtest an idea in the browser, then export Python whose live loop reads candles straight from EODHD with your own key.

  • Generated EODHD candle fetcher, closed bars only
  • An AI copilot that writes and revises the rules
  • Pair it with Alpaca, Binance, OANDA or another broker

Free plan, no card required. EODHD is included with Pro.

EODHD alternatives

Independent guide. AlgoGP is not affiliated with EODHD. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.