GET ZKE Data
REST API Baseurl : https://openapi.zke.com
https://openapi.zke.com
[Trade ]
The trades endpoint is to return data on all recently completed trades for a given market pair.
Path: /open/pub/trades
Method: GET
Description:
Parameters
N/A
Query
Parameter Name | Required | example | Note |
---|---|---|---|
base | YES | btc | |
quote | YES | usdt | |
trades | NO | 100 | Default 100. |
Response:
Name | Type | Required | Default | Note | Other |
---|---|---|---|---|---|
code | string | NO | |||
msg | string | NO | |||
message | null | NO | |||
data | object | NO | |||
├─ date | number | NO | |||
├─ trades | object [] | NO | item Type: object | ||
├─ tradeID | number | YES | Transaction ID | ||
├─ price | string | YES | Price | ||
├─ base_volume | string | YES | base currency transaction Volume | ||
├─ quote_volume | string | YES | quto Currency Transaction Volume | ||
├─ trade_timestamp | string | YES | Timestamp | ||
├─ type | string | YES | sell/buy |
[Ticker]
The ticker endpoint is to provide a 24-hour pricing and volume summary for each market pair available on the exchange.
Path: /open/pub/ticker
Method: GET
Description:
Parameters
N/A
Response:
Name | Type | Required | Default | Note | Other |
---|---|---|---|---|---|
code | string | NO | |||
msg | string | NO | |||
message | null | NO | |||
data | object | NO | |||
├─ date | number | NO | |||
├─ ticker | object | NO | |||
├─ BTC_USDT | object | NO | |||
├─ base_id | string | NO | base currency ID | ||
├─ quote_id | string | NO | quto currencyID | ||
├─ last_price | string | NO | Latest Trading Price | ||
├─ quote_volume | string | NO | quto Currency Transaction Volumes | ||
├─ base_volume | string | NO | base Currency Transaction Volumes | ||
├─ LTC_BTC | object | NO | |||
├─ base_id | string | NO | base currency ID | ||
├─ quote_id | string | NO | quto currency ID | ||
├─ last_price | string | NO | |||
├─ base_volume | string | NO | |||
├─ quote_volume | string | NO |
[Asset]
The assets endpoint is to provide a detailed summary for each currency available on the exchange.
Path: /open/pub/asset
Method: GET
Description:
Parameters
N/A
Response:
Name | Type | Required | Default | Note | Other |
---|---|---|---|---|---|
code | string | NO | |||
msg | string | NO | |||
message | null | NO | |||
data | object | NO | |||
├─ date | number | NO | |||
├─ asset | object | NO | |||
├─ BTC | object | NO | |||
├─ name | string | NO | Currency Full Name | ||
├─ unified_cryptoasset_id | string | NO | Currency ID | ||
├─ can_withdraw | string | NO | is open the withdrawal | ||
├─ can_deposit | string | NO | is to open the deposit | ||
├─ min_withdraw | string | NO | Minimum Withdrawal Amount | ||
├─ max_withdraw | string | NO | Maximum Withdrawal Amount | ||
├─ ETH | object | NO | |||
├─ name | string | NO | |||
├─ unified_cryptoasset_id | string | NO | Currency ID | ||
├─ can_withdraw | string | NO | |||
├─ can_deposit | string | NO | |||
├─ min_withdraw | string | NO | |||
├─ max_withdraw | string | NO |
[OrderBook]
The order book endpoint is to provide a complete level 2 order book (arranged by best asks/bids) with full depth returned for a given market pair.
Path: /open/pub/orderbook
Method: GET
Description:
Parameters
N/A
Query
Parameter Name | Required | Example | Note |
---|---|---|---|
base | YES | btc | btc |
quote | YES | usdt | usdt |
depth | NO | 0,1,2 | Default 0 |
bids | NO | 150 | |
asks | NO | 150 |
Response:
Name | Type | Required | Default | Note | Other |
---|---|---|---|---|---|
code | string | NO | |||
msg | string | NO | |||
message | null | NO | |||
data | object | NO | |||
├─ date | number | NO | |||
├─ orderbook | object | NO | |||
├─ bids | array [] | NO | item Type: array | ||
├─ | NO | ||||
├─ | NO | ||||
├─ asks | array [] | NO | item Type: array | ||
├─ | NO | ||||
├─ | NO |
[SUMMARY]
The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange.
Path: /open/api/get_allticker
Method: GET
Description:
Parameters
N/A
Response:
Name | Type | Required | Default | Note | Other |
---|---|---|---|---|---|
code | string | NO | mock: 0 | ||
msg | string | NO | mock: suc | ||
data | object | NO | |||
├─ date | number | NO | Server time when returning data | ||
├─ ticker | object [] | NO | item Type: object | ||
├─ symbol | string | YES | Trading pair | ||
├─ high | string | YES | High Price | ||
├─ low | string | YES | Low Price | ||
├─ buy | number | YES | Buy price | ||
├─ sell | number | YES | Sell Price | ||
├─ vol | string | YES | 24H Trade Volume | ||
| |||||
├─ last | number | YES | Latest Price | ||
├─ rose | string | YES | Change(24H) |
Last updated