GetCopyTradeMasterFollowersByFilter¶
Endpoint¶
GET /copytrade/master/followers
Authorization¶
Requires an authenticated account (SESSION_USER), customer (SESSION_CUSTOMER), manager, dealer, CRM, or verified terminal guest session. Account sessions can access enabled public masters or a private master at their exact login; customer sessions can access enabled public masters or private masters owned by linked logins; guests can access enabled public masters only. The requested master must also have show_followers = 1; ownership does not bypass this flag.
Description¶
Returns a table of followers subscribed to the requested copy master account.
The request must include login. The server verifies that the master is enabled and visible to the authenticated scope, then checks show_followers = 1. A private master outside the scope returns 403 MASTER_NOT_PUBLIC; a disabled master or one without the follower flag returns 403 FOLLOWERS_NOT_PUBLIC.
The response exposes limited follower data only:
- follower login;
- masked follower email;
- subscription time and state;
- number of copied trade links;
- realized PNL from closed copied market trades under this master;
- copied volume from linked follower orders.
Private account fields such as full email, name, group, phone and comments are not returned.
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
login |
int | Yes | Copy master account login |
limit |
int | Yes | Page size. Maximum 50000 |
offset |
int | Yes | Page offset |
where |
array | No | Standard where filters |
whereNot |
array | No | Standard negative filters |
whereIn |
array | No | Standard include-by-list filters |
whereNotIn |
array | No | Standard exclude-by-list filters |
whereBetween |
array | No | Standard range filters |
whereNotBetween |
array | No | Standard negative range filters |
orderBy |
array | No | Sort definition |
Available Fields¶
The same field list is used for response columns, filtering and sorting.
| Field | Type | Description |
| subscription_id | int | Subscription id |
| id | int | Alias for subscription_id in filters |
| master_login | int | Master account login |
| follower_login | int | Follower account login |
| follower_email | string | Masked follower email |
| subscribed_time | int64 | Subscription creation time |
| status | int | Subscription status |
| enabled | int | Subscription enabled flag |
| copied_trades | int | Number of copied trade links under this subscription |
| pnl | number | Realized net PNL from closed copied market trades under this master |
| volume | int | Total copied follower-order volume from linked trades |
PNL Calculation¶
pnl is calculated only from follower trades connected to this master through
copy trade links. The server sums closed market follower orders as:
profit + commission + storage
The value does not include unrelated follower account trades.
Request Example¶
{
"login": 100001,
"where": [
["pnl", ">", 0]
],
"orderBy": ["pnl", "desc"],
"limit": 50,
"offset": 0
}
Response¶
{
"structure": [
"subscription_id",
"master_login",
"follower_login",
"follower_email",
"subscribed_time",
"status",
"enabled",
"copied_trades",
"pnl",
"volume"
],
"rows": [
[
501,
100001,
200045,
"jo***@example.com",
1778160000,
0,
1,
14,
245.75,
1400
]
],
"count": 1
}
Rows follow the order defined in structure.
Errors¶
| HTTP | Error | Description |
|---|---|---|
403 |
MASTER_NOT_PUBLIC |
Master is private and outside the authenticated account/customer ownership scope |
400 |
INVALID_DATA |
Request validation failed or a private field was used in filter/sort |
403 |
FOLLOWERS_NOT_PUBLIC |
Master is disabled or did not allow public follower display |
404 |
MASTER_NOT_FOUND |
login is not a copy trading master |