GET ZKE Data

REST API Baseurl : 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:

{
	"code": "0",
	"msg": "suc",
	"message": null,
	"data": {
		"date": 1574735405297,
		"trades": [
                        {
				"tradeID": 3523643,
				"price": "0.01",
				"base_volume": "569000",
				"quote_volume": "0.01000000",
				"trade_timestamp": "1566360780",
				"type": "sell"
			},
			{
				"tradeID": 3523642,
				"price": "0.01",
				"base_volume": "569000",
				"quote_volume": "0.01000000",
				"trade_timestamp": "1566360780",
				"type": "sell"
			}
		]
	}
}

Parameters

N/A

Query

Response:

[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:

{
	"code": "0",
	"msg": "suc",
	"message": null,
	"data": {
		"date": 1574735405297,
		"ticker": {
			"BTC_USDT": {
				"base_id": "1",
				"quote_id": "825",
				"last_price": "10000",
				"quote_volume": "20000",
				"base_volume": "2"
			},
			"LTC_BTC": {
				"base_id": "2",
				"quote_id": "1",
				"last_price": "0.00699900",
				"base_volume": "20028,526",
				"quote_volume": "279594"
			}
		}
	}
}

Parameters

N/A

Response:

[Asset]

The assets endpoint is to provide a detailed summary for each currency available on the exchange.

Path: /open/pub/asset

Method: GET

Description:

{
	"code": "0",
	"msg": "suc",
	"message": null,
	"data": {
		"date": 1574735405297,
		"asset": {
			"BTC": {
				"name": "bitcoin",
				"unified_cryptoasset_id": "1",
				"can_withdraw": "true",
				"can_deposit": "true",
				"min_withdraw": "0.01",
				"max_withdraw ": "100"
			},
			"ETH": {
				"name": "bitcoin",
				"unified_cryptoasset_id": "1027",
				"can_withdraw": "true",
				"can_deposit": "true",
				"min_withdraw": "0.01",
				"max_withdraw ": "100"
			}
		}
	}
}

Parameters

N/A

Response:

[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:

{
	"code": "0",
	"msg": "suc",
	"message": null,
	"data": {
		"date": 1574735405297,
		"orderbook": {
			"bids": [
				["12462000", "0.04548320"],
				["12457000", "3.00000000"]
			],
			"asks": [
				["12506000", "2.73042000"],
				["12508000", "0.33660000"]
			]
		}
	}
}

Parameters

N/A

Query

Response:

[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:

Last updated