Query parameters
-
Market to get depth for (e.g. "USD_BTCCALL_PERP").
-
limit integer
Number of bids and asks to return (default is 40).
GET /depth
curl \
-X GET https://api.testnet.everstrike.io/depth?pair=string
Response examples (200)
{
"code": 200,
"msg": "null",
"result": {
"asks": [
{
"qty": 0.00284,
"price": 0.08546
},
{
"qty": 0.09746,
"price": 0.08654
},
{
"qty": 0.01746,
"price": 0.09883
},
{
"qty": 0.021,
"price": 0.08674
}
],
"bids": [
{
"qty": 0.00998,
"price": 0.01123
},
{
"qty": 0.0989,
"price": 0.00892
},
{
"qty": 0.01693,
"price": 0.00976
},
{
"qty": 0.03855,
"price": 0.00828
}
]
}
}
Response examples (503)
{
"code": 503,
"msg": "Invalid request",
"result": {}
}