Logo
AXION

Indices Quote

GET/indices/:ticker/quote

Retrieves 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

ParameterTypeRequiredDescription
tickerstringRequiredIndex ticker symbol (e.g., "SPX", "NDX", "DJI")

Examples:

https://api.axionquant.com/indices/SPX/quote
https://api.axionquant.com/indices/NDX/quote

Response 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

Sample code
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
}
GET/indices/:ticker

Retrieves 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

ParameterTypeRequiredDescription
tickerstringRequiredIndex ticker symbol (e.g., "AXJO", "AEX", "GVZ", "GRNWATERLEURX")

Examples:

https://api.axionquant.com/indices/SPX
https://api.axionquant.com/indices/NDX

Response 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

Sample code
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
}
GET/indices/:ticker/prices

Retrieves comprehensive historical data for a specific market index. This powerful endpoint supports multiple time frame aggregations and time-based filtering for advanced technical analysis, backtesting, and benchmark performance measurement.

Path Parameters

ParameterTypeRequiredDescription
tickerstringRequiredIndex ticker symbol (e.g., "AXJO", "AEX", "GVZ", "GRNWATERLEURX")

Query Parameters

ParameterTypeRequiredDescription
framestringOptional

Time frame for data aggregation. Default: daily.

Value(s)Resolves to
daily, day, ddaily
weekly, wweek
monthly, month, mmonth
quarterly, quarter, qquarter
yearly, year, yyear
tostringOptionalEnd date for historical data (ISO 8601 format). If not provided, returns data up to the latest available.
fromstringOptionalStart date for historical data (ISO 8601 format). Automatically clamped by the system if too far in the past.

Examples:

https://api.axionquant.com/indices/SPX/prices
https://api.axionquant.com/indices/NDX/prices?frame=monthly&from=2024-01-01&to=2024-12-31

Response Fields

time string

ISO 8601 timestamp of the data point

ticker string

Index ticker symbol

open string

Opening index value (decimal string)

high string

Highest index value during the period

low string

Lowest index value during the period

close string

Closing index value

volume string

Trading volume (may be "0" for non-tradable indices)

|

Historical Index Data

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4prices = client.indices.prices('GVZ',
5    frame='daily',
6    from_date='2025-12-01',
7    to_date='2025-12-19'
8)
9print(prices)

Response (Daily Frame)

[
  {
    "time": "2025-12-19T16:31:46.000Z",
    "ticker": "GVZ",
    "open": "21.2600",
    "high": "21.3900",
    "low": "20.8100",
    "close": "21.0600",
    "volume": "0"
  },
  {
    "time": "2025-12-18T14:30:00.000Z",
    "ticker": "GVZ",
    "open": "20.6500",
    "high": "21.5100",
    "low": "20.0500",
    "close": "21.3100",
    "volume": "0"
  }
]