QuantSet Docs Developer console

Endpoints / Actions, ownership and SEC disclosures

SEC XBRL company facts

Read as-filed XBRL facts using exactly one of ticker or issuer_cik. Use filed_before for an inclusive end-of-day UTC cutoff.

GET/api/v1/sec/company-facts

Sandbox5 credits per 50 rows Try the sample free with mw_demo.

View as MarkdownWhole API as text

Parameters

tickerstring

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

limitinteger, 1 to 1,000

Maximum number of rows to return.

Optional parameters (9)
issuer_cikstring

SEC Central Index Key for the issuer, as one to ten decimal digits.

taxonomystring

Limit results to one taxonomy, such as us-gaap.

conceptstring

Limit results to one concept, such as Revenues.

startstring

First date to include, as an ISO date (YYYY-MM-DD).

endstring

Last date to include, as an ISO date (YYYY-MM-DD).

filed_beforestring

Only return facts filed on or before this date, YYYY-MM-DD.

cursorstring

Opaque continuation. Pass it unchanged with the original filters and snapshot_id.

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 (16)

Each row has these fields. Rows arrive in data, next to schema_version, snapshot_id, total_count, next_cursor, provenance.

  • fact_idstring
  • cikstring

    The company's 10-digit SEC Central Index Key.

  • entity_namestring
  • taxonomystring
  • conceptstring
  • unitstring
  • period_startstring

    The first day of the fiscal period the row covers.

  • period_endstring

    The last day of the fiscal period the row covers.

  • valuenumber

    The observation's value.

  • value_textstring
  • accessionstring

    The SEC accession number of the filing the row was matched to.

  • filedstring
  • formstring

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

  • filing_fiscal_yearinteger
  • filing_fiscal_periodstring
  • framestring
View response example or schema

Research questions

Which as-filed facts are available for Nvidia?

GET https://api.quantset.dev/api/v1/sec/company-facts?ticker=us:NVDA&limit=20

Use taxonomy, concept, unit, period_end and accession to identify a fact. Retain the filed date when multiple observations describe the same period.

Which reported asset balances were available by midyear?

GET https://api.quantset.dev/api/v1/sec/company-facts?issuer_cik=0001045810&taxonomy=us-gaap&concept=Assets&filed_before=2024-06-30&limit=10

Keep unit, period_end, filed and accession together. Choose the filing vintage appropriate to the question.

Reading the results

Instant facts such as assets and duration facts such as revenue cover different intervals. A repeated period can represent an amendment or a comparative supplied later.

Coverage and limits

Use filed_before for an inclusive filing cutoff. A missing concept can reflect an issuer-specific tag or a different unit rather than a zero economic value.

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/sec/company-facts?ticker=us:NVDA&limit=20&format=csv" -H "X-API-Key: mw_demo"

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

=IMPORTDATA("https://api.quantset.dev/api/v1/sec/company-facts?ticker=us:NVDA&limit=20&format=csv&apikey=mw_demo")

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.
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

Can I try SEC XBRL company facts without signing up?
Yes. Use the sandbox key mw_demo and the sample selectors on this page.
What does SEC XBRL company facts cost?
5 credits for every 50 rows returned. 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. 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.