Built into AlgoGP (data) Pro

How to get a EODHD API key

EODHD gives every registered user an API token; there is also a public demo token for a few tickers.

About 3 minutes 2 steps Checked October 2026

Before you start

  • An email address

Create your EODHD API key

  1. 1

    Register

    Sign up at eodhd.com.

  2. 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"
A JSON array of daily bars means the token works.

Add the key to your AlgoGP project

  1. 1

    Open your project’s APIs & keys tab

    Open the strategy project, select APIs & keys, and under Platforms choose EODHD (Pro).

  2. 2

    Paste each value

    Paste the values into EODHD_API_TOKEN and click Save. Values are encrypted at rest, never shown again and never written into code or exports.

  3. 3

    Run locally with the same names

    Exported projects read the same names from .env (copy .env.example). Keep .env out of version control.

EODHD_API_TOKEN=paste-your-value-here
.env for local runs

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.

How the EODHD API works

AlgoGP is not affiliated with EODHD. Menus get renamed from time to time; if a label differs, the official documentation has the current path.