Logo
AXION

Forex Ticker Details

GET/forex/:ticker

Retrieves detailed metadata for a specific forex currency pair. This endpoint provides comprehensive information for a single currency pair including its full description, exchange provider, and associated country code.

Path Parameters

ParameterTypeRequiredDescription
tickerstringRequiredForex currency pair ticker symbol (e.g., "AEDAUD", "EURUSD", "GBPJPY")

Examples:

https://api.axionquant.com/forex/EURUSD
https://api.axionquant.com/forex/GBPUSD

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)

rating string

Rating classification (e.g., strongsell)

lastClose number

Most recent closing price

changePct number

Percentage change since last close

|

Ticker Details

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4ticker = client.forex.ticker('AEDAUD')
5print(ticker)

Response

{
  "id": 27,
  "ticker": "AEDUSD",
  "detail": "U.A.E. DIRHAM / U.S. DOLLAR",
  "exchange": "IDC",
  "country": "AE",
  "rating": "strongsell",
  "lastClose": 0.2722718418,
  "changePct": -0.0353971137185937
}
GET/forex/:ticker/prices

Retrieves comprehensive historical exchange rate data for a specific forex currency pair. This powerful endpoint supports multiple time frame aggregations and time-based filtering for advanced technical analysis, backtesting, and risk management in foreign exchange markets.

Path Parameters

ParameterTypeRequiredDescription
tickerstringRequiredForex currency pair ticker symbol (e.g., "AEDAUD", "EURUSD", "GBPJPY")

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/forex/EURUSD/prices
https://api.axionquant.com/forex/GBPUSD/prices?frame=weekly&from=2024-01-01&to=2024-12-31

Response Fields

time string

ISO 8601 timestamp of the data point

ticker string

Forex pair ticker symbol

open string

Opening exchange rate (decimal string)

high string

Highest rate during the period

low string

Lowest rate during the period

close string

Closing exchange rate

volume string

Trading volume (may be "0" for illiquid pairs)

|

Historical Exchange Rates

Request

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

Response (Daily Frame)

[
  {
    "time": "2025-12-19T13:26:59.000Z",
    "ticker": "AEDAUD",
    "open": "0.4100",
    "high": "0.4100",
    "low": "0.4100",
    "close": "0.4100",
    "volume": "0"
  },
  {
    "time": "2025-12-18T00:00:00.000Z",
    "ticker": "AEDAUD",
    "open": "0.4100",
    "high": "0.4100",
    "low": "0.4100",
    "close": "0.4100",
    "volume": "0"
  }
]
GET/forex/list/rating

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

Examples:

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

List by Rating

Request

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

Response

[
  "buy",
  "neutral",
  "sell",
  "strongbuy",
  "strongsell"
]
GET/forex/list/country

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

Examples:

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

List by Country

Request

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

Response

[
  "AE",
  "AF",
  "AG",
  "AL",
  "AM",
  "AO",
  "AR",
  "AU",
  "AW",
  "BA",
  "BB",
  "BD",
  "BH",
  "BI",
  "BJ",
  "BM",
  "BN",
  "BO",
  "BR",
  "BS",
  "BT",
  "BW",
  "BY",
  "BZ",
  "CA",
  "CD",
  "CF",
  "CH",
  "CL",
  "CN",
  "CO",
  "CR",
  "CU",
  "CV",
  "CZ",
  "DJ",
  "DK",
  "DO",
  "DZ",
  "EG",
  "ER",
  "ET",
  "EU",
  "FJ",
  "FK",
  "GB",
  "GE",
  "GH",
  "GI",
  "GM",
  "GN",
  "GT",
  "GY",
  "HK",
  "HN",
  "HT",
  "HU",
  "ID",
  "IE",
  "IL",
  "IN",
  "IQ",
  "IR",
  "IS",
  "JM",
  "JO",
  "JP",
  "KE",
  "KG",
  "KH",
  "KM",
  "KR",
  "KW",
  "KY",
  "KZ",
  "LA",
  "LB",
  "LK",
  "LR",
  "LS",
  "LY",
  "MA",
  "MD",
  "MG",
  "MK",
  "MM",
  "MN",
  "MO",
  "MR",
  "MU",
  "MV",
  "MW",
  "MX",
  "MY",
  "MZ",
  "NA",
  "NG",
  "NI",
  "NO",
  "NP",
  "NZ",
  "OM",
  "PA",
  "PE",
  "PF",
  "PG",
  "PH",
  "PK",
  "PL",
  "PY",
  "QA",
  "RO",
  "RS",
  "RU",
  "RW",
  "SA",
  "SB",
  "SC",
  "SD",
  "SE",
  "SG",
  "SH",
  "SL",
  "SO",
  "SR",
  "ST",
  "SV",
  "SY",
  "SZ",
  "TH",
  "TJ",
  "TM",
  "TN",
  "TO",
  "TR",
  "TT",
  "TW",
  "TZ",
  "UA",
  "UG",
  "US",
  "UY",
  "UZ",
  "VE",
  "VN",
  "VU",
  "WS",
  "YE",
  "ZA",
  "ZM",
  "crypto/XTVCOU",
  "metal/silver"
]