QuantSet Docs Developer console

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.

POST/api/v1/financial-statements/line-items

API key3 credits per 4 periods Use a key with access to this operation.

View as MarkdownWhole API as text

Parameters

snapshot_idstring

Pin the request to one immutable snapshot so a read across several pages stays consistent.

formatjson | csv

Return 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_idstring

    The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.

  • report_periodstring
  • periodannual | quarterly | ttm

    The reporting period: annual or quarterly.

  • currencystring

    The currency the amounts on this row are in.

  • valuesobject

    The statement's lines, keyed by name. A line that could not be confirmed is null.

View response example or schema

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

StatusCodeWhat to do
400conflicting_credentialsSupply one credential.
401invalid_credentialsSupply a valid API key.
402insufficient_creditsReduce the request ceiling or refill your credits.
403insufficient_accessYour key does not have the required access.
409snapshot_changedStart the read again with the current snapshot.
413request_too_largeReduce the size of the request body.
422invalid_parameterCorrect the named parameter and retry.
429rate_limitedWait for Retry-After seconds.
500internal_errorThe request could not be completed.
503temporarily_unavailableRetry 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.