Getting Started
Our REST API provides real-time market data for thousands of markets on 23 exchanges. You can use it to fetch last price, 24 hour market statistics, recent trades, order books, and candlestick data.

Basic Examples

Quick example using curl to get a current market price:
1
curl "https://api.cryptowat.ch/markets/kraken/btceur/price"
Copied!
response
1
{
2
"result": {
3
"price": 6553.8
4
}
5
}
Copied!
Example using curl to get an order book:
1
curl "https://api.cryptowat.ch/markets/kraken/btceur/orderbook"
Copied!
response
1
{
2
"result": {
3
"asks": [
4
[
5
6525.1,
6
5.34250347
7
],
8
[
9
6525.4,
10
0.53
11
],
12
...
13
],
14
"bids": [
15
[
16
6524.1,
17
0.1
18
],
19
[
20
6524,
21
0.15
22
],
23
...
24
],
25
"seqNum": 429614
26
}
27
}
28
​
Copied!

API Clients

We provide REST clients in our official SDKs:
There are also various community-written clients. Use at your own risk.
  • ​Python by uoshvis
  • ​C# by Stock84-dev
  • ​PHP by DJansen20
  • ​Ruby by mackuba

Supported Exchanges

Name
Symbol
Markets
bitFlyer
bitflyer
Bittrex
bittrex
Gemini
gemini
Gate.io
gateio
Bitfinex
bitfinex
Kraken
kraken
CEX.IO
cexio
BitMEX
bitmex
Kraken Futures
kraken-futures
Liquid
liquid
Quoine
quoine
BitBay
bitbay
HitBTC
hitbtc
Binance
binance
Binance.US
binance-us
Huobi
huobi
​
Last modified 1yr ago