Market Indices
Benchmark indices end to end: list constituents, measure exposure, and pull index-level quotes and history for benchmarking and research.
Indices API
The Indices API provides comprehensive stock market index data including constituent tickers and exposure analysis. Essential for understanding index composition, tracking benchmark changes, and analyzing market structure.
/indices/:ticker/componentsRetrieves the constituent tickers that make up a specific market index. Returns the index symbol along with an array of component ticker symbols. Essential for understanding index composition, tracking rebalancing changes, and analyzing sector exposure within an index.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ticker | string | Required | Index ticker symbol (e.g., "SPX", "NDX", "DJI") |
Examples:
https://api.axionquant.com/indices/SPX/componentshttps://api.axionquant.com/indices/NDX/componentsResponse Fields
symbol string
Index ticker symbol
components array of strings
List of constituent ticker symbols that make up the index
Index Components
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4components = client.indices.components('SPX')
5print(components)Response
{
"symbol": "SPX",
"components": [
"AAPL",
"MSFT",
"GOOGL",
"AMZN",
"NVDA",
"META",
"TSLA",
"BRK.B",
"JPM",
"V",
"JNJ",
"WMT",
"MA",
"PG",
"UNH",
"HD",
"DIS",
"BAC",
"NFLX",
"ADBE"
]
}