# Financial Datasets > Financial Datasets is a stock market API with financial data for 27,000+ tickers over 30+ years, including financial statements, equity prices, insider transactions, SEC filings, and more. > ## Agent Instructions > The Financial Datasets API is served at https://api.financialdatasets.ai. Authenticate with the `X-API-KEY` header; create keys at https://financialdatasets.ai. Agents can open and fund their own account without a dashboard: see https://docs.financialdatasets.ai/agents.md. > Tool-using agents can call Financial Datasets without writing code through the hosted MCP server at https://mcp.financialdatasets.ai/. > The OpenAPI spec at https://financialdatasets.ai/openapi.json is the source of truth for request and response schemas. > The index of every docs page is at https://docs.financialdatasets.ai/llms.txt. Append .md to any docs URL to get that page as Markdown. - [Introduction](https://docs.financialdatasets.ai/introduction.md): Based in NYC, we build market infrastructure for agents. - [Quick Start](https://docs.financialdatasets.ai/quickstart.md): Get started with the Financial Datasets API in under 2 minutes. Install, authenticate, and make your first stock data API call. - [Data Provenance](https://docs.financialdatasets.ai/data-provenance.md): Primary-source financial data with full provenance transparency. - [Market Coverage](https://docs.financialdatasets.ai/market-coverage.md): Public company financials for 27,000+ tickers over 30+ years. - [Feedback](https://docs.financialdatasets.ai/feedback.md): AI agents can tell us what is missing, wrong, or unclear with one free API call. - [Agent Onboarding](https://docs.financialdatasets.ai/agents.md): AI agents can open their own Financial Datasets account: sign up, pay, and pull data. - [Financial Data MCP Server](https://docs.financialdatasets.ai/mcp-server.md): The official Financial Datasets MCP server for Claude, ChatGPT, Gemini, Cursor, and more: stock prices, financial statements, SEC filings, insider trades, and 13F holdings. - [OpenAPI Spec](https://docs.financialdatasets.ai/openapi-spec.md): Machine-readable API specification for programmatic integration - [Webhooks](https://docs.financialdatasets.ai/webhooks.md): Push notifications for real-time market events. Scale and Enterprise. - [Webhook Event Types](https://docs.financialdatasets.ai/webhooks/events.md): Every event type you can subscribe to, the payload each one carries, and the API endpoint its entries match. - [x402](https://docs.financialdatasets.ai/x402.md): Access the Financial Datasets API without an API key by paying per request with x402. - [Search](https://docs.financialdatasets.ai/search/introduction.md): Ask a question about a public company in plain English and get the answer from what it reported, with a citation. - [Best Practices](https://docs.financialdatasets.ai/search/best-practices.md): Get better answers from Search: write precise queries, improve one change at a time, and use the request shape for each kind of task. - [Activist Investor API (SEC Schedule 13D)](https://docs.financialdatasets.ai/api/activist-ownership.md): Activist investor stakes in US public companies from SEC Schedule 13D filings: 2,400+ companies and 2,900+ activist filers since January 2025, updated within about 1 minute. - [Beneficial Ownership API (13D, 13G)](https://docs.financialdatasets.ai/api/beneficial-ownership.md): Holders of more than 5% of a US public company from SEC Schedules 13D and 13G: activist and passive stakes with full amendment history, for 6,400+ companies since January 2025. - [Company Profile API by CIK](https://docs.financialdatasets.ai/api/company/facts/cik.md): Basic facts about a public company by SEC CIK: name, ticker, sector, industry, exchange, location, and SIC code, for 28,000+ tickers, updated in real time. - [Company Profile API (Sector, CIK)](https://docs.financialdatasets.ai/api/company/facts/ticker.md): Basic facts about a public company by ticker: name, CIK, sector, industry, exchange, location, and SIC code, for 28,000+ tickers, updated in real time. - [Earnings API](https://docs.financialdatasets.ai/api/earnings.md): Revenue, EPS, margins, and cash flow from each earnings release (8-K) and the later 10-Q or 10-K, with quarter-over-quarter and year-over-year changes. - [Earnings Feed API](https://docs.financialdatasets.ai/api/earnings/feed.md): A feed of the newest earnings filings across 6,000+ covered companies, newest first, updated within 5 seconds. - [Financial Metrics API (Historical)](https://docs.financialdatasets.ai/api/financial-metrics/historical.md): Historical financial ratios for 19,000+ US tickers with 30+ years of history: P/E, EV/EBITDA, ROE, margins, growth, and other annual, quarterly, and TTM metrics. - [Financial Metrics API (Snapshot)](https://docs.financialdatasets.ai/api/financial-metrics/snapshot.md): The current financial ratios and metrics of a US stock, including market cap, P/E, EV/EBITDA, margins, and growth, for 13,000+ tickers, updated within 1 second. - [Income Statement API](https://docs.financialdatasets.ai/api/financials/income-statements.md): Income statements for 19,000+ US tickers with 30+ years of history: annual, quarterly, and TTM revenue, expenses, and net income, plus UK and French companies. - [Balance Sheet API](https://docs.financialdatasets.ai/api/financials/balance-sheets.md): Balance sheets for 19,000+ US tickers with 30+ years of history: assets, liabilities, and shareholders equity, plus UK and French companies. - [Cash Flow Statement API](https://docs.financialdatasets.ai/api/financials/cash-flow-statements.md): Cash flow statements for 19,000+ US tickers with 30+ years of history: operating, investing, and financing cash flows, plus UK and French companies. - [Financial Statements API](https://docs.financialdatasets.ai/api/financials/all-financial-statements.md): Income statements, balance sheets, and cash flow statements for 19,000+ US tickers in one call, with 30+ years of history, plus UK and French companies. - [As-Reported Financial Statements API](https://docs.financialdatasets.ai/api/financials/as-reported.md): Income statements, balance sheets, and cash flow statements as the company filed them: each line with its label, value, and place in the statement, from 2010 onward. - [Financial Line Items API](https://docs.financialdatasets.ai/api/financials/search-line-items.md): Pull chosen line items, such as revenue, net income, or free cash flow, from the financial statements of a list of tickers in one request. 19,000+ US tickers, 30+ years. - [GDP Data API](https://docs.financialdatasets.ai/api/macro/gdp/historical.md): US GDP and income history in 12 series: real GDP growth from 1947, real and nominal GDP, the four contributions to growth, income-side growth, corporate profits, personal income, the saving rate, and real consumer spending, with the change from the prior period and from a year earlier. - [Latest GDP Report API](https://docs.financialdatasets.ai/api/macro/gdp/snapshot.md): The latest print of all 12 US growth and income series in one call, including real GDP growth, real and nominal GDP, corporate profits, personal income, and the saving rate, with the change from the prior period and from a year earlier. - [GPU Rental Price API (H100, B200)](https://docs.financialdatasets.ai/api/macro/gpu-prices/historical.md): Daily rental prices for NVIDIA H100, H200, B200, and B300 GPUs in US dollars per GPU hour, from August 2026 to today, updated hourly, with the provider spread and the 1, 7, and 30 day changes. - [Latest GPU Rental Prices API](https://docs.financialdatasets.ai/api/macro/gpu-prices/snapshot.md): Today's rental price of H100, H200, B200, and B300 GPUs in US dollars per GPU hour, with the provider spread and the 1, 7, and 30 day changes, refreshed hourly. - [ETF Holdings API](https://docs.financialdatasets.ai/api/index-funds/ticker.md): The holdings of an ETF or index fund and each position's weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily. - [ETFs Holding a Stock API](https://docs.financialdatasets.ai/api/index-funds/holding.md): The ETFs and index funds whose latest filing holds a given stock, with each fund's weight in it, from SEC fund holdings filings: 4,500+ securities, updated daily. - [Inflation Data API (CPI, PCE)](https://docs.financialdatasets.ai/api/macro/inflation/historical.md): Monthly US CPI (from 1947) and PCE price index (from 1959) history in 14 series, including headline and core, with month-over-month and year-over-year changes, updated within minutes of each monthly release. - [Latest CPI and PCE Inflation API](https://docs.financialdatasets.ai/api/macro/inflation/snapshot.md): The latest month of all 14 US inflation series in one call, 12 CPI and 2 PCE, with month-over-month and year-over-year changes, updated within minutes of each monthly release. - [Insider Ownership API (Forms 3, 5)](https://docs.financialdatasets.ai/api/insider-ownership.md): What officers, directors, and 10% owners hold, from SEC Forms 3 and 5: initial and annual ownership statements for 6,500+ companies and 40,000+ insiders since January 2021, updated daily. - [Insider Trading API (SEC Form 4)](https://docs.financialdatasets.ai/api/insider-trades.md): SEC Form 4 insider trades for 8,200+ US stocks: buys and sells by officers and directors, with 15+ years of history, updated within 10 seconds. - [Insider Sale Notices API (SEC Form 144)](https://docs.financialdatasets.ai/api/insider-sale-notices.md): SEC Form 144 notices of proposed insider stock sales: 130,000+ notices, complete from April 2023, updated within minutes of each filing. - [Congressional Trading API (House Stock Trades)](https://docs.financialdatasets.ai/api/politician-trades.md): Stock trades disclosed by members of the US House of Representatives: 57,000+ trades since 2014, updated within minutes after each report goes public. - [13F Holdings API (by Investor)](https://docs.financialdatasets.ai/api/institutional-holdings/investor.md): The full 13F equity portfolio of any institutional investment manager, by SEC CIK: positions, share counts, and market values, from SEC 13F filings. - [Institutional Holdings API (SEC 13F)](https://docs.financialdatasets.ai/api/institutional-holdings/ticker.md): The institutional investors that hold a stock and the size of each position, from SEC 13F filings: 18,000+ US tickers, 5+ years of history, updated daily. - [Central Bank Interest Rates API](https://docs.financialdatasets.ai/api/macro/interest-rates/historical.md): The daily policy rate of 10 major central banks, including the Federal Reserve, with 70+ years of history, updated the same afternoon for the Federal Reserve and weekly for the other banks. - [Current Central Bank Interest Rates API](https://docs.financialdatasets.ai/api/macro/interest-rates/snapshot.md): The newest published policy rate of 10 major central banks in one call, with the date each rate is in effect, updated the same afternoon for the Federal Reserve and weekly for the other banks. - [IPO Data API (S-1 and F-1 Filings)](https://docs.financialdatasets.ai/api/ipos.md): Every SEC Form S-1, S-1/A, F-1, F-1/A, 424B4, and 424B1 since July 2026, minutes after SEC acceptance, with the proposed ticker, exchange, and expected price, plus full pre-IPO financial statements for IPO-grade companies. - [Labor Market Data API](https://docs.financialdatasets.ai/api/macro/labor/historical.md): US labor market history in 24 series: nonfarm payrolls from 1939, the unemployment rate, participation, hourly earnings, JOLTS job openings, hires, and quits, and weekly jobless claims, with the change from the prior period and from a year earlier. - [Latest Jobs Report API](https://docs.financialdatasets.ai/api/macro/labor/snapshot.md): The latest print of all 24 US labor market series in one call, including nonfarm payrolls, the unemployment rate, JOLTS job openings, and weekly jobless claims, with the change from the prior period and from a year earlier. - [Stock News API (Company News)](https://docs.financialdatasets.ai/api/news/company.md): Recent news articles about a public company by ticker, with title, source, date, and link: 10,000+ tickers with 2+ years of history, updated within 1 minute. - [Market News API](https://docs.financialdatasets.ai/api/news/market.md): Recent market-moving news on AI, macro, rates, earnings, geopolitics, energy, crypto, and more, with no ticker needed, updated within 1 minute. - [Company KPI Data API](https://docs.financialdatasets.ai/api/kpi/metrics.md): Operating KPIs from earnings releases that standard financial statements leave out, such as airline load factor and bank CET1 ratio, for 600+ US tickers with 3+ years of history, updated within 30 seconds. - [Earnings Guidance API](https://docs.financialdatasets.ai/api/kpi/guidance.md): Forward guidance from company earnings releases, such as revenue, EPS, and margin outlooks, as ranges, point estimates, or directional signals, for 600+ US tickers with 3+ years of history. - [Non-GAAP Metrics API (Adjusted EPS)](https://docs.financialdatasets.ai/api/kpi/non-gaap.md): Adjusted metrics from earnings releases, such as adjusted EPS, adjusted EBITDA, and free cash flow, each with its GAAP equivalent and key adjustments, for 600+ US tickers with 3+ years of history. - [SEC Filings API (10-K, 10-Q, 8-K)](https://docs.financialdatasets.ai/api/filings/ticker.md): List the SEC filings (10-K, 10-Q, 8-K, and more) of 22,000+ US tickers, with 30+ years of history, updated in real time from SEC EDGAR. - [SEC Filing Sections API (10-K Items)](https://docs.financialdatasets.ai/api/filings/items.md): The raw text of one section of a 10-K, 10-Q, or 8-K, such as Item 1A Risk Factors or Item 7 MD&A, for 22,000+ US tickers with 30+ years of history. - [Segmented Revenue API](https://docs.financialdatasets.ai/api/financials/income-statement-segments.md): Revenue by product and business segment, plus segment operating income and depreciation, as reported in 10-K and 10-Q filings: 6,400+ US tickers, 15+ years of history. - [Balance Sheet Segments API](https://docs.financialdatasets.ai/api/financials/balance-sheet-segments.md): Assets, goodwill, and long-lived assets by business segment, as reported in 10-K and 10-Q filings, for 6,200+ US tickers with 15+ years of history. - [Cash Flow Segments API](https://docs.financialdatasets.ai/api/financials/cash-flow-statement-segments.md): Capital expenditure by business segment, as reported in 10-K and 10-Q filings, for 5,900+ US tickers with 15+ years of history. - [Segmented Financials API (All Segments)](https://docs.financialdatasets.ai/api/financials/all-segments.md): Segment breakdowns from the income statement, balance sheet, and cash flow statement in one call, such as revenue by product and capex by segment, for 6,400+ US tickers with 15+ years of history. - [Stock Price API (Historical OHLCV)](https://docs.financialdatasets.ai/api/prices/historical.md): Historical end-of-day stock prices (open, high, low, close, and volume) for 15,000+ US tickers, by day, week, month, or year, with 3+ years of history. - [Real-Time Stock Price API](https://docs.financialdatasets.ai/api/prices/snapshot.md): The latest price of a US stock, with its day change and day change percent, for 13,000+ tickers, updated in real time. - [US Market Snapshot API](https://docs.financialdatasets.ai/api/prices/market-snapshot.md): The latest price, day change, and day change percent of every actively traded US stock in one request: 13,000+ tickers, updated in real time. - [Stock Screener API](https://docs.financialdatasets.ai/api/financials/search-screener.md): Screen 17,000+ US stocks by revenue, P/E, margins, debt, growth, sector, and industry, using the latest financial statement and financial metrics data, or as of any date since 2010 for backtests. - [Treasury Yield Curve API](https://docs.financialdatasets.ai/api/macro/yield-curve/historical.md): The daily US Treasury par yield curve since 1990: 14 tenors from 1-month to 30-year, in percent, one row per business day, updated daily. - [Latest Treasury Yield Curve API](https://docs.financialdatasets.ai/api/macro/yield-curve/snapshot.md): The most recent business day's US Treasury par yield curve: 14 tenors from 1-month to 30-year, updated daily. - [Get US Fundamentals](https://docs.financialdatasets.ai/guides/analyze-financial-statements-python.md): Learn how to fetch and analyze income statements, balance sheets, and cash flow statements for any US stock using Python. - [UK Fundamentals in Python](https://docs.financialdatasets.ai/guides/get-uk-fundamentals-python.md): Income statements, balance sheets, cash flow statements, and financial metrics for 674 UK-listed companies, annual, in the reporting currency, with a Python walk-through. - [France Fundamentals in Python](https://docs.financialdatasets.ai/guides/get-france-fundamentals-python.md): Income statements, balance sheets, cash flow statements, and financial metrics for 376 French-listed companies, annual, in the reporting currency (EUR for most), with a Python walk-through. - [Pull Stock Prices](https://docs.financialdatasets.ai/guides/get-stock-prices-python.md): Learn how to fetch historical stock price data for any US ticker using Python and the Financial Datasets API. Includes daily, weekly, and monthly intervals. - [Search SEC Filings](https://docs.financialdatasets.ai/guides/search-sec-filings-python.md): Learn how to search and retrieve SEC filings (10-K, 10-Q, 8-K) and extract specific sections like Risk Factors using Python. - [Set Up Webhooks](https://docs.financialdatasets.ai/guides/setup-webhooks.md): Receive real-time market events at your own endpoint. Step-by-step with a working Python receiver and signature verification. - [Understanding Pagination](https://docs.financialdatasets.ai/guides/pagination.md): How cursor pagination works across the Financial Datasets API: results arrive in pages, each response links the next one, and a simple loop fetches everything you asked for. ## OpenAPI Specs - [openapi-company](/api/news/openapi-company.json) - [openapi-market](/api/news/openapi-market.json) - [openapi](/api/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.