Skip to main content
Financial Modeling Prep logo

Financial Modeling Prep

Lets an agent pull stock-market and company-fundamentals data from Financial Modeling Prep (FMP): real-time quotes, company profiles, the three financial statements, key metrics and ratios, historical daily prices, symbol search, and market news.

What it can do

MethodWhat it does
fmp_quoteReal-time quote(s) for one ticker or a comma-separated list.
fmp_profileCompany profile - sector, industry, description, CEO, market cap.
fmp_income_statementIncome statement by period (annual/quarter).
fmp_balance_sheetBalance sheet statement by period.
fmp_cash_flowCash flow statement by period.
fmp_key_metricsPer-period valuation and efficiency metrics.
fmp_ratiosLiquidity, profitability, leverage and valuation ratios.
fmp_historical_priceDaily OHLCV history, optionally bounded by date.
fmp_searchSearch symbols / companies by name or ticker.
fmp_stock_newsRecent market news, optionally filtered by tickers.
fmp_requestGeneric passthrough to any endpoint for full coverage.

How to get your key

The API authenticates with an apikey query parameter on every request.

  1. Sign in at Financial Modeling Prep.
  2. Open the Developer Docs and go to your Dashboard.
  3. Copy your API key (a free tier is available).
  4. Paste it into FlyMyAI.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
FMP_API_KEYFinancial Modeling Prep -> Developer Docs -> Dashboard

Troubleshooting

  • 401 Unauthorized / Invalid API KEY - the key is wrong or missing. Re-copy it from your dashboard.
  • 403 Forbidden / endpoint not in your plan - the endpoint requires a paid tier. Upgrade or use a covered endpoint.
  • 429 Too Many Requests - you hit your plan's rate or daily limit. Wait for the reset or upgrade.
  • Empty result for a ticker - check the symbol (use the exchange-listed ticker, e.g. AAPL); some symbols need an exchange suffix.
We love our partners - FlyMy.AI builds with the best. Thanks, Financial Modeling Prep!