QuantSet Docs Developer console

Endpoints / Instruments, ETFs and capabilities

ETF constituent holdings

Dated equity constituents, weights, share counts, market values, ISINs and canonical US/global instrument IDs across 1,800+ US and international ETFs from SEC Form N-PORT (175,000+ holdings) and dated portfolio disclosures.

GET/api/v1/etf-holdings

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

View as MarkdownWhole API as text

Parameters

tickerstringrequired

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

limitinteger, 1 to 2,000

Maximum number of rows to return.

Optional parameters (5)
qstring

Search text, matched against ticker, exchange, country and name.

sectorstring
as_ofstring

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

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.

  • fund_instrument_idstring

    The ID of the fund that holds the position.

  • fund_symbolstring

    The ticker of the fund.

  • fund_namestring

    The name of the fund.

  • as_ofstring
  • filing_datestring

    The day the filing was made public.

  • constituent_instrument_idstring

    The ID of the listing the fund holds.

  • tickerstring

    The ticker symbol.

  • issuerstring

    The name of the company that issued the security.

  • countrystring

    The country where the listing trades.

  • exchangestring

    The exchange the listing trades on.

  • sectorstring

    The company's sector, in one standard list used across all markets.

  • weight_pctnumber

    The holding's share of the fund, in percent.

  • sharesnumber
  • market_valuenumber

    The value of the holding, in the currency named by market_currency.

  • isinstring

    The listing's International Securities Identification Number.

  • market_currencystring
View response example or schema

Research questions

What did IVV report holding, and how large were the positions?

GET https://api.quantset.dev/api/v1/etf-holdings?ticker=IVV&limit=20

Read as_of and filing_date before comparing weight_pct across holdings. Use constituent_instrument_id or ISIN to distinguish similar issuer names.

Was a particular holding visible by year end?

GET https://api.quantset.dev/api/v1/etf-holdings?ticker=IVV&q=Nvidia&as_of=2024-12-31

Check filing_date and as_of on the matched position. Cite the portfolio date and the information cutoff separately.

Reading the results

A holding dated June 30 may only become observable when the portfolio is filed later. Use the knowledge-date option for historical research.

Coverage and limits

The limit truncates the returned positions. Their weights need not add to 100%, and an unmapped listing can still have a reported holding.

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/etf-holdings?ticker=IVV&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/etf-holdings?ticker=IVV&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 ETF constituent holdings without signing up?
Yes. Use the sandbox key mw_demo and the sample selectors on this page.
What does ETF constituent holdings 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.
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.