Orderbooks
Orderbook of Spot Markets
Query parameters
marketIdsstring[] · max: 100RequiredExample:
MarketIds of the markets
["0x74b17b0d6855feba39f1f7ab1e8bad0363bd510ee1dcc74e40c2adfe1502f781","0x26413a70c9b78a495023e5ab8003c9cf963ef963f6755f8b57255feb5744bf31"]
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/exchange/spot/v2/orderbooks HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"orderbooks": [
{
"marketId": "Id exercitationem.",
"orderbook": {
"buys": [
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
},
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
},
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
}
],
"sells": [
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
},
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
},
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
}
],
"sequence": 16352721108687080000,
"timestamp": 5946075348860917000
}
},
{
"marketId": "Id exercitationem.",
"orderbook": {
"buys": [
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
},
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
},
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
}
],
"sells": [
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
},
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
},
{
"price": "1960000000000000000",
"quantity": "40",
"timestamp": 1544614248000
}
],
"sequence": 16352721108687080000,
"timestamp": 5946075348860917000
}
}
]
}