Get latest prices ticker
GET: /v1/spot/public/ticker/price
Parameters
Parameter | Type | mandatory | Default | Description | Ranges |
---|---|---|---|---|---|
symbol | string | false | trading pair eg:btc_usdt | ||
symbols | array | false | Collection of trading pairs. Priority is higher than symbol. eg: btc_usdt,eth_usdt | ||
tags | array | false | Set of tags, separated by commas, currently only supports spot |
Limit Flow Rules
-
single symbol:10/s/ip
-
multiple symbols:10/s/ip
Java
public String price(){
}
Response
{
"code": 200,
"msg": "SUCCESS",
"msgInfo": [],
"data": [
{
"s": "btc_usdt", //symbol
"t": 1661856036925, //time
"p": "9000.0000", //price
}
]
}