Before you start
- An email address (no card for the free plan)
Create your Financial Modeling Prep API key
- 1
Sign up
Create an account at financialmodelingprep.com and verify your email.
- 2
Open the dashboard
Go to Dashboard (
site.financialmodelingprep.com/developer/docs/dashboard). - 3
Copy the API key
Copy the key at the top of the page; save it as
FMP_API_KEY. The usage block below shows today’s calls.
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://financialmodelingprep.com/stable/historical-price-eod/full?symbol=AAPL&apikey=$FMP_API_KEY" | head -c 300Invalid API KEY means it does not.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 Financial Modeling Prep (Pro).
- 2
Paste each value
Paste the values into
FMP_API_KEYand 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.
FMP_API_KEY=paste-your-value-hereTroubleshooting
429- The 250 daily requests are used up; the counter resets after 24 hours.
Restricted Endpoint- That dataset or symbol needs a paid plan.
Frequently asked questions
Does the FMP free key expire?
No. Free accounts stay free and the key keeps working within the daily limit.
Turn Financial Modeling Prep data into a tested strategy
Backtest an idea in the browser, then export Python whose live loop reads candles straight from Financial Modeling Prep with your own key.
- Generated Financial Modeling Prep 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. Financial Modeling Prep is included with Pro.
How the Financial Modeling Prep API works
AlgoGP is not affiliated with Financial Modeling Prep. Menus get renamed from time to time; if a label differs, the official documentation has the current path.