Get Profit Details
Get profit sharing details grouped by follower.
HTTP Request
GET /api/v1/copy/mix-trader/profit-details
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | string | No | Number of results per page. Default: 20, Max: 100 |
| pageNo | string | No | Page number. Default: 1 |
Request Example
curl -X GET "https://open-api.bydoxe.com/api/v1/copy/mix-trader/profit-details?pageNo=1&pageSize=20" \
-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 details |
| >> profit | string | Total profit from this follower |
| >> followerUid | string | Follower's user ID |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1763459280000,
"data": {
"profitList": [
{
"profit": "150.12345678",
"followerUid": "100001"
}
]
}
}
Error Codes
| Code | Message |
|---|---|
| 45002 | User not found |
| 45003 | Not a copy trader |
| 50000 | System error |