Crypto API
The Crypto API provides comprehensive cryptocurrency market data including ticker information and historical price data. This API supports multiple time frame aggregations and is essential for cryptocurrency analysis, trading strategies, and portfolio management.
/crypto/tickersRetrieves a comprehensive list of all available cryptocurrency tickers. This endpoint supports optional filtering by cryptocurrency type and returns essential metadata for each cryptocurrency including its full name and classification.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Optional | Filter tickers by cryptocurrency type. Valid values: spotfuturesperpetual |
Examples:
https://api.axionquant.com/crypto/tickershttps://api.axionquant.com/crypto/tickers?exchange=COINBASEResponse Fields
id number
Unique identifier for the cryptocurrency
ticker string
Ticker symbol (e.g., "BTC", "ETH")
name string
Full name of the cryptocurrency
type string
Type classification (spot, futures, perpetual)
category string
Category classification (e.g., cryptocurrencies, smart contract platforms, stablecoins)
All Tickers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4tickers = client.crypto.tickers(type='spot')
5print(tickers)Response
[
{
"id": 1,
"ticker": "BTC",
"name": "Bitcoin",
"type": "spot",
"category": "cryptocurrencies"
},
{
"id": 2,
"ticker": "ETH",
"name": "Ethereum",
"type": "spot",
"category": "smart contract platforms"
},
{
"id": 3,
"ticker": "USDT",
"name": "Tether USDt",
"type": "spot",
"category": "stablecoins"
},
{
"id": 4,
"ticker": "BNB",
"name": "BNB",
"type": "spot",
"category": "smart contract platforms"
},
{
"id": 5,
"ticker": "USDC",
"name": "USDC",
"type": "spot",
"category": "stablecoins"
}
]/crypto/gainersRetrieves the top gaining cryptocurrencies over a specified lookback period. Returns ticker symbols with their percentage change, sorted from highest gainer to lowest. Useful for identifying momentum in the crypto market.
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/crypto/gainershttps://api.axionquant.com/crypto/gainers?days=30&limit=20Response Fields
ticker string
Cryptocurrency ticker symbol
pctchange number
Percentage change over the lookback period
Crypto Gainers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4gainers = client.crypto.gainers(days=5, limit=10)
5print(gainers)Response
[
{
"ticker": "VANA",
"pctchange": 24077102.262329
},
{
"ticker": "LUNA",
"pctchange": 29965.2941892873
},
{
"ticker": "SPACE",
"pctchange": 27397.3324788449
}
]/crypto/losersRetrieves the top losing cryptocurrencies over a specified lookback period. Returns ticker symbols with their percentage change, sorted from most negative to least negative. Useful for identifying weakness in the crypto market.
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/crypto/losershttps://api.axionquant.com/crypto/losers?days=30&limit=20Response Fields
ticker string
Cryptocurrency ticker symbol
pctchange number
Percentage change over the lookback period
Crypto Losers
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4losers = client.crypto.losers(days=5, limit=10)
5print(losers)Response
[
{
"ticker": "ZYPTO",
"pctchange": -100
},
{
"ticker": "3ULL",
"pctchange": -82.1428578389002
},
{
"ticker": "ARCA",
"pctchange": -82.0354057891293
}
]/crypto/:ticker/quoteRetrieves a comprehensive quote for a specific cryptocurrency 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
| Parameter | Type | Required | Description |
|---|---|---|---|
| ticker | string | Required | Cryptocurrency ticker symbol (e.g., "BTC", "ETH", "SOL") |
Examples:
https://api.axionquant.com/crypto/BTC/quotehttps://api.axionquant.com/crypto/ETH/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
Cryptocurrency Quote
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4quote = client.crypto.quote('BTC')
5print(quote)Response
{
"latestClose": 87981.68,
"latestOpen": 85463.3,
"latestHigh": 88292.55,
"latestLow": 85134.06,
"previousClose": 85462.51,
"week52Range": {
"high": 108268.45,
"low": 38420.12
},
"week52AvgClose": 72500.34,
"ema30": 88234.56,
"ema60": 85432.78,
"ema90": 82123.45,
"ema120": 79876.23,
"ytdClosePctChange": 65.432,
"volume": 59129171968,
"avgVolumeLifetime": 42000000000
}/crypto/:tickerRetrieves detailed metadata for a specific cryptocurrency ticker. This endpoint provides essential information for a single cryptocurrency including its unique identifier, full name, and classification type.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ticker | string | Required | Cryptocurrency ticker symbol (e.g., "BTC", "ETH", "SOL") |
Examples:
https://api.axionquant.com/crypto/BTChttps://api.axionquant.com/crypto/ETHResponse Fields
id number
Unique identifier for the cryptocurrency
ticker string
Ticker symbol (e.g., "BTC", "ETH")
name string
Full name of the cryptocurrency
type string
Type classification (spot, futures, perpetual)
category string
Category classification (e.g., cryptocurrencies, smart contract platforms, stablecoins)
rating string
Rating classification (e.g., strongsell, strongbuy)
cap string
Market capitalization as a string
supply string
Circulating supply as a string
lastClose number
Most recent closing price
changePct number
Percentage change since last close
Ticker Details
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4ticker = client.crypto.ticker('BTC')
5print(ticker)Response
{
"id": 1,
"ticker": "BTC",
"name": "Bitcoin",
"type": "spot",
"category": "cryptocurrencies",
"rating": "strongsell",
"cap": "1248599187015.109900",
"supply": "20046943.000000",
"lastClose": 62283.98828125,
"changePct": -2.60838509580443
}