Stream market snapshots
Subscribe to ETH and all-symbol tickers, inspect an ETH message, then cancel those subscriptions.
Start receiving updates
Subscription message
Channel parameters
- Topic format: "usdt/ticker.{instrument_id}"
| Field | Data type | Required | Meaning |
|---|---|---|---|
| instrument_id | string | YES | contract abbreviation, such as ETH-SWAP. If this value is "all", you will get the ticker information of all contracts. |
Example input
Incoming message
The message identifies the contract with symbol and includes last, mark, index, best ask and best bid prices; 24-hour high, low, open and volume; daily open; best ask and bid volumes; the timestamp; funding rate; and open interest.
{
"topic": "usdt/ticker.ETH-SWAP",
"data": [
{
"symbol": "ETH-SWAP",
"lastPrice": "2450.0",
"markPrice": "2450.1",
"bestAskPrice": "2450.2",
"bestBidPrice": "2449.8",
"high24h": "2495.0",
"low24h": "2390.0",
"open24h": "2400.0",
"volume24h": "862400.0",
"bestAskVolume": "184.0",
"bestBidVolume": "236.0",
"timestamp": 1795161600000,
"openPrice": "2430.0",
"indexPrice": "2450.0",
"fundingRate": "0.000125",
"openInterest": ""
}
]
}
Stop receiving updates
Unsubscription message
Channel parameters
- Topic format: "usdt/ticker.{instrument_id}"
| Field | Data type | Required | Meaning |
|---|---|---|---|
| instrument_id | string | YES | contract abbreviation, such as ETH-SWAP. If this value is "all", you will get the ticker information of all contracts. |