24hr Ticker Price Change Statistics
Request URL
GET /fmapi/v1/ticker/24hr
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| symbolId | STRING | YES | Trading pair |
Response Parameters
| Name | Type | Description |
|---|---|---|
| code | STRING | Response Code |
| msg | STRING | Response Message |
| success | BOOLEAN | Success Flag |
| data | OBJECT | Data Payload |
| data.amount | STRING | |
| data.closePrice | STRING | |
| data.closeTime | INTEGER | |
| data.highPrice | STRING | |
| data.lowPrice | STRING | |
| data.openPrice | STRING | |
| data.openTime | INTEGER | |
| data.priceChange | STRING | |
| data.priceChangePercentage | STRING | |
| data.symbolId | STRING | |
| data.symbolName | STRING | |
| data.symbolPid | INTEGER | |
| data.volume | STRING |
Request Example
https://openapi.bittap.com/fmapi/v1/ticker/24hr?symbolId=ETH-USDT-MResponse Example
{
"code": "0",
"data": {
"amount": "9465998749.6633", // Total trading volume (sum of trading amounts, unit: USDT)
"closePrice": "3842.98", // Close price (last trade price in this period)
"closeTime": 1761127569838, // Close time (millisecond timestamp)
"highPrice": "4107.99", // High price (highest trade price in this period)
"lowPrice": "3819.48", // Low price (lowest trade price in this period)
"openPrice": "3870.47", // Open price (first trade price in this period)
"openTime": 1761041160000, // Open time (millisecond timestamp)
"priceChange": "-27.49", // Price change (close price - open price)
"priceChangePercentage": "-0.71", // Price change percentage ((close price - open price) / open price * 100)
"symbolId": "ETH-USDT-M", // Trading pair ID (e.g., ETH-USDT perpetual contract)
"symbolName": "ETHUSDT", // Trading pair name (display name)
"symbolPid": 2, // Trading pair unique identifier
"volume": "2402320.03" // Volume (total trading quantity)
},
"msg": "success",
"success": true
}
Error Codes
| Error Code | Description |
|---|---|
| 500 | Server Error |
Code Example
Last updated on: