Daily Trade Stats
Daily Trade Stats
Query API user trade statistics aggregated by date
Request frequency limit: 1/1s
Request URL
GET /deepcoin/apiUserTradeStats/daily
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| appid | true | string | AppID, used to identify third-party platforms (e.g., FMZ, CCXT, Hummingbot) |
| uid | false | integer | User ID, optional. If not provided, queries all users under this AppID |
| startTime | true | integer | Start time, Unix timestamp (seconds) |
| endTime | true | integer | End time, Unix timestamp (seconds) |
| instrumentIds | false | array | List of instrument IDs, optional. Supports querying multiple instruments |
Request Example
{
"appid": "FMZ",
"uid": 12345,
"startTime": 1700000000,
"endTime": 1700086400,
"instrumentIds": ["BTC-USDT-SWAP", "ETH-USDT-SWAP"]
}
Response Parameters
| Field Name | Type | Description |
|---|---|---|
| date | string | Statistics date, format: 2025-11-12 |
| tradeAmount | number | Trade volume (USDT) |
| netFee | number | Net fee (USDT) |
| commissionFee | number | Commission amount (USDT) |
Response Example
{
"code": "0",
"msg": "",
"data": [
{
"date": "2025-11-12",
"tradeAmount": 150000.50,
"netFee": 75.25,
"commissionFee": 15.05
},
{
"date": "2025-11-13",
"tradeAmount": 200000.00,
"netFee": 100.00,
"commissionFee": 20.00
}
]
}
Notes
- This API requires special permission. Please contact support to enable access.
- Authentication is required using API Key in the request header.
- The date range (endTime - startTime) should not exceed 90 days.
- If
uidis not provided, the API returns aggregated data for all users under the specifiedappid. - If
instrumentIdsis not provided, the API returns data for all instruments.