Get Order Book
GET/public/Depth
Returns the Order Book
Request
Query Parameters
pair stringrequired
Asset pair to get data for
Example: XBTUSD
count integer
Possible values: >= 1
and <= 500
Default value: 100
Maximum number of asks/bids
Example: 2
Responses
- 200
Order book entries retrieved.
- application/json
- Schema
- Example (from schema)
Schema
result object
property name* OrderBook
Asset Pair Order Book Entries
asks array[]
Possible values: >= 3
, <= 3
Ask side array of entries [<price>, <volume>, <timestamp>]
bids array[]
Possible values: >= 3
, <= 3
Bid side array of entries [<price>, <volume>, <timestamp>]
error string[]
{
"error": [],
"result": {
"XXBTZUSD": {
"asks": [
[
"30384.10000",
"2.059",
1688671659
],
[
"30387.90000",
"1.500",
1688671380
],
[
"30393.70000",
"9.871",
1688671261
]
],
"bids": [
[
"30297.00000",
"1.115",
1688671636
],
[
"30296.70000",
"2.002",
1688671674
],
[
"30289.80000",
"5.001",
1688671673
]
]
}
}
}
Loading...