Logo
AXION

Crypto Historical Prices

GET/crypto/:ticker/prices

Retrieves comprehensive historical price data for a specific cryptocurrency. This powerful endpoint supports multiple time frame aggregations and time-based filtering for advanced technical analysis and backtesting.

Path Parameters

ParameterTypeRequiredDescription
tickerstringRequiredCryptocurrency ticker symbol (e.g., "BTC", "ETH", "SOL")

Query Parameters

ParameterTypeRequiredDescription
framestringOptional

Time frame for price 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/crypto/BTC/prices
https://api.axionquant.com/crypto/ETH/prices?frame=weekly&from=2024-01-01&to=2024-12-31

Response Fields

time string

ISO 8601 timestamp of the data point

ticker string

Cryptocurrency ticker symbol

open string

Opening price (decimal string to preserve precision)

high string

Highest price during the period

low string

Lowest price during the period

close string

Closing price

volume string

Trading volume (decimal string)

|

Historical Prices

Request

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

Response (Daily Frame)

[
  {
    "time": "2025-12-19T12:43:00.000Z",
    "ticker": "BTC",
    "open": "85463.3000",
    "high": "88292.5500",
    "low": "85134.0600",
    "close": "87981.6800",
    "volume": "59129171968"
  },
  {
    "time": "2025-12-18T00:00:00.000Z",
    "ticker": "BTC",
    "open": "86144.3700",
    "high": "89412.6600",
    "low": "84436.3100",
    "close": "85462.5100",
    "volume": "52667115348"
  }
]
GET/crypto/list/category

Retrieves all unique category values available in the crypto universe. Filter by asset category.

Examples:

https://api.axionquant.com/crypto/list/category
|

List by Category

Request

Sample code
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"
]
GET/crypto/list/rating

Retrieves all unique rating values available in the crypto universe. Filter by analyst rating.

Examples:

https://api.axionquant.com/crypto/list/rating
|

List by Rating

Request

Sample code
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.

GET/forex/tickers

Retrieves 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

ParameterTypeRequiredDescription
countrystringOptional

Filter tickers by country code (ISO 3166-1 alpha-2).

view all values

Examples:

https://api.axionquant.com/forex/tickers
https://api.axionquant.com/forex/tickers?country=US

Response 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

Sample code
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"
  }
]
GET/forex/gainers

Retrieves 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

ParameterTypeRequiredDescription
daysintegerOptionalLookback period in days (default: 5)
limitintegerOptionalMaximum number of results to return (default: 10)

Examples:

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

Response Fields

ticker string

Forex currency pair ticker

pctchange number

Percentage change over the lookback period

|

Forex Gainers

Request

Sample code
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
  }
]
GET/forex/losers

Retrieves 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

ParameterTypeRequiredDescription
daysintegerOptionalLookback period in days (default: 5)
limitintegerOptionalMaximum number of results to return (default: 10)

Examples:

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

Response Fields

ticker string

Forex currency pair ticker

pctchange number

Percentage change over the lookback period

|

Forex Losers

Request

Sample code
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
  }
]