# ETF constituent holdings (QuantSet API)

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

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

`GET https://api.quantset.dev/api/v1/etf-holdings` · `get_etf_holdings`

Send a key in the `X-API-Key` header. Try `mw_demo` with the sample selectors.
Add `format=csv` to get a UTF-8 table.
Price: 5 credits for every 50 rows returned.

## Research questions

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

```http
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?

```http
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

- [Choose a listing across exchanges](https://quantset.dev/docs/guides/instrument-ids)
- [Choose a point-in-time cutoff](https://quantset.dev/docs/guides/point-in-time)

## Parameters

- `ticker` (string, required): Catalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.
- `q` (string, optional): Search text, matched against ticker, exchange, country and name.
- `sector` (string, optional)
- `as_of` (string, optional): Point-in-time historical date YYYY-MM-DD (uses N-PORT filings filed on or before as_of)
- `limit` (integer, 1 to 2,000, optional): Maximum number of rows to return.
- `snapshot_id` (string, optional): Pin the request to one immutable snapshot so a read across several pages stays consistent.
- `format` (json | csv, optional): Return a JSON page or UTF-8 CSV rows.
- `X-Max-Credits` (integer, 0 to 999,999,999,999, optional, in header): Refuse the request if its maximum charge exceeds this ceiling.
- `X-Workflow-Id` (string, optional, in header): Optional printable identifier for grouping charges in a research workflow.

## Response fields

- `fund_instrument_id` (string): The ID of the fund that holds the position.
- `fund_symbol` (string): The ticker of the fund.
- `fund_name` (string): The name of the fund.
- `as_of` (string)
- `filing_date` (string): The day the filing was made public.
- `constituent_instrument_id` (string): The ID of the listing the fund holds.
- `ticker` (string): The ticker symbol.
- `issuer` (string): The name of the company that issued the security.
- `country` (string): The country where the listing trades.
- `exchange` (string): The exchange the listing trades on.
- `sector` (string): The company's sector, in one standard list used across all markets.
- `weight_pct` (number): The holding's share of the fund, in percent.
- `shares` (number)
- `market_value` (number): The value of the holding, in the currency named by market_currency.
- `isin` (string): The listing's International Securities Identification Number.
- `market_currency` (string)

## Example

```
curl 'https://api.quantset.dev/api/v1/etf-holdings?ticker=IVV&limit=20' -H 'X-API-Key: mw_demo'
```

## Responses

- 200 Successful Response
- 400 Supply one credential.
- 401 Supply a valid API key.
- 402 Reduce the request ceiling or refill your credits.
- 403 Your key does not have the required access.
- 404 The requested listing is absent from the catalog.
- 409 Start the read again with the current snapshot.
- 413 Reduce the page size before requesting CSV again.
- 422 Correct the named parameter and retry.
- 429 Wait for Retry-After seconds.
- 500 The request could not be completed.
- 503 Retry 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.

Group: Instruments, ETFs and capabilities
Docs page: https://quantset.dev/docs/api/etf-holdings
Integrations & Ecosystem: https://quantset.dev/integrations (Claude/Cursor MCP, LangGraph, PydanticAI, CrewAI, Agno, Vercel AI SDK, Mastra, Sheets =QUANTSET(), Excel, Notion & x402)
Full API guide: https://api.quantset.dev/llms-full.txt
