Ticker
Get the specified ticker information
Http Request
GET
/api/spot/instruments/ticker_one
Request Frequency Restriction:
- 3times / 1second
Postman
pay attention to replace "restful_base_endpoint"
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
instrument_id | string | YES | the name of a currency pair, such as BTC/USDT. |
Response fields description
Name | Type | Description |
---|---|---|
trade_ pair_name | string | currency pair name, such as BTC/USDT |
last_ price | string | latest price |
lowest_ ask | string | one price |
highest_ bid | string | buy a price |
highest_ price_24h | string | 24h highest price |
lowest_ price_24h | string | 24h lowest price |
volume24h | string | 24h trading volume |
chg24h | string | 24h price change rate |
chg0h | string | 0h price change rate |
amount24h | string | 24h trading volume |
Response
{
"code": 200,
"message": null,
"data": {
"trade_pair_name": "BTC/USDT",
"last_price": "29837.28",
"highest_bid": "29837.28",
"lowest_ask": "29837.36",
"highest_price_24h": "30540.68",
"lowest_price_24h": "29750.13",
"volume24h": "100667929.3458",
"chg24h": "-0.0100",
"chg0h": "-0.0100",
"amount24h": "100667929.3458"
}
}