获取排行榜小部件数据

拉取排行榜数据,用于公开的只读嵌入展示。

面向管理员

Returns the accounts displayed in the Leaderboard widget for a chosen product (copy trading, PAMM, or MAM).

Endpoint

GET [host]/api/v1/investment/widget/leaderboard

Authentication

Requires the Authorization: Bearer <access_token> header.

Query Parameters

NameRequiredDescription
investment_platform_idYesThe investment platform instance (1 for a single MT server).
platformYes1 → 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
  }
}
还不是 B2COPY 客户?

将 B2COPY 引入您的经纪业务,实现自动驾驶式增长

在现有服务器上部署跟单交易、PAMM 与 MAM,把最优秀的交易员变成增长引擎——含托管、监控与支持。不确定从何开始?联系我们,我们会逐步讲解。

2–4 周

上线时间

$0

基础设施成本

40%+

成交量提升