Indices API
The Indices API provides comprehensive stock market index data including major global indices, sector indices, and specialized thematic indices. This API supports multiple time frame aggregations and is essential for market analysis, benchmark comparison, and portfolio performance measurement.
/indices/tickersRetrieves a comprehensive list of all available market indices. This endpoint supports filtering by exchange, providing essential metadata for each index including its full name, ticker symbol, and exchange classification.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| exchange | string | Optional | Filter indices by exchange code. view all values |
Examples:
https://api.axionquant.com/indices/tickershttps://api.axionquant.com/indices/tickers?exchange=ASEResponse Fields
id number
Unique identifier for the index
ticker string
Index ticker symbol (e.g., "AXJO", "AEX")
name string
Full name of the index
exchange string
Exchange where the index is calculated/traded
All Index Tickers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4tickers = client.indices.tickers(exchange='ASX')
5print(tickers)Response
[
{
"id": 75,
"ticker": "AMZIVWAP",
"name": "Alerian MLP Infrastructure Inde",
"exchange": "NYS"
},
{
"id": 79,
"ticker": "AOR-IV",
"name": "ISHARES CORE 60/40 BALANCED ALL",
"exchange": "ASE"
},
{
"id": 5,
"ticker": "AXJO",
"name": "S&P/ASX 200",
"exchange": "ASX"
},
{
"id": 6,
"ticker": "ATX",
"name": "ATX",
"exchange": "VIE"
},
{
"id": 8,
"ticker": "ERAEMEUT",
"name": "Enhanced RAFI Emerging Markets",
"exchange": "SNP"
},
{
"id": 9,
"ticker": "E2HCR",
"name": "Dow Jones Europe ex-U.K. Health",
"exchange": "DJI"
},
{
"id": 12,
"ticker": "FCHI",
"name": "CAC 40",
"exchange": "PAR"
}
]/indices/gainersRetrieves the top gaining market indices over a specified lookback period. Returns index ticker symbols with their percentage change, sorted from highest gainer to lowest. Useful for identifying which markets are showing relative strength.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| days | integer | Optional | Lookback period in days (default: 5) |
| limit | integer | Optional | Maximum number of results to return (default: 10) |
Examples:
https://api.axionquant.com/indices/gainershttps://api.axionquant.com/indices/gainers?days=30&limit=20Response Fields
ticker string
Index ticker symbol
pctchange number
Percentage change over the lookback period
Index Gainers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4gainers = client.indices.gainers(days=5, limit=10)
5print(gainers)Response
[
{
"ticker": "SPX",
"pctchange": 1.234
},
{
"ticker": "NDX",
"pctchange": 1.123
},
{
"ticker": "DJI",
"pctchange": 0.987
}
]/indices/losersRetrieves the top losing market indices over a specified lookback period. Returns index ticker symbols with their percentage change, sorted from most negative to least negative. Useful for identifying which markets are showing relative weakness.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| days | integer | Optional | Lookback period in days (default: 5) |
| limit | integer | Optional | Maximum number of results to return (default: 10) |
Examples:
https://api.axionquant.com/indices/losershttps://api.axionquant.com/indices/losers?days=30&limit=20Response Fields
ticker string
Index ticker symbol
pctchange number
Percentage change over the lookback period
Index Losers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4losers = client.indices.losers(days=5, limit=10)
5print(losers)Response
[
{
"ticker": "VIX",
"pctchange": -12.345
},
{
"ticker": "RUT",
"pctchange": -2.345
},
{
"ticker": "GVZ",
"pctchange": -1.234
}
]/indices/:ticker/quoteRetrieves a comprehensive quote for a specific market index. Returns the latest OHLC values, exponential moving averages (EMA30, EMA60, EMA90, EMA120), 52-week range statistics, year-to-date performance, and volume data for comprehensive market analysis.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ticker | string | Required | Index ticker symbol (e.g., "SPX", "NDX", "DJI") |
Examples:
https://api.axionquant.com/indices/SPX/quotehttps://api.axionquant.com/indices/NDX/quoteResponse Fields
latestClose number
Most recent closing price
latestOpen number
Most recent opening price
latestHigh number
Most recent high price
latestLow number
Most recent low price
previousClose number
Previous closing price
week52Range object
52-week high/low range { high: number, low: number }
week52AvgClose number
Average closing price over the trailing 52 weeks
ema30 number
30-period exponential moving average
ema60 number
60-period exponential moving average
ema90 number
90-period exponential moving average
ema120 number
120-period exponential moving average
ytdClosePctChange number
Year-to-date closing price percentage change
volume number
Most recent trading volume
avgVolumeLifetime number
Lifetime average trading volume
Index Quote
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4quote = client.indices.quote('SPX')
5print(quote)Response
{
"latestClose": 5890.25,
"latestOpen": 5875.5,
"latestHigh": 5902.34,
"latestLow": 5868.12,
"previousClose": 5875.5,
"week52Range": {
"high": 6240.78,
"low": 5210.45
},
"week52AvgClose": 5720.34,
"ema30": 5905.67,
"ema60": 5850.23,
"ema90": 5800.89,
"ema120": 5750.45,
"ytdClosePctChange": 8.234,
"volume": 0,
"avgVolumeLifetime": 0
}/indices/:tickerRetrieves detailed metadata for a specific market index. This endpoint provides comprehensive information for a single index including its full name, ticker symbol, and the exchange where it's calculated or traded.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ticker | string | Required | Index ticker symbol (e.g., "AXJO", "AEX", "GVZ", "GRNWATERLEURX") |
Examples:
https://api.axionquant.com/indices/SPXhttps://api.axionquant.com/indices/NDXResponse Fields
id number
Unique identifier for the index
ticker string
Index ticker symbol (e.g., "AXJO", "AEX")
name string
Full name of the index
exchange string
Exchange where the index is calculated/traded
country string
Country of the index
timezone string
Trading timezone (e.g., AEST)
lastClose number
Most recent closing price
changePct number
Percentage change since last close
Index Ticker Details
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4ticker = client.indices.ticker('GRNWATERLEURX')
5print(ticker)Response
{
"id": 5,
"ticker": "AXJO",
"name": "S&P/ASX 200",
"exchange": "ASX",
"country": "australia",
"timezone": "AEST",
"lastClose": 8816.09960938,
"changePct": -0.142723001701814
}