Get Profit History Summary
Get a summary of the trader's profit sharing history.
HTTP Request
GET /api/v1/copy/mix-trader/profit-history-summarys
Request Parameters
This endpoint does not require any parameters.
Request Example
curl -X GET "https://open-api.bydoxe.com/api/v1/copy/mix-trader/profit-history-summarys" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000" \
-H "Content-Type: application/json"
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code |
| msg | string | Response message |
| requestTime | number | Request timestamp in milliseconds |
| data | object | Response data |
| > profitSummary | object | Profit summary |
| >> yesterdayProfit | string | Yesterday's profit |
| >> sumProfit | string | Total cumulative profit |
| >> waitProfit | string | Pending profit (not yet distributed) |
| >> yesterdayTime | string | Yesterday's timestamp |
| > profitHistoryList | array | Profit history by coin |
| >> coin | string | Coin type |
| >> profitCount | string | Total profit amount for this coin |
| >> lastProfitTime | string | Last profit time in milliseconds |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1763459280000,
"data": {
"profitSummary": {
"yesterdayProfit": "25.12345678",
"sumProfit": "1500.12345678",
"waitProfit": "50.00000000",
"yesterdayTime": "1763372880000"
},
"profitHistoryList": [
{
"coin": "USDT",
"profitCount": "1500.12345678",
"lastProfitTime": "1763459280000"
}
]
}
}
Error Codes
| Code | Message |
|---|---|
| 45002 | User not found |
| 45003 | Not a copy trader |
| 50000 | System error |