/crypto/list/categoryRetrieves all unique category values available in the crypto universe. Filter by asset category.
Examples:
https://api.axionquant.com/crypto/list/categoryList by Category
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4values = client.crypto.list('category')
5print(values)Response
[
"algorithmic stablecoins",
"analytics",
"asset management",
"asset-backed tokens",
"centralized exchange",
"cryptocurrencies",
"dao",
"data management and ai",
"decentralized exchange",
"defi",
"depin",
"derivatives",
"developments tools",
"distributed computing and storage",
"e-commerce",
"education",
"energy",
"enterprise solutions",
"fan tokens",
"fundraising",
"gambling",
"gaming",
"health",
"identity",
"insurance",
"internet of things",
"interoperability",
"iso 20022",
"jobs",
"layer 1",
"lending and borrowing",
"loyalty and rewards",
"made in america",
"made in china",
"marketing",
"marketplace",
"memes",
"move to earn",
"nfts and collectibles",
"oracles",
"payments",
"prediction markets",
"privacy",
"real estate",
"real-world assets",
"rehypothecated assets",
"scaling",
"smart contract platforms",
"social media and content",
"sports",
"stablecoins",
"transport",
"web3",
"wrapped tokens"
]/crypto/list/ratingRetrieves all unique rating values available in the crypto universe. Filter by analyst rating.
Examples:
https://api.axionquant.com/crypto/list/ratingList by Rating
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4values = client.crypto.list('rating')
5print(values)Response
[
"buy",
"neutral",
"sell",
"strongbuy",
"strongsell"
]Forex API
The Forex API provides comprehensive foreign exchange market data including currency pair information and historical exchange rates. This API supports multiple time frame aggregations and is essential for foreign exchange analysis, currency trading strategies, and international portfolio management.
/forex/tickersRetrieves a comprehensive list of all available forex currency pairs. This endpoint supports advanced filtering by country and exchange, providing essential metadata for each currency pair including detailed descriptions and market classifications.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| country | string | Optional | Filter tickers by country code (ISO 3166-1 alpha-2). view all values |
Examples:
https://api.axionquant.com/forex/tickershttps://api.axionquant.com/forex/tickers?country=USResponse Fields
id number
Unique identifier for the forex pair
ticker string
Currency pair ticker (e.g., "AEDAUD")
detail string
Full description of the currency pair
exchange string
Exchange or data provider code
country string
Country code (ISO 3166-1 alpha-2)
All Forex Tickers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4tickers = client.forex.tickers(
5 country='AE',
6 exchange='IDC'
7)
8print(tickers)Response
[
{
"id": 2,
"ticker": "AEDBRX",
"detail": "U.A.E. DIRHAM / BRAZILIAN REAL REFERENCE RATE",
"exchange": "IDC",
"country": "AE"
},
{
"id": 3,
"ticker": "AEDCAD",
"detail": "U.A.E. DIRHAM / CANADIAN DOLLAR",
"exchange": "IDC",
"country": "AE"
},
{
"id": 4,
"ticker": "AEDCHF",
"detail": "U.A.E. DIRHAM / SWISS FRANC",
"exchange": "IDC",
"country": "AE"
},
{
"id": 5,
"ticker": "AEDEUR",
"detail": "U.A.E. DIRHAM / EURO",
"exchange": "IDC",
"country": "AE"
},
{
"id": 7,
"ticker": "AEDHKD",
"detail": "U.A.E. DIRHAM / HONG KONG DOLLAR",
"exchange": "IDC",
"country": "AE"
},
{
"id": 8,
"ticker": "AEDINR",
"detail": "U.A.E. DIRHAM / INDIAN RUPEE",
"exchange": "IDC",
"country": "AE"
}
]/forex/gainersRetrieves the top gaining forex currency pairs over a specified lookback period. Returns ticker symbols with their percentage change, sorted from highest gainer to lowest. Useful for identifying currency strength and trending pairs.
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/forex/gainershttps://api.axionquant.com/forex/gainers?days=30&limit=20Response Fields
ticker string
Forex currency pair ticker
pctchange number
Percentage change over the lookback period
Forex Gainers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4gainers = client.forex.gainers(days=5, limit=10)
5print(gainers)Response
[
{
"ticker": "USDBRL",
"pctchange": 3.456
},
{
"ticker": "EURUSD",
"pctchange": 1.234
},
{
"ticker": "GBPUSD",
"pctchange": 0.987
}
]/forex/losersRetrieves the top losing forex currency pairs over a specified lookback period. Returns ticker symbols with their percentage change, sorted from most negative to least negative. Useful for identifying currency 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/forex/losershttps://api.axionquant.com/forex/losers?days=30&limit=20Response Fields
ticker string
Forex currency pair ticker
pctchange number
Percentage change over the lookback period
Forex Losers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4losers = client.forex.losers(days=5, limit=10)
5print(losers)Response
[
{
"ticker": "USDJPY",
"pctchange": -2.345
},
{
"ticker": "AUDUSD",
"pctchange": -1.678
},
{
"ticker": "USDCHF",
"pctchange": -0.987
}
]/forex/:ticker/quoteRetrieves a comprehensive quote for a specific forex currency pair. 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 | Forex currency pair ticker (e.g., "EURUSD", "GBPJPY") |
Examples:
https://api.axionquant.com/forex/EURUSD/quotehttps://api.axionquant.com/forex/GBPUSD/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
Forex Quote
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4quote = client.forex.quote('EURUSD')
5print(quote)Response
{
"latestClose": 1.1045,
"latestOpen": 1.1032,
"latestHigh": 1.1067,
"latestLow": 1.1021,
"previousClose": 1.1032,
"week52Range": {
"high": 1.1278,
"low": 1.0543
},
"week52AvgClose": 1.0891,
"ema30": 1.1056,
"ema60": 1.0998,
"ema90": 1.0945,
"ema120": 1.0912,
"ytdClosePctChange": 1.234,
"volume": 0,
"avgVolumeLifetime": 0
}