# Financial statements (QuantSet API)

> Income statements, balance sheets or cash flow statements for up to 100 US or global companies (us:* and global:*), annual or quarterly.

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

`GET https://api.quantset.dev/api/v1/financial-statements/{kind}` · `get_financial_statements`

Send a key in the `X-API-Key` header. Try `mw_demo` with the sample selectors.
Add `format=csv` to get a UTF-8 table.
Price: 3 credits for every 4 periods returned, counted for each company and statement.

## Research questions

### How did Nvidia’s annual income statement change between two periods?

```http
GET https://api.quantset.dev/api/v1/financial-statements/income?tickers=NVDA&period=annual&limit_per_instrument=2
```

Pair the rows by instrument_id, period_end and currency, then compare revenue or net income inside values.

### What cash-flow periods could a researcher use at midyear?

```http
GET https://api.quantset.dev/api/v1/financial-statements/cash_flow?tickers=AAPL&period=quarterly&as_of=2024-06-30&limit_per_instrument=4
```

Inspect available_at and period_basis. Summing a cumulative year-to-date figure with discrete quarters can count the same cash flows twice.

## Reading the results

Inspect period_basis before aggregating quarterly figures. For a backtest, use as_of and confirm available_at on the returned period.


## Coverage and limits

Missing statement lines remain null. Older generations can have incomplete filing vintages, so read quality_issues and the response limitations.


## Related guides

- [Choose a listing across exchanges](https://quantset.dev/docs/guides/instrument-ids)
- [Continue a snapshot-pinned read](https://quantset.dev/docs/guides/pagination)
- [Choose a point-in-time cutoff](https://quantset.dev/docs/guides/point-in-time)

## Parameters

- `kind` (income | balance_sheet | cash_flow, required, in path): Which statement to return: income, balance_sheet, or cash_flow.
- `tickers` (list, required): Comma-separated distinct listing selectors, 1–100.
- `period` (annual | quarterly, optional): Reporting period.
- `start` (string, optional): First date to include, as an ISO date (YYYY-MM-DD).
- `end` (string, optional): Last date to include, as an ISO date (YYYY-MM-DD).
- `limit_per_instrument` (integer, 1 to 40, optional): Number of periods to return for each company, newest first.
- `cursor` (string, optional): Opaque continuation. Pass it unchanged with the original filters and snapshot_id.
- `as_of` (string, optional): Point-in-time date, YYYY-MM-DD. Returns only statements that were publicly filed on or before this date. Rows without a known filing date are excluded.
- `snapshot_id` (string, optional): Pin the request to one immutable snapshot so a read across several pages stays consistent.
- `format` (json | csv, optional): Return a JSON page or UTF-8 CSV rows.
- `X-Max-Credits` (integer, 0 to 999,999,999,999, optional, in header): Refuse the request if its maximum charge exceeds this ceiling.
- `X-Workflow-Id` (string, optional, in header): Optional printable identifier for grouping charges in a research workflow.

## Response fields

- `instrument_id` (string): The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.
- `period_end` (string): The last day of the fiscal period the row covers.
- `period_start` (string): The first day of the fiscal period the row covers.
- `available_at` (string): The day the filing became public. Use it, not period_end, to decide what was knowable on a given date.
- `period` (annual | quarterly): The reporting period: annual or quarterly.
- `period_basis` (annual | discrete_quarter | instant | mixed_fiscal_ytd_and_discrete): What span the row really covers: annual, discrete_quarter, instant for a balance sheet, or mixed_fiscal_ytd_and_discrete.
- `currency` (string): The currency the amounts on this row are in.
- `values` (string): The statement's lines, keyed by name. A line that could not be confirmed is null.
- `eps_method` (string): How earnings per share is given: the reported figure and a derived one are kept separate.
- `accession` (string): The SEC accession number of the filing the row was matched to.
- `form` (string): The SEC form type, such as 10-K or 10-Q.
- `concepts` (object): The XBRL tag behind each figure, for example Revenues behind revenue.
- `quality_issues` (array): Anything about the row that did not pass its checks. An empty list means nothing was flagged.

## Example

```
curl 'https://api.quantset.dev/api/v1/financial-statements/income?tickers=NVDA&period=annual&limit_per_instrument=2' -H 'X-API-Key: mw_demo'
```

## Responses

- 200 Successful Response
- 400 Supply one credential.
- 401 Supply a valid API key.
- 402 Reduce the request ceiling or refill your credits.
- 403 Your key does not have the required access.
- 404 The requested listing is absent from the catalog.
- 409 Start the read again with the current snapshot.
- 413 Reduce the page size before requesting CSV again.
- 422 Correct the named parameter and retry.
- 429 Wait for Retry-After seconds.
- 500 The request could not be completed.
- 503 Retry safe reads after a short delay.

## Which statements endpoint to use

- `/api/v1/financial-statements/{kind}` (Financial statements): One statement for up to 100 companies, on one standard set of lines. Use it to compare companies or build a time series.
- `/api/v1/financial-statements/all` (All three financial statements): All three statements for one company in a single call.
- `POST /api/v1/financial-statements/line-items` (Line-item picker): Only the lines you name, across a list of companies. The smallest response.
- `/api/v1/financial-statements/as-reported` (As-reported XBRL statements): The lines exactly as the company filed them, without standardization. Use it when you need the filing's own wording.

## Questions

**Can I try Financial statements without signing up?** Yes. Use the sandbox key mw_demo and the sample selectors on this page.

**What does Financial statements cost?** 3 credits for every 4 periods returned, counted for each company and statement. A request that fails costs nothing.

**Which plan includes it?** Every account. Free credits, credit packs and subscriptions all read this data.

**How do I read more than one page?** When next_cursor is not null, send it back as cursor together with the same snapshot_id, and repeat until it is null.

**Can I get it as CSV or in a spreadsheet?** Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.

**Can an AI agent use this?** Yes. On the QuantSet MCP server it is the get_financial_statements tool, so Claude, ChatGPT, Cursor and other clients can call it with no code.

**What does null mean in the response?** The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.

**How do I see only what was known on a past date?** Add as_of with a date. The response then holds only statements filed on or before that day, so a backtest never sees a number before it was public. Rows without a filing date are left out.

Group: Fundamentals and screening
Docs page: https://quantset.dev/docs/api/financial-statements
Integrations & Ecosystem: https://quantset.dev/integrations (Claude/Cursor MCP, LangGraph, PydanticAI, CrewAI, Agno, Vercel AI SDK, Mastra, Sheets =QUANTSET(), Excel, Notion & x402)
Full API guide: https://api.quantset.dev/llms-full.txt
