Returns the accounts displayed in the Leaderboard widget for a chosen product (copy trading, PAMM, or MAM).
Endpoint
GET [host]/api/v1/investment/widget/leaderboardAuthentication
Requires the Authorization: Bearer <access_token> header.
Query parameters
| Name | Required | Description |
|---|---|---|
| investment_platform_id | Yes | The investment platform instance (1 for a single MT server). |
| platform | Yes | 1 → copy-trading Leaderboard, 2 → PAMM Leaderboard, 3 → MAM Leaderboard. |
curl --location --request GET \
'https://host.name/api/v1/investment/widget/leaderboard?investment_platform_id=1&platform=1' \
--header 'Authorization: Bearer <token>'Response
An array of Leaderboard account objects plus a total count (abbreviated):
{
"status": 200,
"data": {
"accounts": [
{
"name": "Account name",
"login": "124214",
"currency": "USD",
"risk": "86",
"score": 49,
"followers": 12,
"assets": "25342.73",
"aum": 25342.73,
"allocation_method": 4,
"risk_ratio": 1
}
],
"count": 174
}
}