Stock market API with real-time and historical financial data for 27,000+ tickers over 30+ years. Financial statements, equity prices, insider transactions, SEC filings, and more.
Show off your agentic readiness — the badge auto-updates when your score changes.
llms.txt Content
# Financial Datasets
> Financial Datasets is a developer-friendly REST API providing institutional-grade stock market data for AI agents, quantitative research, and financial applications.
Financial Datasets covers 27,000+ active and delisted US tickers with 30+ years of historical data, sub-200ms response times, and 99.98% uptime. All endpoints use simple GET/POST requests with API key authentication.
## Base URL
https://api.financialdatasets.ai
## Authentication
Include your API key in the `X-API-KEY` header with every request.
Free tier (no API key needed): AAPL, MSFT, NVDA, TSLA, GOOGL
Get your API key at: https://financialdatasets.ai
## API Endpoints
### Financial Statements
- [Income Statements](https://docs.financialdatasets.ai/api/financials/income-statements): GET /financials/income-statements
- [Balance Sheets](https://docs.financialdatasets.ai/api/financials/balance-sheets): GET /financials/balance-sheets
- [Cash Flow Statements](https://docs.financialdatasets.ai/api/financials/cash-flow-statements): GET /financials/cash-flow-statements
- [All Financial Statements](https://docs.financialdatasets.ai/api/financials/all-financial-statements): GET /financials
- `ticker` (required), `period` (annual|quarterly|ttm, default: annual), `limit` (default: 4), `report_period` filters
### Segmented Financials
- [Income Statement Segments](https://docs.financialdatasets.ai/api/financials/income-statement-segments): GET /financials/income-statements/segments
- [Balance Sheet Segments](https://docs.financialdatasets.ai/api/financials/balance-sheet-segments): GET /financials/balance-sheets/segments
- [Cash Flow Statement Segments](https://docs.financialdatasets.ai/api/financials/cash-flow-statement-segments): GET /financials/cash-flow-statements/segments
- [All Segmented Financials](https://docs.financialdatasets.ai/api/financials/all-segments): GET /financials/segments
- `ticker` (required), `period` (annual|quarterly, no ttm), `limit` (default: 4), `repor
OpenAPI Spec (preview)
{
"openapi": "3.0.1",
"info": {
"title": "Financial Datasets API",
"description": "Stock market API with real-time and historical financial data for 27,000+ tickers over 30+ years. Financial statements, equity prices, insider trades, SEC filings, and more.",
"version": "1.0.0",
"license": {
"name": "MIT",
"url": "https://opensource.org/licenses/MIT"
},
"contact": {
"name": "API Support",
"url": "mailto:support@financialdatasets.ai",
"emai