Orderbook
This endpoint provide order book information with at least depth = 100 (50 each side) returned for a given market pair/ticker
Query parameters
ticker_idstringRequiredExample:
Specify unique ticker to search.
INJ/USDT PERP
depthinteger · int64OptionalExample:
Orders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side.
2972594860488817000
Responses
200
OK response.
application/json
400
Bad Request response.
application/vnd.goa.error
404
Not Found response.
application/vnd.goa.error
500
Internal Server Error response.
application/vnd.goa.error
get
GET /api/aggregator/v1/derivative/orderbook HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"asks": [
{
"offer_price": 50.1,
"quantity": 9.2
},
{
"offer_price": 50.1,
"quantity": 9.2
},
{
"offer_price": 50.1,
"quantity": 9.2
},
{
"offer_price": 50.1,
"quantity": 9.2
}
],
"bids": [
{
"offer_price": 50.1,
"quantity": 9.2
},
{
"offer_price": 50.1,
"quantity": 9.2
},
{
"offer_price": 50.1,
"quantity": 9.2
}
],
"ticker_id": "INJ/USDT",
"timestamp": 1484871000
}