Market Data
Get Tradable Asset Pairs
Get tradable asset pairs
get/public/AssetPairs
Request
- Base URL: https://api.kraken.com/0
- URL: https://api.kraken.com/0/public/AssetPairs
- Auth: none required
Query parameters
assetVersion1
Controls whether response keys and asset identifier fields use Kraken's internal names or display names.
- Omitted (default): internal names are used. Asset keys use legacy X/Z-prefixed format (XXBT, ZUSD). Pair keys use the internal format (XXBTZUSD). Asset identifier fields (base, quote, fee_volume_currency) also use internal names.
- assetVersion=1: display names are used. Asset keys become their canonical display names (BTC, USD). Pair keys become the slash-separated display format (BTC/USD). On /public/AssetPairs, the base, quote, and fee_volume_currency fields also switch to display names.
Only assetVersion=1 is currently supported. The altname and wsname fields are not affected by this parameter.
pairstring
Asset pairs to get data for
aclass_base'currency' | 'tokenized_asset'
Filters the asset class to retrieve (optional)
- currency = spot currency pairs.
- tokenized_asset = tokenized asset pairs, i.e. xStocks.
info'info' | 'leverage' | 'fees' | 'margin'
Info to retrieve (optional)
- info = all info
- leverage = leverage info
- fees = fees schedule
- margin = margin info
country_codestring
Filter for response to only include pairs available in the provided country/region (ISO 3166-1 alpha-2 code).
execution_venue'international' | 'bitnomial_exchange'
Comma-separated list of execution venues to filter by (optional)
- international = International exchange
- bitnomial_exchange = Bitnomial exchange
Response
Tradable asset pairs retrieved.
Example response
{
"error": [],
"result": {
"XETHXXBT": {
"altname": "ETHXBT",
"wsname": "ETH/XBT",
"aclass_base": "currency",
"base": "XETH",
"aclass_quote": "currency",
"quote": "XXBT",
"lot": "unit",
"cost_decimals": 6,
"pair_decimals": 5,
"lot_decimals": 8,
"lot_multiplier": 1,
"leverage_buy": [
2,
3,
4,
5
],
"leverage_sell": [
2,
3,
4,
5
],
"fees": [],
"fees_maker": [],
"fee_volume_currency": "ZUSD",
"margin_call": 80,
"margin_stop": 40,
"ordermin": "0.01",
"costmin": "0.00002",
"tick_size": "0.00001",
"status": "online",
"long_position_limit": 1100,
"short_position_limit": 400
},
"XXBTZUSD": {
"altname": "XBTUSD",
"wsname": "XBT/USD",
"aclass_base": "currency",
"base": "XXBT",
"aclass_quote": "currency",
"quote": "ZUSD",
"lot": "unit",
"cost_decimals": 5,
"pair_decimals": 1,
"lot_decimals": 8,
"lot_multiplier": 1,
"leverage_buy": [
2,
3,
4,
5
],
"leverage_sell": [
2,
3,
4,
5
],
"fees": [],
"fees_maker": [],
"fee_volume_currency": "ZUSD",
"margin_call": 80,
"margin_stop": 40,
"ordermin": "0.0001",
"costmin": "0.5",
"tick_size": "0.1",
"status": "online",
"long_position_limit": 250,
"short_position_limit": 200
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.