Restituisce i conti visualizzati in Leaderboard widget per un prodotto scelto (copy trading, PAMM o MAM).
Endpoint
GET [host]/api/v1/investment/widget/leaderboardAutenticazione
Richiede l'intestazione Authorization: Bearer <access_token>.
Parametri Query
| Nome | Obbligatorio | Descrizione |
|---|---|---|
| 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>'Risposta
Una matrice di oggetti account Leaderboard più un totale count (abbreviato):
{
"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
}
}