# Financial statements API: income statement, balance sheet and cash flow from XBRL

Each record is one fiscal period of one company: revenue down to free cash flow, total assets, debt and equity, in the same field names for every filer. Fourth quarters are derived from the annual report, and splits are applied the way the company restated them.

- Endpoint: `POST https://api.quantisnow.com/v1/financials`
- Coverage: 5,297 filers, 195,000 periods, from each company's first XBRL filing (2009 for large filers)
- How fresh: Updated daily from new 10-K, 10-Q, 20-F and 40-F filings
- Source: XBRL financial data in 10-K, 10-Q, 20-F and 40-F filings

## Fields

| Field | Type | What it holds |
| --- | --- | --- |
| `cik` | string | Filer CIK. |
| `ticker` | string | Primary ticker. |
| `companyName` | string | Company name. |
| `fiscalYear` | number | Fiscal year the period belongs to. |
| `fiscalPeriod` | string | Q1, Q2, Q3, Q4 or FY. |
| `periodStart` | date | First day of the period. |
| `periodEnd` | date | Last day of the period. |
| `form` | string | Form the numbers came from: 10-K, 10-Q, 20-F, 40-F. |
| `accessionNo` | string | Filing the numbers came from. |
| `sector` | string | One of 11 sectors, e.g. Technology, Finance, Health Care. |
| `currency` | string | Reporting currency of the figures, e.g. USD, JPY, EUR. |
| `derived` | boolean | True when the quarter was computed as the year minus the first three quarters. |
| `incomeStatement.revenue` | number | Total revenue. |
| `incomeStatement.grossProfit` | number | Gross profit. |
| `incomeStatement.operatingIncome` | number | Operating income. |
| `incomeStatement.netIncome` | number | Net income attributable to the company. |
| `incomeStatement.epsDiluted` | number | Diluted earnings per share. |
| `balanceSheet.cash` | number | Cash and equivalents. |
| `balanceSheet.totalAssets` | number | Total assets. |
| `balanceSheet.totalDebt` | number | Short and long-term debt. |
| `balanceSheet.equity` | number | Stockholders' equity. |
| `cashFlow.operatingCashFlow` | number | Cash from operations. |
| `cashFlow.capex` | number | Capital expenditure. |
| `cashFlow.freeCashFlow` | number | Operating cash flow minus capex. |
| `cashFlow.shareRepurchases` | number | Cash spent on buybacks. |

## Examples

### What were Apple's revenue and net income in each of the last eight quarters?

A quarterly series for a model or a chart, already split into quarters.

```shell
curl -X POST https://api.quantisnow.com/v1/financials \
  -H "Authorization: Bearer $QUANTISNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "ticker:AAPL AND fiscalPeriod:(Q1 OR Q2 OR Q3 OR Q4)",
  "from": 0,
  "size": 5,
  "sort": [
    {
      "periodEnd": {
        "order": "desc"
      }
    }
  ]
}'
```

Response (real, first 2 of 40):

```json
{
  "total": {
    "value": 40,
    "relation": "eq"
  },
  "data": [
    {
      "cik": "0000320193",
      "ticker": "AAPL",
      "companyName": "Apple Inc.",
      "fiscalYear": 2026,
      "fiscalPeriod": "Q4",
      "periodStart": "2026-06-28",
      "periodEnd": "2026-09-26",
      "form": "10-K",
      "accessionNo": "0000320193-26-000026",
      "sector": "Technology",
      "currency": "USD",
      "derived": true,
      "incomeStatement": {
        "revenue": 114477000000,
        "grossProfit": 54820000000,
        "operatingIncome": 35631000000,
        "netIncome": 30711000000,
        "epsDiluted": 2.11
      },
      "balanceSheet": {
        "cash": 36305000000,
        "totalAssets": 404548000000,
        "totalDebt": 78114000000,
        "equity": 112093000000
      },
      "cashFlow": {
        "operatingCashFlow": 28101000000,
        "capex": 2242000000,
        "freeCashFlow": 25859000000,
        "shareRepurchases": 24296000000
      }
    },
    {
      "cik": "0000320193",
      "ticker": "AAPL",
      "companyName": "Apple Inc.",
      "fiscalYear": 2026,
      "fiscalPeriod": "Q3",
      "periodStart": "2026-03-29",
      "periodEnd": "2026-06-27",
      "form": "10-Q",
      "accessionNo": "0000320193-26-000020",
      "sector": "Technology",
      "currency": "USD",
      "derived": false,
      "incomeStatement": {
        "revenue": 109417000000,
        "grossProfit": 54770000000,
        "operatingIncome": 35695000000,
        "netIncome": 29789000000,
        "epsDiluted": 2.02
      },
      "balanceSheet": {
        "cash": 39544000000,
        "totalAssets": 383266000000,
        "totalDebt": 82347000000,
        "equity": 107520000000
      },
      "cashFlow": {
        "operatingCashFlow": 34369000000,
        "capex": 2455000000,
        "freeCashFlow": 31914000000,
        "shareRepurchases": 25105000000
      }
    }
  ]
}
```

### Which non-financial companies with over $10 billion in revenue had negative free cash flow last fiscal year?

A screen across every filer in one call, which needs the same field names for every company to work.

```shell
curl -X POST https://api.quantisnow.com/v1/financials \
  -H "Authorization: Bearer $QUANTISNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "fiscalPeriod:FY AND fiscalYear:2025 AND incomeStatement.revenue:>10000000000 AND cashFlow.freeCashFlow:<0 AND currency:USD AND NOT sector:Finance",
  "from": 0,
  "size": 5,
  "sort": [
    {
      "incomeStatement.revenue": {
        "order": "desc"
      }
    }
  ]
}'
```

Response (real, first 2 of 40):

```json
{
  "total": {
    "value": 40,
    "relation": "eq"
  },
  "data": [
    {
      "cik": "0000012927",
      "ticker": "BA",
      "companyName": "Boeing Company",
      "fiscalYear": 2025,
      "fiscalPeriod": "FY",
      "periodStart": "2025-01-01",
      "periodEnd": "2025-12-31",
      "form": "10-K",
      "accessionNo": "0001628280-26-004357",
      "sector": "Industrials",
      "currency": "USD",
      "derived": false,
      "incomeStatement": {
        "revenue": 89463000000,
        "grossProfit": 4289000000,
        "operatingIncome": 4281000000,
        "netIncome": 2235000000,
        "epsDiluted": 2.48
      },
      "balanceSheet": {
        "cash": 10921000000,
        "totalAssets": 168235000000,
        "totalDebt": 54098000000,
        "equity": 5454000000
      },
      "cashFlow": {
        "operatingCashFlow": 1065000000,
        "capex": 2942000000,
        "freeCashFlow": -1877000000,
        "shareRepurchases": null
      }
    },
    {
      "cik": "0001001085",
      "ticker": "BN",
      "companyName": "Brookfield Corporation",
      "fiscalYear": 2025,
      "fiscalPeriod": "FY",
      "periodStart": "2025-01-01",
      "periodEnd": "2025-12-31",
      "form": "40-F",
      "accessionNo": "0001001085-26-000006",
      "sector": "Real Estate",
      "currency": "USD",
      "derived": false,
      "incomeStatement": {
        "revenue": 75100000000,
        "grossProfit": 46749000000,
        "operatingIncome": null,
        "netIncome": 1307000000,
        "epsDiluted": 0.49
      },
      "balanceSheet": {
        "cash": 16242000000,
        "totalAssets": 518971000000,
        "totalDebt": 13800000000,
        "equity": 166194000000
      },
      "cashFlow": {
        "operatingCashFlow": 10958000000,
        "capex": 14752000000,
        "freeCashFlow": -3794000000,
        "shareRepurchases": null
      }
    }
  ]
}
```

## Good to know

- Values are in the filing's reporting currency, named in `currency`. Most foreign filers report in their home currency, so filter `currency:USD` before comparing companies.
- Banks and insurers have no gross profit, and their revenue is total revenue as they report it.

---

Get an API key: https://www.quantisnow.com/sec-api/keys (a person replies within one business day; approved keys start with 1,000 free calls).

All SEC API pages:

- [Overview](https://www.quantisnow.com/sec-api.md): SEC filings, insider trades, 13F holdings, financials and 8-K events through one query API, an MCP server and plain-English questions.
- [Get an API key](https://www.quantisnow.com/sec-api/keys): Request a key; every request is read and answered within one business day.
- [Query syntax and limits](https://www.quantisnow.com/sec-api/query-syntax.md): Lucene query syntax, authentication, paging, sorting, rate limits and errors.
- [Playground](https://www.quantisnow.com/sec-api/playground): Run the example queries in the browser and see the real responses.
- [Filings search](https://www.quantisnow.com/sec-api/filings-search.md): Query 10-Ks, 10-Qs, 8-Ks, S-1s, Form D and every other EDGAR form with one Lucene query. Ticker, CIK, form type, filing time and links to the filing index, as JSON.
- [Insider trading](https://www.quantisnow.com/sec-api/insider-trading.md): Search insider purchases and sales from Form 4, initial holdings from Form 3 and planned sales from Form 144 by ticker, insider, role, dollar size and date.
- [13F holdings](https://www.quantisnow.com/sec-api/13f-holdings.md): Every 13F filer's positions by quarter, with shares, value and the change from the quarter before: new position, added, trimmed or sold out. Search by fund, CIK or ticker.
- [13D and 13G stakes](https://www.quantisnow.com/sec-api/beneficial-ownership.md): Search Schedule 13D activist stakes and 13G passive stakes by filer, company and date. Every filing above 5% ownership, as it is accepted.
- [Financial statements](https://www.quantisnow.com/sec-api/financial-statements.md): Quarterly and annual income statement, balance sheet and cash flow for every SEC filer, read from XBRL and normalized to the same field names. Search by ticker, fiscal year or any value.
- [8-K events](https://www.quantisnow.com/sec-api/8-k-events.md): Every Form 8-K with its item numbers: auditor changes (4.01), bankruptcies (1.03), delisting notices (3.01), executive changes (5.02), earnings (2.02) and the rest. Search by item, company and date.
- [News and press releases](https://www.quantisnow.com/sec-api/news-wire.md): Press releases from the major wires, FDA actions, analyst upgrades and downgrades and every SEC filing, tagged by ticker and category, in one searchable stream with a live websocket.
- [Plain-English questions](https://www.quantisnow.com/sec-api/natural-language.md): Ask a question in English; get back the query it became and the rows it found.
- [MCP server](https://www.quantisnow.com/sec-api/mcp.md): Search SEC data from Claude, ChatGPT and Cursor.
- [Find insider buying clusters with the Form 4 API](https://www.quantisnow.com/sec-api/guides/insider-buying-clusters.md): Pull every open-market insider purchase for a window, group by company and keep the ones where three or more insiders bought. Python, 30 lines.
- [Track activist investors with Schedule 13D filings](https://www.quantisnow.com/sec-api/guides/track-activist-13d-filings.md): Query new Schedule 13D filings, tell activists from passive 13G holders, and follow one fund across every company it files on.
- [See which funds bought or sold a stock from 13F filings](https://www.quantisnow.com/sec-api/guides/which-funds-bought-a-stock.md): Use the change field on 13F holdings to list new positions, increases and full exits in one stock for a quarter, without joining two quarters yourself.
- [Screen 8-K filings by item number: auditor changes, delistings and bankruptcies](https://www.quantisnow.com/sec-api/guides/8k-item-screener.md): What each 8-K item number means, which ones traders watch, and how to query one item across every company with the 8-K API.
- [Load SEC financial statements into pandas](https://www.quantisnow.com/sec-api/guides/financial-statements-pandas.md): Pull quarterly income statement, balance sheet and cash flow data from XBRL filings into a pandas DataFrame, and screen every filer on one metric.
- [Page past 10,000 results in a Lucene-style search API](https://www.quantisnow.com/sec-api/guides/paginate-past-10000-results.md): Why search APIs stop at 10,000 results per query and the date-window loop that gets every record anyway.
- [Search SEC filings from Claude, ChatGPT or Cursor with MCP](https://www.quantisnow.com/sec-api/guides/sec-filings-in-claude-mcp.md): Connect the Quantisnow MCP server to an AI assistant and ask about filings, insider trades, 13F holdings and financials in plain English.
- [SEC's free EDGAR APIs vs a filings search API: what each is for](https://www.quantisnow.com/sec-api/guides/sec-edgar-api-vs-data-sec-gov.md): What data.sec.gov, EDGAR full-text search and the bulk files give you for free, where they stop, and when a search API saves the work.
- [All guides](https://www.quantisnow.com/sec-api/guides.md): How-to guides with code and real responses.

Quantisnow is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR is the SEC's filing system; the filings themselves are public records.
