Query 24-hour Market Data
Address/openApi/contract/market
Received Parameters
Submission Method: GET
Example
curl -d /openApi/contract/market
Submission Parameters
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
symbol | Yes | string | BTC-USDT | Trading Pair |
Return Parameters
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
errno | Yes | int | 0 | Status Code |
errmsg | Yes | success | success | Status message |
result | Yes | array | See example | Returned result |
Result Description
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
id | Yes | long | 1499184000 | Transaction id |
amount | Yes | string | 37593 | Number of transactions in 24 hours |
count | Yes | string | 1234 | Number of transactions in the last 24 hours |
open | Yes | string | 935.2000 | Opening price within 24 hours |
close | Yes | string | 1879.0000 | Closing price within 24 hours |
low | Yes | string | 1856.0000 | The lowest price within 24 hours |
high | Yes | string | 1940.0000 | Highest price in the last 24 hours |
vol | Yes | string | 71031537.97866500 | 24-hour trading volume |