QuantSet Docs Developer console

Endpoints / Fundamentals and screening

Historical financial ratios & efficiency metrics

36 annual, quarterly or TTM valuation, profitability, working-capital efficiency (DSO, asset/inventory/receivables turnover, operating cycle), liquidity (current/quick/cash/OCF ratios), leverage and YoY growth metrics, with optional point-in-time as_of.

GET/api/v1/financial-metrics

API key3 credits per 10 rows Use a key with access to this operation.

View as MarkdownWhole API as text

Parameters

tickerstringrequired

Catalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.

periodannual | quarterly | ttm

Reporting period.

as_ofstring

Point-in-time date YYYY-MM-DD (uses filings filed on or before as_of)

limitinteger, 1 to 60

Maximum number of rows to return.

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

Response fields (48)

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.

  • symbolstring

    The ticker without its market prefix.

  • report_periodstring
  • periodstring

    The reporting period: annual or quarterly.

  • currencystring

    The currency the amounts on this row are in.

  • filing_datestring

    The day the filing was made public.

  • accession_numberstring

    The SEC accession number of the filing.

  • form_typestring

    The SEC form type, such as 10-K, 10-Q or 8-K.

  • pricenumber

    The latest price in US dollars.

  • market_capnumber

    The company's market value on that date, in US dollars.

  • enterprise_valuenumber
  • pe_rationumber
  • pb_rationumber

    Price divided by book value per share.

  • ps_rationumber
  • ev_to_ebitdanumber

    Enterprise value divided by trailing EBITDA.

  • ev_to_revenuenumber
  • peg_rationumber

    Price/earnings-to-growth ratio.

  • fcf_yield_pctnumber

    Free cash flow per share as a share of the price, in percent.

  • payout_ratio_pctnumber

    In percent: 10 means 10%.

  • gross_margin_pctnumber

    Gross profit as a share of sales, in percent.

  • operating_margin_pctnumber

    Operating income as a share of sales, in percent.

  • net_margin_pctnumber

    Net income as a share of sales, in percent.

  • roe_pctnumber

    Net income as a share of shareholders' equity, in percent.

  • roa_pctnumber

    In percent: 10 means 10%.

  • roic_pctnumber

    After-tax operating profit as a share of invested capital, in percent.

  • asset_turnovernumber
  • inventory_turnovernumber
  • receivables_turnovernumber
  • days_sales_outstandingnumber
  • operating_cycle_daysnumber

    A number of days.

  • working_capital_turnovernumber
  • current_rationumber

    Current assets divided by current liabilities.

  • quick_rationumber
  • cash_rationumber
  • operating_cash_flow_rationumber
  • debt_to_equitynumber

    Total debt divided by shareholders' equity.

  • debt_to_assetsnumber
  • interest_coveragenumber

    Operating income divided by interest expense.

  • rev_growth_yoy_pctnumber

    In percent: 10 means 10%.

  • operating_income_growth_yoy_pctnumber

    In percent: 10 means 10%.

  • ebitda_growth_yoy_pctnumber

    In percent: 10 means 10%.

  • net_income_growth_yoy_pctnumber

    In percent: 10 means 10%.

  • eps_growth_yoy_pctnumber

    In percent: 10 means 10%.

  • fcf_growth_yoy_pctnumber

    In percent: 10 means 10%.

  • book_value_growth_yoy_pctnumber

    In percent: 10 means 10%.

  • diluted_epsnumber
  • book_value_per_sharenumber

    Shareholders' equity divided by shares in issue.

  • fcf_per_sharenumber

    Free cash flow divided by shares in issue.

View response example or schema

Research questions

How did Nvidia’s profitability and valuation change across reporting periods?

GET https://api.quantset.dev/api/v1/financial-metrics?ticker=us:NVDA&period=annual&limit=8

Align report_period, filing_date, currency and period before comparing margins or valuation multiples.

Which profitability readings were available by June 30?

GET https://api.quantset.dev/api/v1/financial-metrics?ticker=AAPL&period=quarterly&as_of=2024-06-30&limit=4

Read the filing date and ratio period on each returned row. Keep data-vintage limitations with the result.

Reading the results

A margin ending in _pct is measured in percentage units; a P/E is a multiple. Use the same annual, quarterly or trailing basis for the comparison.

Coverage and limits

Ratios need usable inputs. A missing denominator, unavailable period price or unverified reporting basis can leave a metric empty.

Related guides

CSV, spreadsheets and agents

The same rows as a spreadsheet-ready table. Add format=csv to the request.

curl "https://api.quantset.dev/api/v1/financial-metrics?ticker=us:NVDA&period=annual&limit=8&format=csv" -H "X-API-Key: YOUR_API_KEY"

Or pull it straight into Google Sheets with one formula. Excel and larger pulls

=IMPORTDATA("https://api.quantset.dev/api/v1/financial-metrics?ticker=us:NVDA&period=annual&limit=8&format=csv&apikey=YOUR_API_KEY")

AI agents reach this dataset through the get_financial_metrics tool on the MCP server, with no code. 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.
404unknown_instrumentThe requested listing is absent from the catalog.
409snapshot_changedStart the read again with the current snapshot.
413export_too_largeReduce the page size before requesting CSV again.
422invalid_parameter, ambiguous_instrumentCorrect 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 Historical financial ratios & efficiency metrics cost?
3 credits for every 10 rows returned. A request that fails costs nothing.
Which plan includes it?
Every account. Free credits, credit packs and subscriptions all read this data.
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_metrics 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.