Average Price
GET
/api/v1/public/avgPriceModified at: 8 个月前
Average Price provides the average price of a trading pair(e.g., WBTCUSDT) over a specific time (5 minutes) period.
请求参数
Query Params
symbol
string
required
Specifies the trading pair symbol. (e.g., WBTCUSDT).
Example:
WBTCUSDT
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
error
boolean
required
Indicates whether the API request encountered any errors.
mins
integer
required
The time interval for which the average price is calculated.
price
string
required
The average price for the symbol which you required over the specified time interval.
Example
{
"error": false,
"mins": 5,
"price": "35694.28000000"
}
Modified at 8 个月前