ETF True Holdings Data API (v1)
See what is really inside every ETF. Most funds hold other funds. The ETF True Holdings Data API looks through every layer and gives you the real companies, sectors and countries, as clean JSON for your own software or straight to your AI assistant.
Why use it
- Look-through, not just a holdings list. Funds inside funds are followed all the way down, so a portfolio of three ETFs becomes the companies it actually owns, with each company's share of the total.
- Canadian and U.S. funds in one place. Thousands of ETFs and funds, including the Canadian ones that the big U.S. data sources skip.
- Straight from the source. Holdings come directly from the fund issuers' own files, refreshed weekly, with the U.S. SEC filings as the backup.
- Honest about what is missing. Every list shows how much of the fund it covers, and the part we do not know is reported as missing weight instead of being guessed or spread over the other companies.
- Built for AI assistants. The same data and the same key work through an MCP service, so Claude and other assistants can use it directly.
- Simple to start. One key, plain JSON, no prices to license: you send the value of each position and we do the look-through.
What you can get:
- the list of funds we hold data for, with a search;
- each fund's full list of holdings, with sector and country for each company;
- a look-through of a whole portfolio down to companies, sectors, countries and asset classes.
In the examples, http://etftrueholdings.com is the address of the service (on this page it is filled in for you) and $KEY is your API key. A machine-readable description of the endpoints (OpenAPI 3) is in docs/openapi.json.
Getting started
- Ask for a key. Write to info@etftrueholdings.com with your name and what you want to build. We make a key for you (it starts with
etfth_), set its calls per minute and calls per month, and send it to you once. - Check it works. Run:
curl -s "http://etftrueholdings.com/api/v1/status" -H "Authorization: Bearer $KEY"
- Find a fund, then read its holdings.
GET /api/v1/funds?q=xeqt, thenGET /api/v1/funds/XEQT.TO/holdings. - Look through a portfolio.
POST /api/v1/lookthroughwith your positions (see below). - Use an AI assistant instead? Point it at
http://etftrueholdings.com/mcpwith the same key (see the MCP section).
The machine-readable description of every endpoint (OpenAPI 3) is at http://etftrueholdings.com/openapi.json; most API tools can import it.
Your API key
- We give you a key that starts with
etfth_. It is shown to us only once, when it is made, and we keep only a fingerprint of it, so we cannot look it up for you later. If you lose it, ask for a new one; we stop the old one. - Send it with every call, in one of these two headers:
Authorization: Bearer $KEYX-API-Key: $KEY- Never put the key in a web address (query string): it would end up in logs.
- A call without a valid key gets
401with{"error": "unauthorized", ...}. The answer is the same whether the key is missing, mistyped or stopped. - The API is meant to be called from your own servers and tools, not from a web page in a browser: it does not allow cross-site browser requests.
Limits
Each key has two limits (and optionally two more), set by us for your key:
- calls per minute - when you go over it you get
429with{"error": "rate_limited"}and aRetry-Afterheader (seconds to wait); - calls per calendar month (UTC) - when it is used up you get
429with{"error": "monthly_quota_exceeded"}and aRetry-Afterheader (seconds until the next month starts). - Optionally a lower look-through calls per minute limit (the look-through is the heaviest call) - over it you get
429with{"error": "lookthrough_rate_limited"}and aRetry-Afterheader. - Optionally also calls per day (UTC day) and calls per week (today and the 6 days before) - when one is used up you get
429with{"error": "daily_quota_exceeded"}or{"error": "weekly_quota_exceeded"}and aRetry-Afterheader (seconds until the next UTC day).
A call counts when it succeeds. In the MCP service each tool call counts as one call; starting a session and listing the tools are free. Other fixed limits: a fund list page holds at most 200 funds (a protective maximum on page size), a ticker or search text is at most 40 characters, a portfolio holds at most 1,000 positions, and a request body is at most 8 MB.
Errors
Every error is JSON: {"error": "<code>", "message": "<plain text>"}. Codes: bad_request (400), unauthorized (401), not_found (404), too_large (413), rate_limited / lookthrough_rate_limited / daily_quota_exceeded / weekly_quota_exceeded / monthly_quota_exceeded (429), server_error (500), unavailable (503), busy (503, with Retry-After: 1).
Limits and behaviour
- The per-minute and monthly limits belong to your key and are set when the key is made. A call counts against them only when it succeeds. The per-minute window also counts calls refused for a limit (429), so a script that keeps retrying is slowed down; a call refused as
busy(our own capacity limit, not yours) is not counted. - The per-minute window is kept by each server instance, so a service that runs several instances can allow a little more than the limit. Calls that are running at the same time are counted against the monthly quota at once.
- The service runs only a few data requests at the same time, so that the website stays responsive. A call that finds every slot taken waits up to 3 seconds for one; if none frees up you get
busy(503): wait a second and send the call again. A look-through of many different funds takes longer than a search. - Speed: every answer carries a
Server-Timingheader with the time the service itself spent on your call, so you can tell its time from your network's. A look-through you repeat (the same positions, currency andtop) is answered from a stored copy and comes back in a fraction of a second; the header then readscache hit. The stored copy is used only while the data it was built from is unchanged, so it is never older than the data: when new holdings arrive, the next call is worked out again. A repeated call counts against your limits like any other. - MCP: send one JSON-RPC message per request (batches are refused with error -32600). Every message uses your per-minute limit; only
tools/callcounts against the monthly quota. The key goes in theAuthorization: Bearerheader (orX-API-Key); an MCP client that can only sign in with OAuth cannot use this service yet. - If the key list cannot be read, every call answers 503 until it can be: a revoked key is never kept alive by an old copy.
What "partial" means
Each fund carries partial: true when its list names only the fund's largest holdings, and partial_kind says which list it is, for example top 10, from Yahoo (source YF) or top 25, published by the issuer (an issuer's own partial list, with its own date). Every fund also carries total_weight_pct, the sum of the weights we store, so you can judge any list yourself (a fund's own file can add up to less or more than 100%, for example funds that hold cash, bonds or derivatives, or covered-call funds).
In a look-through, the part of a fund that its stored holdings do not cover is shown as missing weight, never spread over the other companies.
Where the data comes from
We source ETF True Holdings directly from fund issuers (websites, financial statements, and reports) to ensure you get the most complete and recent data available.
- Canadian Funds - 100% sourced directly from fund issuers.
- U.S. Funds - Sourced from fund issuers where they publish a list online, which includes the largest U.S. funds. When direct issuer data is unavailable, we pull from the U.S. Securities and Exchange Commission (SEC). Note: While SEC quarterly reports are official, they can be up to 5 months out-of-date (accounting for the 60-day SEC filing window following quarter-end), which is why direct issuer sourcing is always our preferred priority.
- Global Funds - Standalone funds listed outside Canada and the U.S. are not supported unless they are held within a Canadian or U.S. fund (underlying fund within a fund).
In the API, each fund's source tells you which one it is:
CUSTOM- the issuer's own holdings file (iShares, Vanguard, BMO, Global X, ...). Refreshed weekly.SEC- the fund's latest SEC filing (form N-PORT, published quarterly with a delay). The filing date is the fund'sreport_date.INDEX- a fund that holds a swap instead of stocks (for example Global X's Corporate Class funds). We show the holdings of a sister fund that holds the same index; the answer names that fund (index_via) and the index.YF- only the largest holdings are known (alwayspartial).
GET /api/v1/status tells you the dates of the newest and oldest issuer files and SEC filings in the data. Each fund and each holdings answer carries its own date (report_date / as_of). The API gives no prices: you send position values yourself.
Endpoints
GET/api/v1/status
Data dates, number of funds by source, and the service version.
curl -s "http://etftrueholdings.com/api/v1/status" -H "Authorization: Bearer $KEY"
{"api_version":"v1","server_version":"V399",
"data_as_of":{"issuer_files_newest":"2026-10-21T22:37:53Z","issuer_files_oldest":"2026-10-21","sec_filings_oldest":"2026-05-29","sec_filings_newest":"2026-07-31"},
"fund_counts":{"SEC":5174,"CUSTOM":2420,"INDEX":8,"YF":251,"total":7853},"alias_tickers":8285}
alias_tickers: other tickers (share classes) that answer with the same holdings as a fund we store.
GET/api/v1/funds
Search the funds. All parameters are optional:
| parameter | meaning |
|---|---|
q | part of the ticker or the fund name (not case sensitive) |
issuer | the issuer's name, exactly (not case sensitive), e.g. iShares |
source | SEC, CUSTOM, INDEX or YF |
updated_since | only funds whose list we read on or after this date (2026-11-12), so you can refresh only what changed |
limit | funds per page, 1 to 200 (default and maximum 200) |
offset | how many funds to skip (for the next page) |
curl -s "http://etftrueholdings.com/api/v1/funds?q=xeqt" -H "Authorization: Bearer $KEY"
{"total":1,"limit":200,"offset":0,
"funds":[{"ticker":"XEQT.TO","name":"iShares Core Equity ETF Portfolio","issuer":"iShares","source":"CUSTOM",
"report_date":"2026-10-19","number_of_holdings":5,"total_weight_pct":99.83,"partial":false}]}
Every fund carries updated_at, when we last read its list. Funds of source INDEX also carry index_via and index_name; a share-class ticker carries alias_of. Funds are sorted by ticker.
GET/api/v1/funds/{ticker}/holdings
Every holding we store for one fund, in the fund's own order. 404 not_found when we hold nothing for that ticker. Use the exchange suffix for Canadian funds (XEQT.TO, ZSP.TO, AGSG.NE); US funds have none (VOO).
curl -s "http://etftrueholdings.com/api/v1/funds/HXT.TO/holdings" -H "Authorization: Bearer $KEY"
{"ticker":"HXT.TO","name":"Global X S&P/TSX 60 Index Corporate Class ETF","issuer":"Global X","source":"INDEX",
"number_of_holdings":60,"total_weight_pct":99.73,"partial":false,"index_via":"CNDX.TO","index_name":"S&P/TSX 60 Index","as_of":"2026-06-30",
"note":"HXT.TO holds a swap, not stocks. These are the holdings of CNDX.TO, which tracks the same index (S&P/TSX 60 Index).",
"holdings":[{"symbol":"BMO.TO","name":"Bank of Montreal","weight_pct":4.3957,"yahoo_symbol":"BMO.TO","sector":"Financial Services","country":"Canada"}, ...]}
Each holding: symbol (as the issuer writes it), name, weight_pct, yahoo_symbol (the market symbol we matched it to, when we did), sector and country (when the issuers' files or our own records have them; otherwise null). For an INDEX fund the answer also has index_via, index_name and a note naming the fund whose holdings are shown.
Options (query string; the MCP tool get_fund_holdings takes the same as weights and top):
weights=raw(the default) gives eachweight_pctas we store it.weights=normalizedscales EVERY stored line so the list adds up to exactly 100:weight_pctis then the normalized weight andraw_weight_pctthe stored one;total_weight_pctstays the stored total andnormalized_total_pctis 100.top=Nreturns only the N biggest holdings (all of them by default); normalizing always uses every stored line, not just the N returned.lines_storedandlines_returnedsay how many exist and how many came back.- A ticker without its exchange suffix (
XEQT) works when it matches exactly one stored fund (the answer carries the full ticker,XEQT.TO); when it matches several, the answer is400 ambiguouswith thematchesto choose from.
POST/api/v1/lookthrough
Look through a portfolio. Send each position's market value, all in one currency (we do not convert or price anything; the currency name you give is only a label). A position can be a fund we store, a stock, or #CASH.
curl -s -X POST "http://etftrueholdings.com/api/v1/lookthrough?top=10" -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"positions":[{"symbol":"XEQT.TO","value":1000},{"symbol":"AAPL","value":500}],"options":{"base_currency":"CAD"}}'
top(in the address or in the body): how many of the largest companies to return; default 50.- Funds inside funds are followed all the way down (XEQT.TO -> XUS.TO -> the US stocks).
- A holding with no market symbol that is a known private company (Anthropic, OpenAI, Databricks ...) is one company under a made-up ticker such as
ANTHROPIC(typePrivate Company, sector and countryUnknown), all spellings added up.
The answer:
| field | meaning |
|---|---|
total_value | the sum of your positions |
companies | the largest companies: rank, ticker, name, asset_type, asset_class, country, sector, value, pct (of the total) |
companies_total | how many companies the portfolio holds in all |
sectors, countries | rows (sector / country, value, pct) plus unknown, missing_weight, cash, unattributed_pct |
allocation | rows by asset class (Stocks, Bonds, Cash, Crypto, Gold & Commodities, Money Market, Other; Cash is only your own cash positions) and unattributed |
missing_weight | value not covered by the funds' stored holdings (total, and per fund in funds) |
unattributed | value left over after all of the above (rounding, sub-fund gaps) |
funds_without_holdings | funds in your portfolio we have no holdings for (counted as one line) |
not_in_fund_list | symbols that are not funds we store (counted as single holdings, e.g. a stock) |
Percentages have 4 decimals and values 2.
GET/api/v1/companies/{symbol}/holders
Which of the funds we store hold a company, the biggest weight first. Use the Yahoo symbol: NVDA, SHOP.TO. Only holdings we have matched to a market symbol are found. 404 not_found when no fund holds it. Parameters: limit (1 to 200, default 200) and offset.
curl -s "http://etftrueholdings.com/api/v1/companies/NVDA/holders?limit=3" -H "Authorization: Bearer $KEY"
{"symbol":"NVDA","name":"NVIDIA Corporation","funds_total":2073,"limit":3,"offset":0,
"holders":[{"rank":1,"fund":"NVDG","name":"Leverage Shares 2X Long NVDA Daily ETF","issuer":"Leverage","source":"CUSTOM","weight_pct":..., "report_date":"2026-11-10","partial":false,"number_of_holdings":3}, ...]}
weight_pct is the company's weight in the fund as stored (added up when a fund lists the company more than once). partial is true for a fund with only its largest holdings.
GET/api/v1/companies/holders?name=
The same question for a company that has no market symbol, such as a private company (Anthropic, OpenAI, SpaceX): which funds hold a holding whose name contains the text, biggest weight first. name has at least 3 characters; a text that matches more than 200 different company names is refused (use more of the name). Parameters limit and offset as above. The answer lists matched_names (the spellings that matched, for example Anthropic PBC, ANTHROPIC SERIES H) and each holder carries the names it holds under. Weights are added up per fund.
GET/api/v1/securities/{symbol}
What we know about one company: name, sector, country, isins, and held_by_funds (how many stored funds list it). profile_known is false when we asked for a sector profile and none exists.
GET/api/v1/securities?q=
Find companies by part of a name or symbol, or by a 12-character ISIN (q has at least 2 characters; limit as above). Each result has symbol, name, sector and country where known. An ISIN search returns the symbols the funds' own lists give for that ISIN.
GET/api/v1/funds/{ticker}/detail
A fund's profile with what it holds underneath, looked through to the companies: breakdown.sectors, breakdown.countries and breakdown.asset_classes (each row with pct), unknown_sector_pct, unknown_country_pct, cash_pct, missing_weight_pct (the part of the fund we have no holdings for), companies_total and the 10 biggest companies in top_companies. A fund that holds other funds is followed all the way down.
POST/api/v1/overlap
How much 2 to 10 funds overlap. Send {"funds":["XEQT.TO","VEQT.TO","VOO"]}. It is measured on the underlying companies (a fund that holds other funds is looked through): for each company two funds both hold, the smaller of the two weights, added up. You get one entry per pair (overlap_pct, shared_companies, the biggest 10 in top_shared) and in_all_funds (the companies every fund holds). A fund with only a partial list understates the overlap.
POST/api/v1/holdings
The holdings of up to 20 funds in one call. Send {"tickers":["VOO","XEQT.TO"],"weights":"normalized","top":10} (weights and top as for one fund). The answer has one entry per fund in the order sent: {"ticker","ok":true,"data":{...the same as the holdings call...}}, or {"ticker","ok":false,"error","message"} for a fund we have nothing for. Each fund counts inside one call, so a batch of 20 uses one call of your limit.
GET/api/v1/issuers
The fund companies we store: issuer, funds, partial_funds, sources, and newest_update / oldest_update (when we last read their lists).
GET/api/v1/exchanges
The Yahoo exchange suffixes (.TO, .L, .AX ...) with the country of each, so a symbol can be read. No suffix: a U.S. listing.
MCP service (for AI assistants)
Address: http://etftrueholdings.com/mcp (MCP "streamable HTTP", plain JSON answers). It uses the same API key, the same limits and the same data.
Add it to Claude Code:
claude mcp add --transport http etftrueholdings http://etftrueholdings.com/mcp --header "Authorization: Bearer $KEY"
Tools:
search_funds(query, issuer?, limit?)- likeGET /api/v1/funds.get_fund_holdings(ticker)- likeGET /api/v1/funds/{ticker}/holdings.look_through(positions: [{symbol, value}], top?)- likePOST /api/v1/lookthrough.get_company_holders(symbol or name, limit?, offset?),get_security(symbol),search_securities(query, limit?),get_fund_detail(ticker),compare_funds(funds),get_funds_holdings(tickers, weights?, top?),list_issuers(),list_exchanges()- like the matching endpoints above.search_fundsalso takesupdated_since.
Each tool answers with the same JSON as the matching endpoint, as text. A fund we hold nothing for comes back as a tool result marked as an error, with the same {"error", "message"} text.
A quick check with curl:
curl -s -X POST "http://etftrueholdings.com/mcp" -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'