Index Constituents
v0.2.1Index constituents and holdings, point-in-time.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
index_constituents
Current constituents of a major US or developed-markets equity index — ticker, name, GICS sector, and weight — sourced from the matching iShares index-tracking ETF's daily holdings file (the closest free, point-in-time proxy for official index membership and weights; S&P/Russell do not publish those for free). Answers "what's in the S&P 500 right now", "top holdings of the Russell 2000 by weight", "which sectors make up the S&P MidCap 400". Cash, collateral and futures positions the ETF holds are excluded here — use ishares_etf_holdings for those.
| Parameter | Type | Description |
|---|---|---|
index * | string | Which index. One of: sp500, sp400, sp600, russell1000, russell2000, eafe. |
limit | number | Max rows to return, sorted by weight descending (default 50, max 600 — pass the max to get the full index in one call). |
offset | number | Rows to skip, for paging past `limit` (default 0). |
sector | string | Optional GICS sector filter, case-insensitive substring match (e.g. "Health Care", "Energy"). |
constituent_changes
Dated additions and removals from the S&P 500, sourced from Wikipedia's maintained "Historical components of the S&P 500" table (every S&P-announced swap since 1963, each with its effective date, the ticker/company added, the ticker/company removed, and the stated reason). Answers "what changed in the S&P 500 in 2024", "when was X removed from the S&P 500 and what replaced it". Only sp500 is covered — the iShares-backed indexes above have no equivalent public, dated changes table.
| Parameter | Type | Description |
|---|---|---|
index * | string | Only "sp500" is supported. |
from | string | Earliest effective date to include, as a year ("2024") or ISO date ("2024-01-01"). Omit for no lower bound. |
limit | number | Max rows to return, most recent first (default 50, max 600). |
to | string | Latest effective date to include, as a year ("2024") or ISO date ("2024-12-31"). Omit for no upper bound. |