Get All-Pairs Ticker
24-hour stats for every futures symbol on the exchange.
HTTP
| Method | GET |
| Endpoint | /trade/api/v2/futures/all-pairs/ticker |
| Rate limit | 100 requests per 60 seconds |
Request Parameters
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
exchange | string | Yes | EXCHANGE_2. |
Example
- Python
- Java
- Go
- Node.js
import requests
headers, path = sign_request("GET", "/trade/api/v2/futures/all-pairs/ticker",
params={"exchange": "EXCHANGE_2"})
response = requests.get(BASE_URL + path, headers=headers)
print(response.json())
HttpResponse<String> resp = client.send(
"GET", "/trade/api/v2/futures/all-pairs/ticker",
Map.of("exchange", "EXCHANGE_2"), null);
System.out.println(resp.body());
headers, p, err := SignRequest("GET", "/trade/api/v2/futures/all-pairs/ticker", map[string]string{"exchange": "EXCHANGE_2"})
if err != nil { panic(err) }
req, _ := http.NewRequest("GET", BaseURL+p, nil)
for k, v := range headers { req.Header.Set(k, v) }
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
out, _ := io.ReadAll(resp.Body)
fmt.Println(string(out))
const {signRequest, BASE_URL} = require('./reference-client');
const {headers, path} = signRequest('GET', '/trade/api/v2/futures/all-pairs/ticker', {"exchange": "EXCHANGE_2"});
const r = await fetch(BASE_URL + path, {
method: 'GET',
headers,
});
console.log(await r.json());
Response
data is an object keyed by symbol. Each value has the same shape as Get Ticker.
{
"data": {
"BTCUSDT": {
"low_price_24h": "94707.00",
"high_price_24h": "97276.00",
"last_price": "95136.60",
"symbol": "BTCUSDT",
"exchange": "EXCHANGE_2",
"timestamp": 1732821806680,
"best_ask_price": "95136.70",
"best_bid_price": "95136.60",
"price_24h_pcnt": "-1.297300",
"base_asset_volume_24h": "93707.6800",
"quote_asset_volume_24h": "8970676685.2608",
"index_price": 95046.53,
"mark_price": 95136.7,
"open_interest": "67529.878",
"open_interest_value": "6424569744.32",
"funding_rate": 0.00039681,
"next_funding_timestamp": 1732838400000,
"best_bid_size": "3.189",
"best_ask_size": "3.963"
}
}
}
See Get Ticker for field descriptions.