Orderbook Depth
API-v1orderbook_depth
The orderbook_depth
method returns the number of asks and bids for the specified trading pairs.
Parameter | Type | Required | Description |
---|---|---|---|
pairs | array | ✓ | An array of trading pairs |
The pairs in the response are not guaranteed to be in the order of pairs in the request.
Parameter | Type | Description |
---|---|---|
result | array of objects | An array of PairDepth objects |
Parameter | Type | Description |
---|---|---|
depth | object | DepthInfo object with ask/bid counts |
pair | array | The trading pair, e.g., ["BTC", "KMD"] |
Parameter | Type | Description |
---|---|---|
asks | number | The number of asks for this trading pair |
bids | number | The number of bids for this trading pair |
orderbook_depth
POST
orderbook_depth{
"userpass": "RPC_UserP@SSW0RD",
"method": "orderbook_depth",
"pairs": [
[
"DOC",
"MARTY"
],
[
"BTC",
"KMD"
],
[
"DOGE",
"KMD"
]
]
}