Documentation Index
Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
SEC Financial Statements API
Public companies report financial statements in XBRL format embedded in their SEC filings, but the raw data requires complex parsing and normalization. Datastream extracts, standardizes, and serves income statements, balance sheets, and cash flow statements as clean JSON — ready to compare across companies and time periods.Capabilities
Three core statements
Income statement, balance sheet, and cash flow statement extracted and normalized for every annual and quarterly filing.
Cross-company comparability
XBRL concepts mapped to a consistent schema so revenue from Apple and revenue from Microsoft use the same field name.
Period flexibility
Request annual or quarterly data. Pull multiple periods in a single call for trend analysis.
As-reported fidelity
Financial data matches what the company reported. Restated values flagged when available.
Quick start
Get Apple’s annual income statement:Use cases
Financial modeling
Pull historical financials to build DCF models, comparable company analyses, and financial projections programmatically.Stock screeners
Screen the entire SEC universe by financial metrics — revenue growth, profit margins, debt ratios, and more — using normalized data.AI-powered analysis
Feed structured financial data to LLMs for automated earnings analysis, trend detection, and anomaly identification.Portfolio analytics
Track financial health metrics across a portfolio of holdings with consistent, comparable data from a single API.API endpoints
| Endpoint | Description |
|---|---|
GET /v1/statements/income | Income statement data |
GET /v1/statements/balance-sheet | Balance sheet data |
GET /v1/statements/cash-flow | Cash flow statement data |
GET /v1/statements/all | All three statements combined |
Why Datastream for financial statements
| Feature | Datastream | Raw EDGAR | Financial Datasets | Intrinio |
|---|---|---|---|---|
| Normalized schema | Yes | No (raw XBRL) | Yes | Yes |
| All three statements | Yes | Yes (raw) | Yes | Yes |
| REST API | Yes | No | Yes | Yes |
| Cross-company consistency | Yes | No | Partial | Yes |
| Historical depth | 2009+ | 2009+ (XBRL era) | 2010+ | 2008+ |
| SDKs (Python, JS, Rust, Go) | Yes | No | Python only | Yes |
| Pricing | Pay-as-you-go | Free (raw) | $19+/mo | $500+/mo |
Get started
Get your API key
Start pulling financial statements in under 60 seconds. 250 free API calls per month.