Symbols
The REST Assets and AssetPairs endpoints can be used to retrieve a list of all of the available currencies and currency pairs (markets), along with all of the possible symbol versions for each market.
For example, calling the REST Assets endpoint as https://api.kraken.com/0/public/Assets would return a response similar to the following:
{"error":[],"result":{...{"aclass":"currency","altname":"SRM","decimals":8,"display_decimals":5},"STORJ":{"aclass":"currency","altname":"STORJ","decimals":10,"display_decimals":5},"SUSHI":{"aclass":"currency","altname":"SUSHI","decimals":10,"display_decimals":5},"TBTC":{"aclass":"currency","altname":"TBTC","decimals":10,"display_decimals":5},"TRX":{"aclass":"currency","altname":"TRX","decimals":8,"display_decimals":6},"UNI":{"aclass":"currency","altname":"UNI","decimals":10,"display_decimals":5},"USD.HOLD":{"aclass":"currency","altname":"USD.HOLD","decimals":4,"display_decimals":2},"USD.M":{"aclass":"currency","altname":"USD.M","decimals":4,"display_decimals":4},"USDC":{"aclass":"currency","altname":"USDC","decimals":8,"display_decimals":4},"USDT":{"aclass":"currency","altname":"USDT","decimals":8,"display_decimals":4},"WAVES":{"aclass":"currency","altname":"WAVES","decimals":10,"display_decimals":5},"WBTC":{"aclass":"currency","altname":"WBTC","decimals":10,"display_decimals":5},"XBT.M":{"aclass":"currency","altname":"XBT.M","decimals":10,"display_decimals":8},"XETC":{"aclass":"currency","altname":"ETC","decimals":10,"display_decimals":5},"XETH":{"aclass":"currency","altname":"ETH","decimals":10,"display_decimals":5},"XLTC":{"aclass":"currency","altname":"LTC","decimals":10,"display_decimals":5},"XMLN":{"aclass":"currency","altname":"MLN","decimals":10,"display_decimals":5},"XREP":{"aclass":"currency","altname":"REP","decimals":10,"display_decimals":5},"XTZ":{"aclass":"currency","altname":"XTZ","decimals":8,"display_decimals":6},"XTZ.S":{"aclass":"currency","altname":"XTZ.S","decimals":8,"display_decimals":6},"XXBT":{"aclass":"currency","altname":"XBT","decimals":10,"display_decimals":5},"XXDG":{"aclass":"currency","altname":"XDG","decimals":8,"display_decimals":2}...
where each currency is listed, along with all of its possible symbols, and some other trading information (notably the decimal precision).
Similarly, calling the REST AssetPairs endpoint as https://api.kraken.com/0/public/AssetPairs would return a response like the following:
{"error":[],"result":{..."XMLNXETH":{"altname":"MLNETH","wsname":"MLN\/ETH","aclass_base":"currency","base":"XMLN","aclass_quote":"currency","quote":"XETH","lot":"unit","pair_decimals":5,"lot_decimals":8,"lot_multiplier":1,"leverage_buy":[],"leverage_sell":[],"fees":[[0,0.26],[50000,0.24],[100000,0.22],[250000,0.2],[500000,0.18],[1000000,0.16],[2500000,0.14],[5000000,0.12],[10000000,0.1]],"fees_maker":[[0,0.16],[50000,0.14],[100000,0.12],[250000,0.1],[500000,0.08],[1000000,0.06],[2500000,0.04],[5000000,0.02],[10000000,0]],"fee_volume_currency":"ZUSD","margin_call":80,"margin_stop":40,"ordermin":"0.1"},"XMLNXXBT":{"altname":"MLNXBT","wsname":"MLN\/XBT","aclass_base":"currency","base":"XMLN","aclass_quote":"currency","quote":"XXBT","lot":"unit","pair_decimals":6,"lot_decimals":8,"lot_multiplier":1,"leverage_buy":[],"leverage_sell":[],"fees":[[0,0.26],[50000,0.24],[100000,0.22],[250000,0.2],[500000,0.18],[1000000,0.16],[2500000,0.14],[5000000,0.12],[10000000,0.1]],"fees_maker":[[0,0.16],[50000,0.14],[100000,0.12],[250000,0.1],[500000,0.08],[1000000,0.06],[2500000,0.04],[5000000,0.02],[10000000,0]],"fee_volume_currency":"ZUSD","margin_call":80,"margin_stop":40,"ordermin":"0.1"},"XMLNZEUR":{"altname":"MLNEUR","wsname":"MLN\/EUR","aclass_base":"currency","base":"XMLN","aclass_quote":"currency","quote":"ZEUR","lot":"unit","pair_decimals":3,"lot_decimals":8,"lot_multiplier":1,"leverage_buy":[],"leverage_sell":[],"fees":[[0,0.26],[50000,0.24],[100000,0.22],[250000,0.2],[500000,0.18],[1000000,0.16],[2500000,0.14],[5000000,0.12],[10000000,0.1]],"fees_maker":[[0,0.16],[50000,0.14],[100000,0.12],[250000,0.1],[500000,0.08],[1000000,0.06],[2500000,0.04],[5000000,0.02],[10000000,0]],"fee_volume_currency":"ZUSD","margin_call":80,"margin_stop":40,"ordermin":"0.1"},"XMLNZUSD":{"altname":"MLNUSD","wsname":"MLN\/USD","aclass_base":"currency","base":"XMLN","aclass_quote":"currency","quote":"ZUSD","lot":"unit","pair_decimals":3,"lot_decimals":8,"lot_multiplier":1,"leverage_buy":[],"leverage_sell":[],"fees":[[0,0.26],[50000,0.24],[100000,0.22],[250000,0.2],[500000,0.18],[1000000,0.16],[2500000,0.14],[5000000,0.12],[10000000,0.1]],"fees_maker":[[0,0.16],[50000,0.14],[100000,0.12],[250000,0.1],[500000,0.08],[1000000,0.06],[2500000,0.04],[5000000,0.02],[10000000,0]],"fee_volume_currency":"ZUSD","margin_call":80,"margin_stop":40,"ordermin":"0.1"}...
where each currency pair (market) is listed, along with all of its possible symbols, and various additional trading information (price/volume precision, available leverage, minimum order sizes, etc.).
Tickers
A ticker is a report of the current market prices for an individual currency pair, and includes all of the following information:
- most recently traded price
- most recently traded volume
- best (highest) bid price
- volume available at best bid price
- best (lowest) ask price
- volume available at best ask price
- additional trading information (high/low of day, number of trades, total volume of day, etc.)
The REST Ticker endpoint can be used to retrieve the ticker data for a single currency pair, a group of currency pairs, or all of the markets that Kraken currently offers.
For example, calling the Ticker endpoint as https://api.kraken.com/0/public/Ticker?pair=xdgusd would return the current ticker data solely for the Dogecoin/USD market, such as:
{"error":[],"result":{"XDGUSD":{"a":["0.326930000","170","170.000"],"b":["0.326910600","4090","4090.000"],"c":["0.326928000","737.92333292"],"v":["13561580.19900979","70915525.06858009"],"p":["0.324423673","0.325413683"],"t":[3102,14819],"l":["0.320320000","0.317465100"],"h":["0.328000000","0.333809100"],"o":"0.327442700"}}}
whereas calling the Ticker endpoint as https://api.kraken.com/0/public/Ticker?pair=1INCHEUR,1INCHUSD,AAVEAUD,AAVEETH,AAVEEUR,AAVEGBP,AAVEUSD,AAVEXBT,ADAAUD,ADAETH,ADAEUR,ADAGBP,ADAUSD,ADAUSDT,ADAXBT,ALGOETH,ALGOEUR,...,XDGUSD,XDGUSDT,XDGXBT,XLMAUD,XLMEUR,XLMGBP,XLMUSD,XLMXBT,XMREUR,XMRUSD,XMRXBT,XRPAUD,XRPCAD,XRPETH,XRPEUR,XRPGBP,XRPJPY,XRPUSD,XRPUSDT,XRPXBT,XTZAUD,XTZETH,XTZEUR,XTZGBP,XTZUSD,XTZXBT,YFIAUD,YFIETH,YFIEUR,YFIGBP,YFIUSD,YFIXBT,ZECEUR,ZECUSD,ZECXBT,ZRXEUR,ZRXGBP,ZRXUSD,ZRXXBT would return the current ticker data for all of Kraken's currently available markets (as of August 21st 2021).