INFO
Overview of market data for all tickers.
Sample Request:
https://www.bithash.net/api/v4/info
Sample Response:
{ "BTC_USD": { "base_id": "1", "quote_id": "0", "avg_price": "7393.29729431", "last_price": "7397.20000000", "low24h_price": "7293.10000000", "high24h_price": "7507.00000000", "highest_bid": "7397.20000000", "lowest_ask": "7413.40000000", "base_volume": "557.17901554", "quote_volume": "4119708.34948250", "isFrozen": "0" },
...
"BTC_USDT": { "base_id": "1", "quote_id": "825", "avg_price": "7351.82599438", "last_price": "7358.60000000", "low24h_price": "7263.80000000", "high24h_price": "7487.30000000", "highest_bid": "7358.60000000", "lowest_ask": "7367.70000000", "base_volume": "652.95645536", "quote_volume": "4800450.09902404", "isFrozen": "0" } }
ASSETS
In depth details on crypto currencies available on the exchange.
The assets endpoint is to provide a detailed summary for each currency available on the exchange.
Sample Request:
https://www.bithash.net/api/v4/assets
Sample Response:
{
"BTC": {
"name": "Bitcoin",
"unified_cryptoasset_id": "1",
"can_withdraw": "true",
"can_deposit": "true",
"min_withdraw": "0.00100000",
"max_withdraw": "100000.00000000",
"maker_fee": "0.1",
"taker_fee": "0.1"
},
...
"ZEC": {
"name": "Zcash",
"unified_cryptoasset_id": "1437",
"can_withdraw": "true",
"can_deposit": "true",
"min_withdraw": "0.30000000",
"max_withdraw": "100000.00000000",
"maker_fee": "0.1",
"taker_fee": "0.1"
}
}
TICKER
24-hour rolling window price change statistics for all markets.
The ticker endpoint is to provide a 24-hour pricing and volume summary for each market pair available on the exchange.
Sample Request:
https://www.bithash.net/api/v4/ticker
Sample Response:
{
"BTC_USD": {
"base_id": "1",
"quote_id": "0",
"avg_price": "7394.12303732",
"last_price": "7392.70000000",
"low24h_price": "7293.10000000",
"high24h_price": "7507.00000000",
"highest_bid": "7392.60000000",
"lowest_ask": "7392.70000000",
"base_volume": "558.37437093",
"quote_volume": "4128967.38083261",
"isFrozen": "0"
},
...
"BTC_USDT": {
"base_id": "1",
"quote_id": "825",
"avg_price": "7352.48760407",
"last_price": "7363.90000000",
"low24h_price": "7263.80000000",
"high24h_price": "7479.10000000",
"highest_bid": "7363.90000000",
"lowest_ask": "7364.10000000",
"base_volume": "660.31207188",
"quote_volume": "4855028.21741446",
"isFrozen": "0"
}
}
ORDERBOOK
Market depth of a trading pair. One array containing a list of ask prices and another array containing bid prices.
Sample Request:
https://www.bithash.net/api/v4/orderbook/BTC_USD?depth=5&level=2
Sample Response:
{
"timestamp": "1575263237",
"asks": [
[
7392.7,
0.14443097
],
[
7395.4,
0.11675523
],
[
7399.5,
0.02159067
],
[
7402.7,
0.08687635
],
[
7403.4,
0.02456089
]
],
"bids": [
[
7392.6,
0.11519545
],
[
7388.4,
0.0385034
],
[
7388,
0.14806346
],
[
7385.7,
0.31110049
],
[
7383.3,
0.1759838
]
]
}
TRADES
Recently completed trades for a given market.
The trades endpoint is to return data on all recently completed trades for a given market pair.
Sample Request:
https://www.bithash.net/api/v4/trades/BTC_USD
Sample Response:
[
{
"tradeid": 198101760,
"price": 7403.9,
"base_volume": 0.13755688,
"quote_volume": 1018.45738383,
"trade_timestamp": 1575263307,
"type": "sell"
},
{
"tradeid": 198101755,
"price": 7403.9,
"base_volume": 0.13755688,
"quote_volume": 1018.45738383,
"trade_timestamp": 1575263307,
"type": "buy"
}
]