Skip to main content
Glama

OpenAny

Financial Datasets — Get ETF / index-fund holdings

financialdatasets_get_index_funds

Query fund holdings in two directions. Provide exactly one of ticker or holding. ?ticker=SPY returns a fund's constituents and each position's weight (the fund's latest filing by default, or the composition in effect on/before as_of). ?holding=AAPL returns the funds whose latest filing holds that security, sorted by weight. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.

Input Schema

NameRequiredDescriptionDefault
as_ofNoOnly valid with `ticker`. Returns the fund composition in effect on or before this date (YYYY-MM-DD). Without it, the fund's latest filing is returned.
limitNoThe total number of rows to return (default: 50; no maximum). This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.
cursorNoOpaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
offsetNoThe number of rows to skip, for pagination (default: 0).
tickerNoThe fund's ticker symbol (e.g., `SPY`). Returns that fund's holdings. Mutually exclusive with `holding`.
holdingNoA held security's ticker symbol (e.g., `AAPL`). Returns the funds whose latest filing holds it. Mutually exclusive with `ticker`.
asset_classNoOnly valid with `ticker`. Filter constituents by instrument type: `equity` or `bond`. Omit for all holdings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.