Logo
AXION

Indices List

GET/indices/list/exchange

Retrieves all unique exchange values available in the indices universe. Filter by exchange code.

Examples:

https://api.axionquant.com/indices/list/exchange
https://api.axionquant.com/indices/list/exchange?country=america
|

List by Exchange

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4values = client.indices.list('exchange')
5print(values)

Response

[
  "AMS",
  "ASE",
  "ASX",
  "BRU",
  "BSE",
  "BUD",
  "BUE",
  "BVB",
  "BVC",
  "CAI",
  "CGI",
  "CXI",
  "DJI",
  "DOH",
  "EBS",
  "FGI",
  "FSI",
  "GER",
  "HKG",
  "ISE",
  "IST",
  "JKT",
  "JNB",
  "KLS",
  "KOE",
  "KSC",
  "LIS",
  "MCE",
  "MEX",
  "MSC",
  "NIM",
  "NSI",
  "NYS",
  "NZE",
  "OPI",
  "OSA",
  "PAR",
  "PRA",
  "SAO",
  "SAU",
  "SES",
  "SET",
  "SGO",
  "SNP",
  "STO",
  "STU",
  "TAI",
  "TLV",
  "TSI",
  "VIE",
  "VSE",
  "WCB",
  "YHD",
  "ZRH"
]
GET/indices/list/timezone

Retrieves all unique timezone values available in the indices universe. Filter by timezone.

Examples:

https://api.axionquant.com/indices/list/timezone
|

List by Timezone

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4values = client.indices.list('timezone')
5print(values)

Response

[
  "AEST",
  "ART",
  "AST",
  "BRT",
  "BST",
  "CDT",
  "CEST",
  "CLT",
  "CST",
  "EDT",
  "EEST",
  "HKT",
  "ICT",
  "IDT",
  "IST",
  "JST",
  "KST",
  "MYT",
  "NZST",
  "SAST",
  "SGT",
  "TRT",
  "WEST",
  "WIB"
]
GET/indices/list/country

Retrieves all unique country values available in the indices universe. Filter by country name or code.

Examples:

https://api.axionquant.com/indices/list/country
|

List by Country

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4values = client.indices.list('country')
5print(values)

Response

[
  "africa",
  "america",
  "asia",
  "australia",
  "europe",
  "pacific"
]

Stocks API

The Stocks API provides comprehensive equity market data for publicly traded companies worldwide. This API supports multiple time frame aggregations. Essential for stock analysis, portfolio management, and trading strategy development.

GET/stocks/tickers

Retrieves a comprehensive list of all available stock tickers with support for filtering by country and exchange.

Query Parameters

ParameterTypeRequiredDescription
countrystringOptional

Filter tickers by listed market's region.

view all values
exchangestringOptionalFilter tickers by exchange. See Exchange Codes below for full list.view all values

Examples:

https://api.axionquant.com/stocks/tickers
https://api.axionquant.com/stocks/tickers?country=america&exchange=NASDAQ

Response Fields

id number

Unique identifier for the stock

name string

Full company name

ticker string

Stock ticker symbol (e.g., "MSFT", "AAPL")

symbol string

Full symbol with exchange prefix (e.g., "NASDAQ:MSFT")

exchange string

Exchange where stock is listed

market string

Market region (e.g., "america")

type string

Security type (e.g., common stock, preferred stock, dr)

|

All Stock Tickers

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4tickers = client.stocks.tickers(
5    country='america',
6    exchange='NASDAQ'
7)
8print(tickers)

Response

[
  {
    "id": 10,
    "name": "Zoompass Holdings, Inc.",
    "ticker": "ZPAS",
    "symbol": "OTC:ZPAS",
    "exchange": "OTC",
    "market": "america",
    "type": "common stock"
  },
  {
    "id": 11,
    "name": "Roper Technologies, Inc.",
    "ticker": "ROP",
    "symbol": "NASDAQ:ROP",
    "exchange": "NASDAQ",
    "market": "america",
    "type": "common stock"
  },
  {
    "id": 4,
    "name": "JFB Construction Holdings Class A",
    "ticker": "JFB",
    "symbol": "NASDAQ:JFB",
    "exchange": "NASDAQ",
    "market": "america",
    "type": "common stock"
  },
  {
    "id": 22,
    "name": "Strive, Inc. Perf Pfd Registered Shs Series A",
    "ticker": "SATA",
    "symbol": "NASDAQ:SATA",
    "exchange": "NASDAQ",
    "market": "america",
    "type": "preferred stock"
  },
  {
    "id": 24,
    "name": "Minth Group Limited Unsponsored ADR",
    "ticker": "MNTHY",
    "symbol": "OTC:MNTHY",
    "exchange": "OTC",
    "market": "america",
    "type": "dr"
  }
]
GET/stocks/gainers

Retrieves the top gaining stocks over a specified lookback period. Returns ticker symbols with their percentage change, sorted from highest gainer to lowest. Useful for identifying market momentum and trending securities.

Query Parameters

ParameterTypeRequiredDescription
daysintegerOptionalLookback period in days (default: 5)
limitintegerOptionalMaximum number of results to return (default: 10)
marketstringOptionalMarket filter (e.g., "america").view all values

Examples:

https://api.axionquant.com/stocks/gainers
https://api.axionquant.com/stocks/gainers?days=30&limit=20

Response Fields

ticker string

Stock ticker symbol

pctchange number

Percentage change over the lookback period

|

Stock Gainers

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4gainers = client.stocks.gainers(
5    days=5,
6    limit=10,
7    market='america'
8)
9print(gainers)

Response

[
  {
    "ticker": "AAPL",
    "pctchange": 2.345
  },
  {
    "ticker": "MSFT",
    "pctchange": 1.234
  },
  {
    "ticker": "GOOGL",
    "pctchange": 0.987
  }
]
GET/stocks/losers

Retrieves the top losing stocks over a specified lookback period. Returns ticker symbols with their percentage change, sorted from most negative to least negative. Useful for identifying market weakness and potential reversals.

Query Parameters

ParameterTypeRequiredDescription
daysintegerOptionalLookback period in days (default: 5)
limitintegerOptionalMaximum number of results to return (default: 10)
marketstringOptionalMarket filter (e.g., "america").view all values

Examples:

https://api.axionquant.com/stocks/losers
https://api.axionquant.com/stocks/losers?days=30&limit=20

Response Fields

ticker string

Stock ticker symbol

pctchange number

Percentage change over the lookback period

|

Stock Losers

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4losers = client.stocks.losers(
5    days=5,
6    limit=10,
7    market='america'
8)
9print(losers)

Response

[
  {
    "ticker": "TSLA",
    "pctchange": -3.456
  },
  {
    "ticker": "META",
    "pctchange": -2.345
  },
  {
    "ticker": "NFLX",
    "pctchange": -1.234
  }
]

Stocks API

The Stocks API provides comprehensive equity market data for publicly traded companies worldwide. This API supports multiple time frame aggregations. Essential for stock analysis, portfolio management, and trading strategy development.

GET/stocks/:ticker/quote

Retrieves a comprehensive quote for a specific stock ticker. 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
tickerstringRequiredStock ticker symbol (e.g., "AAPL", "MSFT")

Examples:

https://api.axionquant.com/stocks/AAPL/quote
https://api.axionquant.com/stocks/MSFT/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

|

Stock Quote

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4quote = client.stocks.quote('AAPL')
5print(quote)

Response

{
  "latestClose": 150.25,
  "latestOpen": 151.1,
  "latestHigh": 152.34,
  "latestLow": 149.87,
  "previousClose": 149.45,
  "week52Range": {
    "high": 180.12,
    "low": 120.34
  },
  "week52AvgClose": 150.05,
  "ema30": 152.12,
  "ema60": 148.34,
  "ema90": 145.56,
  "ema120": 142.78,
  "ytdClosePctChange": 2.345,
  "volume": 50000000,
  "avgVolumeLifetime": 45000000
}