Introducing EarningsBench: we tested 6 LLMs on SEC filing extraction. [Learn more.](https://www.financialdatasets.ai/news/earningsbench)

FINANCIAL DATASETS
Products:
  [Financial Statements](https://docs.financialdatasets.ai/api/financials/income-statements)
  [Stock Prices](https://docs.financialdatasets.ai/api/prices/historical)
  [SEC Filings](https://docs.financialdatasets.ai/api/filings/ticker)
  [Insider Trades](https://docs.financialdatasets.ai/api/insider-trades/insider-trades)
  [Institutional Holdings](https://docs.financialdatasets.ai/api/institutional-holdings/ticker)
  [Earnings](https://docs.financialdatasets.ai/api/earnings/earnings)
Developers:
  [Docs](https://docs.financialdatasets.ai/introduction)
  [Quickstart](https://docs.financialdatasets.ai/quickstart)
  [MCP Server](https://docs.financialdatasets.ai/mcp-server)
  [agents.md](https://www.financialdatasets.ai/agents.md)
  [OpenAPI Spec](https://www.financialdatasets.ai/openapi.json)
  [llms.txt](https://www.financialdatasets.ai/llms.txt)
  [Support](mailto:support@financialdatasets.ai)
Resources:
  [News](https://www.financialdatasets.ai/news)
  [Pricing](https://www.financialdatasets.ai/pricing)
  [Enterprise](https://www.financialdatasets.ai/enterprise)
  [Contact](https://www.financialdatasets.ai/contact)
[LOG IN](https://www.financialdatasets.ai/login)
[SIGN UP](https://www.financialdatasets.ai/register)

# Connect your agent to the stock market

The stock market API built for AI agents. Real-time and historical financial data for 27,530 US tickers over 30+ years, plus annual fundamentals for 674 UK companies and 376 French companies, served as structured JSON from one REST API.

[GET AN API KEY](https://www.financialdatasets.ai/login)
[READ THE DOCS](https://docs.financialdatasets.ai/introduction)

## What this is

Financial Datasets is a REST API for US stock market data. Base URL: https://api.financialdatasets.ai. Every endpoint returns JSON and authenticates with an X-API-KEY header. Sign up at [financialdatasets.ai/register](https://www.financialdatasets.ai/register) and copy your key from the dashboard. Agents with a wallet can also pay per request with x402, no key or account needed: [docs.financialdatasets.ai/x402](https://docs.financialdatasets.ai/x402). Announcement: [financialdatasets.ai/news/x402](https://www.financialdatasets.ai/news/x402).

## Coverage

- 27,530 active and delisted US tickers. Delisted companies are included, so datasets are survivorship-bias-free for backtesting.
- 100% of US public companies: every company that files with the SEC.
- 30+ years of fundamentals: income statements, balance sheets, and cash flow statements dating back to the early 1990s.
- Real-time ingestion: SEC filings are processed within seconds of publication.
- UK: annual income statements, balance sheets, cash flow statements, and financial metrics for 674 UK companies. Request with a UK ticker plus market=UK, or by ISIN. Announcement: [financialdatasets.ai/news/uk-fundamentals](https://www.financialdatasets.ai/news/uk-fundamentals).
- France: annual income statements, balance sheets, cash flow statements, and financial metrics for 376 French companies, including the CAC 40. Request with a French ticker plus market=FR, or by ISIN. Guide: [docs.financialdatasets.ai/guides/get-france-fundamentals-python](https://docs.financialdatasets.ai/guides/get-france-fundamentals-python). Announcement: [financialdatasets.ai/news/france-fundamentals](https://www.financialdatasets.ai/news/france-fundamentals).
- Not covered yet: options, indices, and currencies. More markets are coming.

Full details: [market coverage](https://docs.financialdatasets.ai/market-coverage).

## Where the data comes from

Fundamentals, SEC filings, insider transactions, and institutional holdings are parsed directly from SEC EDGAR without intermediaries. Stock prices come from Databento. Details: [data provenance](https://docs.financialdatasets.ai/data-provenance).

## API endpoints

- [Financial Statements](https://docs.financialdatasets.ai/api/financials/income-statements): income statements, balance sheets, and cash flow statements. Normalized, as-reported, and segmented variants. GET /financials/income-statements, /financials/balance-sheets, /financials/cash-flow-statements.
- [Financial Metrics](https://docs.financialdatasets.ai/api/financial-metrics/snapshot): valuation, profitability, and growth ratios. Historical and real-time snapshot.
- [Stock Prices](https://docs.financialdatasets.ai/api/prices/historical): historical OHLCV plus real-time company and market snapshots. GET /prices, /prices/snapshot.
- [SEC Filings](https://docs.financialdatasets.ai/api/filings/ticker): full filings plus item-level extraction for 10-K, 10-Q, and 8-K (for example item 1A Risk Factors). GET /filings, /filings/items.
- [Insider Trades](https://docs.financialdatasets.ai/api/insider-trades/insider-trades): Forms 3, 4, and 5, plus insider ownership.
- [Institutional Holdings](https://docs.financialdatasets.ai/api/institutional-holdings/ticker): 13F holdings by investor or by ticker, plus activist and beneficial ownership.
- [Earnings](https://docs.financialdatasets.ai/api/earnings/earnings): earnings results and press releases, plus KPI metrics, forward guidance, and non-GAAP metrics.
- [Stock Screener](https://docs.financialdatasets.ai/api/financials/search-screener): POST /financials/search/screener, plus line-item search across statements.
- [Company News](https://docs.financialdatasets.ai/api/news/company): ticker-attributed company and market news.
- [Index Funds](https://docs.financialdatasets.ai/api/index-funds/ticker): ETF and index fund holdings, and funds by holding.
- [IPOs](https://docs.financialdatasets.ai/api/ipos/ipos): IPO filings.
- [Interest Rates](https://docs.financialdatasets.ai/api/macro/interest-rates/historical): central bank rates (FED, ECB, BOJ, and more).

Complete API map: [llms.txt](https://www.financialdatasets.ai/llms.txt). Machine-readable spec: [openapi.json](https://www.financialdatasets.ai/openapi.json). Every docs page is fetchable as raw markdown by appending .md to its URL.

## Conventions

- Tickers are uppercase symbols (AAPL, MSFT, SPY). Many endpoints accept ticker or cik.
- Dates use YYYY-MM-DD, with _gte, _lte, _gt, and _lt filter operators on fields like report_period and filing_date.
- period is annual, quarterly, or ttm. limit controls the number of results.
- Discover covered tickers by appending /tickers to most endpoints, for example GET /financials/tickers.

## Quick start

```bash
curl -H "X-API-KEY: YOUR_API_KEY" \
  "https://api.financialdatasets.ai/financials/income-statements?ticker=AAPL&period=annual&limit=4"
```

Setup takes about 30 seconds: create an account, copy your API key from the dashboard, and include it in the X-API-KEY header. Full walkthrough with Python and JavaScript examples: [quickstart](https://docs.financialdatasets.ai/quickstart).

## MCP server

Connect any MCP client to https://mcp.financialdatasets.ai/ (OAuth) or https://mcp.financialdatasets.ai/api with an X-API-KEY header. Works with Claude, Claude Code, Cursor, and the MCP SDKs. Tools cover prices, financial statements, metrics, filings, ownership, news, and screening. Setup guides: [MCP server docs](https://docs.financialdatasets.ai/mcp-server).

```bash
claude mcp add --transport http financial-datasets https://mcp.financialdatasets.ai/
```

## Pricing

- Credits: $20 one-time for 1,000 requests. All core data endpoints, real-time data, 1 year of history.
- Build: $200/month for 100,000 requests. All core data endpoints, real-time data, 3+ years of price history, 30+ years of other history.
- Scale: $2,000/month for 2,000,000 requests. Adds data redistribution rights, webhooks, and uptime SLAs.
- Enterprise: custom plan for bulk data delivery, historical backfills, zero data retention, and custom terms.
- Premium data (IPOs, operating KPIs, forward guidance, non-GAAP metrics) is available on every plan; each premium request counts as 8x on Credits, 4x on Build, and 2x on Scale.

Details and FAQs: [financialdatasets.ai/pricing](https://www.financialdatasets.ai/pricing).

## Machine-readable resources

- Agent onboarding: [https://www.financialdatasets.ai/agents.md](https://www.financialdatasets.ai/agents.md)
- API map: [https://www.financialdatasets.ai/llms.txt](https://www.financialdatasets.ai/llms.txt)
- OpenAPI spec: [https://www.financialdatasets.ai/openapi.json](https://www.financialdatasets.ai/openapi.json)
- Docs index for LLMs: [https://docs.financialdatasets.ai/llms.txt](https://docs.financialdatasets.ai/llms.txt)
- MCP server: https://mcp.financialdatasets.ai/
- Markdown mirrors: every page on this site is available as plain markdown. Append .md to the path (/pricing.md, /news.md, /contact.md, /news/<slug>.md). This homepage is /index.md.
- Support: [support@financialdatasets.ai](mailto:support@financialdatasets.ai) or [Discord](https://discord.gg/hTtb8wzgSQ)

Latest updates

November 9
[US GDP DATA IS LIVE: 12 SERIES BACK TO 1947](https://www.financialdatasets.ai/news/gdp-data)

November 4
[FRANCE FUNDAMENTALS ARE LIVE FOR 376 PARIS-LISTED COMPANIES](https://www.financialdatasets.ai/news/france-fundamentals)

October 26
[UK FUNDAMENTALS ARE LIVE FOR 674 LONDON-LISTED COMPANIES](https://www.financialdatasets.ai/news/uk-fundamentals)

October 23
[INTRODUCING X402 PAYMENTS](https://www.financialdatasets.ai/news/x402)

CONTACT
  [support@financialdatasets.ai](mailto:support@financialdatasets.ai)

LEGAL
  [Terms of Service](https://www.financialdatasets.ai/terms-of-use)
  [Privacy Policy](https://www.financialdatasets.ai/privacy-policy)
  [Subprocessors](https://www.financialdatasets.ai/subprocessors)

[X / TWITTER](https://x.com/findatasets)

Financial Datasets, Inc. 2026