Funds & Indexes

What a fund held, who held a stock, and who was in an index, on any date

Funds & Indexes answers three questions for any date since late 2019: what a fund held, which funds held a stock, and which stocks were in an index. Each answer uses only the fund portfolios that were public on that date.

curl
curl -G "https://api.tickerdb.com/v1/indexes/members" \ --data-urlencode 'index=sp500' \ --data-urlencode 'date=2024-06-28' \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "index": "sp500", "date": "2024-06-28", "source": { "fund_id": "S000004310", "accession": "0001752724-24-121655", "report_date": "2024-03-31", "filed_on": "2024-05-24", "portfolio_age_days": 89 }, "member_count": 503, "members": [ { "ticker": "MSFT", "name": "Microsoft Corp", "weight_pct": 7.0912 }, { "ticker": "AAPL", "name": "Apple Inc", "weight_pct": 5.6143 }, { "ticker": "NVDA", "name": "NVIDIA Corp", "weight_pct": 5.0587 } // ... 500 more ] }

The answers come from Form N-PORT, where ETFs and mutual funds publish their quarter-end portfolios to the SEC. That's why the members above are from the portfolio of 2024-03-31: it's the newest one that was public on 2024-06-28.

What you can ask

  • Screen an index as it stood. Add member_of=sp500 to Search, Universe or History, and each row is kept only if the stock was a member on that row's date. Stocks that later left the index, or stopped trading, are still in your backtest. More below.
  • List an index's members. /v1/indexes/members on a date. /v1/indexes lists the indexes.
  • Read a fund's portfolio. Find it with /v1/funds, then read it with /v1/funds/holdings. To screen only what a fund held, use held_by=IVV the same way as member_of.
  • See who holds a stock. /v1/funds/holders: every fund that held it on a date, largest first, and the indexes it was in.

In the MCP server these are get_funds, get_fund_holdings, get_fund_holders, get_indexes and get_index_members.

Cost

Every plan can use these endpoints. date reaches as far back as your plan's history (Plans).

  • /v1/funds and /v1/indexes: 1 credit.
  • /v1/funds/holdings, /v1/funds/holders and /v1/indexes/members: 1 credit, plus 1 per 100 rows beyond the first 100. All S&P 500 members cost 6 credits, all Russell 2000 members 21.
  • member_of and held_by add nothing to Search, Universe or History.

How old the data is

Every answer uses only what was public on the date you ask for, so holdings and membership are usually 2 to 5 months old. Funds publish each quarter's portfolio up to 60 days after the quarter ends, and it counts only from that day.

Two dates tell you how old an answer is: report_date is the quarter end the holdings describe, and filed_on is when they became public. portfolio_age_days is the gap between report_date and your date.

A correction counts from the day it was filed. A fund that stops filing drops out after 200 days.

Index membership

An index's members on a date are the stocks held by a fund that fully replicates the index, in the fund's portfolio public on that date. A stock added to the index appears once the fund's next portfolio is public, and a removed stock stays until then.

Index idIndexRead from
sp500S&P 500IVV, iShares Core S&P 500 ETF
sp400S&P MidCap 400IJH, iShares Core S&P Mid-Cap ETF
sp600S&P SmallCap 600IJR, iShares Core S&P Small-Cap ETF
sp100S&P 100OEF, iShares S&P 100 ETF
nasdaq100Nasdaq-100AVIP Nasdaq-100 Index Portfolio (an insurance fund with no ticker) until QQQM's first filing on 2021-01-28, then Invesco QQQM
russell1000Russell 1000IWB, iShares Russell 1000 ETF
russell2000Russell 2000IWM, iShares Russell 2000 ETF

/v1/indexes returns this list with each index's usual member count and the dates each source fund covers.

What it can't show

  • Before late 2019. N-PORT portfolios start in late 2019, from November for most funds. Before a fund's first one, nothing is served: holdings come back empty with a note, and member_of and held_by match no rows. first_date on /v1/indexes is each index's first date.
  • Changes inside a quarter. Funds publish one portfolio per quarter, so a stock bought and sold between quarter ends doesn't show.
  • SPY, QQQ, DIA and MDY. Unit investment trusts don't file N-PORT, so they have no holdings here and the Dow 30 isn't tracked. Use a fund with the same exposure, such as IVV for the S&P 500.
  • Fund details are current. A fund's name, tickers and net assets are its latest. Holdings, holders and membership are as of the date you ask for.

Screening an index on past dates

member_of and held_by check each row against the portfolio public on that row's own date, so a date range is checked date by date. The parameters are in Search. With either one, the response has a membership object saying what was applied.

Oversold S&P 500 members on 2024-06-28
curl -G "https://api.tickerdb.com/v1/search" \ --data-urlencode 'filters=[{"field":"momentum_rsi_zone","op":"in","value":["oversold","deep_oversold"]}]' \ --data-urlencode 'date=2024-06-28' \ --data-urlencode 'member_of=sp500' \ -H "Authorization: Bearer YOUR_API_KEY"

To read membership as a field instead, every stock row has index_sp500_member, index_nasdaq100_member, index_russell2000_member and index_member_count (see Schema).

Find funds

GET https://api.tickerdb.com/v1/funds

Finds funds by name or ticker. With neither, it lists every fund, largest first. Then read one with /v1/funds/holdings?fund=<ticker>.

curl
curl -G "https://api.tickerdb.com/v1/funds" \ --data-urlencode 'q=core s&p 500' \ --data-urlencode 'etf_only=true' \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "filters": { "q": "core s&p 500", "ticker": null, "etf_only": true }, "limit": 20, "offset": 0, "has_more": false, "row_count": 1, "funds": [ { "fund_id": "S000004310", "name": "iShares Core S&P 500 ETF", "tickers": ["IVV"], "is_etf": true, "registrant": "iShares Trust", "first_filed_on": "2019-11-26", "last_report_date": "2026-06-30", "last_filed_on": "2026-08-25", "filings": 28, "net_assets_usd": 703418226514 } ] }

Parameters

ParameterDefaultDescription
q—Words of the fund's name, in any order and case: core s&p 500. Every word must be in the name. Up to 8 words
ticker—A fund ticker (IVV, VFIAX) or SEC series id (S000004310)
etf_onlyfalsetrue: only ETFs we cover
limit20Results per page, up to 100
offset0For paging

Response fields

FieldTypeDescription
fundsarrayThe funds found, each with the fields below
fund_idstringSEC series id. Works anywhere a fund is asked for
name, tickersstring, arrayFund name and its share-class tickers
is_etfbooleanWhether it's an ETF
registrantstring | nullThe trust that files for the fund
first_filed_onstringWhen its first portfolio became public. Holdings start here
last_report_date, last_filed_onstringIts newest portfolio's quarter end, and when it became public
filingsinteger | nullPortfolios on file, corrections included
net_assets_usdinteger | nullNet assets in the newest portfolio
notestringOnly when a ticker finds nothing: why, and what to use instead
has_more, row_countboolean, integerWhether there's another page; funds on this page
filters, limit, offsetYour request, as applied

Fund holdings

GET https://api.tickerdb.com/v1/funds/holdings

A fund's portfolio as public on one date, largest first: every line as filed, including bonds, cash funds and derivatives.

ticker is the symbol on the date you asked for, and former symbols work (FB is Meta before its rename). A line we can't match to a stock or ETF we cover has ticker: null: foreign listings, bonds, cash funds, private funds, derivatives.

curl
curl -G "https://api.tickerdb.com/v1/funds/holdings" \ --data-urlencode 'fund=IVV' \ --data-urlencode 'date=2026-10-30' \ --data-urlencode 'limit=2' \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "fund": { "fund_id": "S000004310", "name": "iShares Core S&P 500 ETF", "tickers": ["IVV"], "is_etf": true, "registrant": "iShares Trust", "first_filed_on": "2019-11-26", "last_report_date": "2026-06-30", "last_filed_on": "2026-08-25", "filings": null, "net_assets_usd": 703418226514 }, "date": "2026-10-30", "filing": { "accession": "0002071691-26-019760", "form": "NPORT-P", "report_date": "2026-06-30", "filed_on": "2026-08-25", "portfolio_age_days": 122, "net_assets_usd": 703418226514, "total_lines": 508, "sec_url": "https://www.sec.gov/Archives/edgar/data/1100663/000207169126019760/" }, "limit": 2, "offset": 0, "has_more": true, "row_count": 2, "holdings": [ { "ticker": "NVDA", "issuer_name": "NVIDIA Corp", "title": "NVIDIA Corp", "cusip": "67066G104", "isin": "US67066G1040", "balance": 284113067, "unit": "NS", "value_usd": 52791049178.27, "weight_pct": 7.505087, "payoff_profile": "Long", "asset_category": "EC", "asset_category_other": null, "issuer_category": "CORP", "country": "US", "currency": "USD", "is_restricted": false, "fair_value_level": "1", "derivative_category": null }, { "ticker": "MSFT", "issuer_name": "Microsoft Corp", "title": "Microsoft Corp", "cusip": "594918104", "isin": "US5949181045", "balance": 89920512, "unit": "NS", "value_usd": 46162911642.88, "weight_pct": 6.562663, "payoff_profile": "Long", "asset_category": "EC", "asset_category_other": null, "issuer_category": "CORP", "country": "US", "currency": "USD", "is_restricted": false, "fair_value_level": "1", "derivative_category": null } ] }

Parameters

ParameterDefaultDescription
fund—Required. A fund ticker (IVV, VFIAX) or SEC series id (S000004310)
datetodayYYYY-MM-DD
limit500Lines per page, up to 5000
offset0For paging

Response fields

fund is the fund as in /v1/funds. When no portfolio of the fund is public on date, filing is null, holdings is empty, and note says why.

FieldTypeDescription
filing.report_datestringThe quarter end the holdings describe
filing.filed_onstringWhen the portfolio became public
filing.portfolio_age_daysintegerDays from report_date to date
filing.accession, form, sec_urlstringThe SEC filing: its number, form (NPORT-P, or NPORT-P/A for a correction) and link
filing.net_assets_usd, total_linesintegerNet assets, and how many lines the portfolio has
holdings[].tickerstring | nullThe symbol on date. null when it isn't a stock or ETF we cover
holdings[].issuer_name, titlestringIssuer and security, as filed
holdings[].cusip, isinstring | nullIdentifiers, as filed
holdings[].balance, unitnumber, stringHow much: shares (NS), principal (PA) or contracts (NC)
holdings[].value_usdnumber | nullValue in US dollars on report_date
holdings[].weight_pctnumber | nullPercent of the fund's net assets. Negative for a short position
holdings[].payoff_profilestring | nullLong, Short or N/A
holdings[].asset_category, asset_category_otherstring | nullWhat kind of holding: EC (common stock), DBT (debt), STIV (short-term investment vehicle) and others. Free text when it's OTHER
holdings[].issuer_category, country, currencystring | nullIssuer type (CORP, UST, …), its country, and the position's currency
holdings[].is_restricted, fair_value_levelboolean, stringRestricted security; fair-value level 1, 2 or 3
holdings[].derivative_categorystring | nullFor derivatives: FUT, OPT, SWP, FWD and others
has_more, row_countboolean, integerWhether there's another page; lines on this page

Fund holders

GET https://api.tickerdb.com/v1/funds/holders

The funds that held a stock on one date, largest positions first, and the indexes it was in. A fund counts when its portfolio on that date holds the stock long. Each fund's numbers are from its own report_date, so funds on the same page can be from different quarters.

curl
curl -G "https://api.tickerdb.com/v1/funds/holders" \ --data-urlencode 'ticker=AAPL' \ --data-urlencode 'date=2026-10-30' \ --data-urlencode 'limit=1' \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "ticker": "AAPL", "date": "2026-10-30", "filters": { "etf_only": false }, "index_memberships": [ { "index": "nasdaq100", "report_date": "2026-07-31", "filed_on": "2026-09-26" }, { "index": "russell1000", "report_date": "2026-06-30", "filed_on": "2026-08-25" }, { "index": "sp100", "report_date": "2026-06-30", "filed_on": "2026-08-25" }, { "index": "sp500", "report_date": "2026-06-30", "filed_on": "2026-08-25" } ], "fund_count": 4213, "fund_shares": 5184377210, "limit": 1, "offset": 0, "has_more": true, "row_count": 1, "funds": [ { "fund_id": "S000004310", "name": "iShares Core S&P 500 ETF", "tickers": ["IVV"], "is_etf": true, "shares": 205318442, "value_usd": 42908761591.16, "weight_pct": 6.100055, "report_date": "2026-06-30", "filed_on": "2026-08-25" } ] }

Parameters

ParameterDefaultDescription
ticker—Required. A stock or ETF. Former symbols work
datetodayYYYY-MM-DD
etf_onlyfalsetrue: only ETFs we cover
limit100Funds per page, up to 1000
offset0For paging

Response fields

FieldTypeDescription
index_membershipsarrayThe indexes the stock was in on date, each with the report_date and filed_on of the portfolio behind it
fund_count, fund_sharesinteger, numberAll holders and their total shares, across every page
funds[].fund_id, name, tickers, is_etfThe fund, as in /v1/funds
funds[].shares, value_usd, weight_pctnumberThe position on the fund's report_date. weight_pct is its percent of the fund
funds[].report_date, filed_onstringThe fund's portfolio quarter end, and when it became public
has_more, row_countboolean, integerWhether there's another page; funds on this page

Indexes

GET https://api.tickerdb.com/v1/indexes

The indexes you can ask for, each with the fund it's read from. No parameters.

curl
curl "https://api.tickerdb.com/v1/indexes" \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "as_of": "2026-11-01", "method": "N-PORT holdings of a fully replicating fund, point in time by filing date", "stale_after_days": 200, "row_count": 7, "indexes": [ { "index": "nasdaq100", "name": "Nasdaq-100", "expected_members": "~100-103", "first_date": "2019-11-27", "members_today": 101, "latest_report_date": "2026-07-31", "latest_filed_on": "2026-09-26", "note": "AVIP (formerly Ohio National) Nasdaq-100 Index Portfolio until Invesco QQQM's first N-PORT", "sources": [ { "fund_ticker": null, "fund_id": "S000007880", "from": null, "until": "2021-01-28" }, { "fund_ticker": "QQQM", "fund_id": "S000069448", "from": "2021-01-28", "until": null } ] }, { "index": "sp500", "name": "S&P 500", "expected_members": "~503", "first_date": "2019-11-26", "members_today": 503, "latest_report_date": "2026-06-30", "latest_filed_on": "2026-08-25", "note": null, "sources": [ { "fund_ticker": "IVV", "fund_id": "S000004310", "from": null, "until": null } ] } // ... russell1000, russell2000, sp100, sp400, sp600 ] }
FieldTypeDescription
index, namestringThe id to use in index= and member_of=, and the index's name
expected_membersstring | nullThe index's usual member count, to check against
members_todayintegerMembers today
first_datestring | nullThe first date with members
latest_report_date, latest_filed_onstring | nullThe portfolio behind today's members
sourcesarrayThe funds it's read from: fund_ticker, fund_id, and from / until (null means open-ended)
notestring | nullAnything about its sources
as_of, method, stale_after_daysToday's date, how membership is read, and the age (200 days) after which a portfolio isn't used

Index members

GET https://api.tickerdb.com/v1/indexes/members

An index's members on one date, heaviest first, all in one response. The example is at the top of this page.

Parameters

ParameterDefaultDescription
index—Required. An id from /v1/indexes, such as sp500
datetodayYYYY-MM-DD

Response fields

FieldTypeDescription
sourceobject | nullThe portfolio used: fund_id, accession, report_date, filed_on, portfolio_age_days. null, with a note, when none was public on date
member_countintegerHow many members
members[].ticker, namestring | nullThe symbol on date, and the company
members[].weight_pctnumberPercent of the source fund

Errors

Statuserror.typeCauseWhat to do
400invalid_parameterA missing fund, ticker or index, a malformed one, a bad date, or an unknown parameter.Read the message and fix that parameter.
403tier_restricteddate is before your plan's history.Use a later date, or see Plans.
404not_foundHoldings: the fund doesn't file N-PORT, such as SPY. Members: the index isn't tracked.For a fund, the message names one to use instead; or search with /v1/funds. For an index, the message lists the ids.
404ticker_not_foundHolders: we don't know the ticker.Check the symbol, or find it with Search.

Errors aren't charged. Authentication and rate-limit errors are on Authentication and Errors & Caching.