Get 24hr Ticker
Weight: 1
Request parameters
Name | Type | Mandatory | Description |
symbol | string | No | Symbol. |
type | string | No | Type, if the symbol is specified, the type is irrelevant. If the symbol is not specified, the default is SPOT, with the possible values being SPOT / PERP. |
Response format
Name | Type | Description | |
tickers | array | Collection of tickers. | |
symbol | string | Symbol. | |
time | number | Timestamp in millisecond. | |
open | string | Open price. | |
close | string | Close price. | |
high | string | Highest price. | |
low | string | Lowest price. | |
volume | string | 24-hour total trading volume | |
amount | string | 24-hour total trading amount | |
count | string | 24-hour total trading count |
Error code
MARKET_INVALID_SYMBOL Invalid symbol.
MARKET_PARAMETER_ERROR Parameter error.
Request example
Response example
Last updated