All
Filter by:
How do I deposit cash into my account?
I need help with account verification
Why can't I access my account?
Are there any crypto withdrawal fees?
I need help signing into my account
Don't invest unless you're prepared to lose all the money you invest. This is a high-risk investment and you should not expect to be protected if something goes wrong. Take 2 minutes to learn more.
The REST API public endpoints provide historical and live market data for all of Kraken's markets. The market data endpoints are publicly available (a Kraken account is not required), and they can be called using any HTTP client.
The following are some examples of calls to the public endpoints that you can try directly in your web browser:
Ticker
https://api.kraken.com/0/public/Ticker?pair=xbtusd
{"error":[],"result":{"XXBTZUSD":{"a":["8466.90000","1","1.000"],"b":["8464.10000","1","1.000"],"c":["8464.50000","0.21218942"],"v":["3171.04602409","5795.97762632"],"p":["8528.77032","8611.98288"],"t":[8319,17457],"l":["8350.00000","8350.00000"],"h":["8746.00000","8841.30000"],"o":"8740.00000"}}}
Depth (Order Book)
https://api.kraken.com/0/public/Depth?pair=xbteur&count=4
{"error":[],"result":{"XXBTZEUR":{"asks":[["7582.00000","124.361",1559555764],["7582.90000","0.072",1559555761],["7583.00000","0.020",1559555751],["7584.90000","0.533",1559555761]],"bids":[["7581.90000","11.080",1559555766],["7581.80000","0.750",1559555747],["7581.50000","0.009",1559555666],["7580.90000","1.000",1559555758]]}}}
Trades (Time and Sales)
https://api.kraken.com/0/public/Trades?pair=ltcusd
{"error":[],"result":{"XLTCZUSD":[["111.90000","0.03005451",1559555405.2338,"s","l",""],["111.90000","8.59994549",1559555405.2396,"s","l",""],["111.90000","2.80005000",1559555467.7643,"s","l",""],["111.90000","0.00000451",1559555467.849,"s","l",""],["111.90000","30.00000000",1559555603.7179,"b","l",""],["111.90000","0.11189150",1559555644.354,"b","l",""],["111.89000","2.98000000",1559555649.8295,"b","l",""],["111.90000","0.52350350",1559555649.835,"b","l",""],["111.90000","12.00000000",1559555773.2877,"b","l",""]],"last":"1559555773287652563"}}
Additional information about the public market data endpoints is available via our REST API documentation.