Get Profit History Details
Get detailed profit sharing history records.
HTTP Request
GET /api/v1/copy/mix-trader/profit-history-details
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| coin | string | No | Coin type (e.g., USDT) |
| startTime | string | No | Start time in milliseconds |
| endTime | string | No | End time in milliseconds |
| limit | string | No | Number of results per request. Default: 100, Max: 100 |
| idLessThan | string | No | Filter results with ID less than this value |
| idGreaterThan | string | No | Filter results with ID greater than this value |
Request Example
curl -X GET "https://open-api.bydoxe.com/api/v1/copy/mix-trader/profit-history-details?coin=USDT&startTime=1763372880000&endTime=1763459280000&limit=100" \
-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 |
| > profitList | array | List of profit records |
| >> profitId | string | Profit record ID |
| >> coin | string | Coin type |
| >> profit | string | Profit amount |
| >> followerUid | string | Follower's user ID |
| >> profitTime | string | Profit time in milliseconds |
| > endId | string | Last ID for pagination |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1763459280000,
"data": {
"profitList": [
{
"profitId": "123456789",
"coin": "USDT",
"profit": "25.12345678",
"followerUid": "100001",
"profitTime": "1763459280000"
}
],
"endId": "123456789"
}
}
Error Codes
| Code | Message |
|---|---|
| 45002 | User not found |
| 45003 | Not a copy trader |
| 50000 | System error |