Endpoints / Fundamentals and screening
Line-item picker
Fetch only chosen statement metrics (e.g. revenue, net_income, free_cash_flow, total_debt) across multiple US or global tickers in one compact call.
/api/v1/financial-statements/line-itemsAPI key3 credits per 4 periods Use a key with access to this operation.
Parameters
snapshot_idstringPin the request to one immutable snapshot so a read across several pages stays consistent.
formatjson | csvReturn a JSON page or UTF-8 CSV rows.
Response
Each row has these fields. Rows arrive in data, next to schema_version, snapshot_id, total_count, next_cursor, provenance.
instrument_idstringThe listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.
report_periodstringperiodannual | quarterly | ttmThe reporting period: annual or quarterly.
currencystringThe currency the amounts on this row are in.
valuesobjectThe statement's lines, keyed by name. A line that could not be confirmed is null.
Research questions
How can I compare revenue, cash flow and debt for two companies in one call?
POST https://api.quantset.dev/api/v1/financial-statements/line-items
Content-Type: application/json
{
"line_items": [
"revenue",
"net_income",
"free_cash_flow",
"total_debt"
],
"period": "annual",
"limit_per_instrument": 2,
"tickers": [
"us:NVDA",
"us:AAPL"
]
}Send the tickers and line_items arrays in the JSON body. Match each result by instrument_id, report_period and currency before reading values.
How can I compare quarterly cash generation without downloading every statement field?
POST https://api.quantset.dev/api/v1/financial-statements/line-items
Content-Type: application/json
{
"tickers": [
"AAPL",
"MSFT"
],
"line_items": [
"revenue",
"free_cash_flow"
],
"period": "quarterly",
"limit_per_instrument": 4
}Match cash flow and revenue by issuer, report_period and currency. Check the statement period basis before forming a margin from the two figures.
Reading the results
A debt balance is measured at a date, while revenue and free cash flow cover a period. Use that distinction when calculating ratios.
Coverage and limits
Only selected metrics are returned. A null requested metric leaves that comparison incomplete even if other metrics exist for the period.
Which statements endpoint to use
Use with agents
AI agents call this endpoint over HTTP, or read its Markdown version. Connect Claude, ChatGPT, Cursor or your own agent
Errors
| Status | Code | What to do |
|---|---|---|
| 400 | conflicting_credentials | Supply one credential. |
| 401 | invalid_credentials | Supply a valid API key. |
| 402 | insufficient_credits | Reduce the request ceiling or refill your credits. |
| 403 | insufficient_access | Your key does not have the required access. |
| 409 | snapshot_changed | Start the read again with the current snapshot. |
| 413 | request_too_large | Reduce the size of the request body. |
| 422 | invalid_parameter | Correct the named parameter and retry. |
| 429 | rate_limited | Wait for Retry-After seconds. |
| 500 | internal_error | The request could not be completed. |
| 503 | temporarily_unavailable | Retry safe reads after a short delay. |
Questions
- What does Line-item picker 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.
- Can an AI agent use this?
- Yes. An agent calls it over HTTP like any client. Add .md to this page's address for a version written for agents.
- 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.
More in fundamentals and screening
GET /api/v1/financial-statements/{kind}SandboxAll three financial statementsGET /api/v1/financial-statements/allAs-reported XBRL statementsGET /api/v1/financial-statements/as-reportedHistorical financial ratios & efficiency metricsGET /api/v1/financial-metricsDSL screener filter catalogGET /api/v1/screener/filtersMulti-statement DSL stock screenerPOST /api/v1/screener/searchInstrument snapshotGET /api/v1/snapshotsSandboxStock screenerGET /api/v1/screenerFundamentals summaryGET /api/v1/fundamentalsIndustry peersGET /api/v1/peersSandbox