리더보드 위젯용 데이터 가져오기

공개 읽기 전용 임베드를 위해 리더보드 데이터를 가져옵니다.

관리자용

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%+

거래량 증가