Skip to main content

Order book

⚠️ This endpoint is not yet available.

GET /market/order-book

REQUIRE SIGN : Yes

This endpoint returns order book of the symbol passed.

ExchangeAvailable
Binance Spot
Kraken Spot
Gate.IO Spot

Parameters

NameTypeMandatoryDescription
asset1StringYESFirst asset of the symbol. ex : "BTC" of "BTCUSDT"
asset2StingYESSecond asset of the symbol. ex : "USDT" of "BTCUSDT"
limitUintNOLimit of the order book. ex : 100

Request Example

curl -X GET 'https://api.exayn.com/v1/market/order-book?asset1=BTC&asset2=ETH&signature=xxx' \
-H 'X-API-KEY: <PLACE YOUR PUBLIC KEY>' \
-H 'X-API-EXCHANGE-KEY: <PLACE YOUR EXCHANGE API KEY NAME>' \'
-H 'Content-Type: application/json'

Response Example

{
"bids": [
{
"price": "0.06900000",
"quantity": "0.00000000",
},
...
],
"asks": [
{
"price": "0.06900000",
"quantity": "0.00000000",
},
...
]
}