Query Market Depth
Address 1 /openApi/contract/depth
Receiving Parameters
Submission method: GET
Please provide the specific Chinese content along with the context or any additional details needed for translation. Then, I will be able to replace the Chinese content with its English equivalent while retaining all other content as is.
curl -d /openApi/contract/depth
Submission Parameters
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
symbol | Yes | string | BTC-USDT | Trading Pair |
limit | No | int | 50 | Number of results returned, default is 50 per side, maximum 100 |
Return Parameters
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
errno | Yes | int | 0 | Status Code |
errmsg | Yes | success | success | Status information |
result | Yes | array | See example | Return results |
Result Description
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
ts | Yes | long | 1499223904680 | Data acquisition time |
symbol | Yes | string | BTC-USDT | Trading Pair |
asks | Yes | array | See example | Sell orders, [price (transaction price), amount (transaction volume)], sorted by price in ascending order |
bids | Yes | array | Refer to example | Buy orders, [price (Transaction Price), amount (Transaction Volume)], sorted by price in descending order |
Return Example
JSON
{
"errno": 0,
"errmsg": "success",
"result": {
"symbol": "EOS-USDT",
"ts": 1499223904680,
"bids": [
[
7964,
0.0678
],
[
7963,
0.9162
],
[
7961,
0.1
],
[
7960,
12.8898
],
[
7958,
1.2
],
[
7955,
2.1009
],
[
7954,
0.4708
],
[
7953,
0.0564
],
[
7951,
2.8031
],
[
7950,
13.7785
],
[
7949,
0.125
],
[
7948,
4
],
[
7942,
0.4337
],
[
7940,
6.1612
],
[
7936,
0.02
],
[
7935,
1.3575
],
[
7933,
2.002
],
[
7932,
1.3449
],
[
7930,
10.2974
],
[
7929,
3.2226
]
],
"asks": [
[
7979,
0.0736
],
[
7980,
1.0292
],
[
7981,
5.5652
],
[
7986,
0.2416
],
[
7990,
1.9970
],
[
7995,
0.88
],
[
7996,
0.0212
],
[
8000,
9.2609
],
[
8002,
0.02
],
[
8008,
1
],
[
8010,
0.8735
],
[
8011,
2.36
],
[
8012,
0.02
],
[
8014,
0.1067
],
[
8015,
12.9118
],
[
8016,
2.5206
],
[
8017,
0.0166
],
[
8018,
1.3218
],
[
8019,
0.01
],
[
8020,
13.6584
]
]
}
}