Before you start
- An email address
Create your EODHD API key
- 1
Register
Sign up at eodhd.com.
- 2
Copy the token
Open Settings in your dashboard and copy the API token. Save it as
EODHD_API_TOKEN.
Test the key
Before wiring the key into a strategy, make one request by hand. It separates “the key is wrong” from “my code is wrong”.
curl -s "https://eodhd.com/api/eod/AAPL.US?api_token=$EODHD_API_TOKEN&fmt=json&from=2025-01-02&to=2025-01-10"Add the key to your AlgoGP project
- 1
Open your project’s APIs & keys tab
Open the strategy project, select APIs & keys, and under Platforms choose EODHD (Pro).
- 2
Paste each value
Paste the values into
EODHD_API_TOKENand click Save. Values are encrypted at rest, never shown again and never written into code or exports. - 3
Run locally with the same names
Exported projects read the same names from
.env(copy.env.example). Keep.envout of version control.
EODHD_API_TOKEN=paste-your-value-hereTurn 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.
AlgoGP is not affiliated with EODHD. Menus get renamed from time to time; if a label differs, the official documentation has the current path.