Get data for the Leaderboard widget
Last updated
Was this helpful?
Last updated
Was this helpful?
Use the following method to get information about accounts displayed in the Leaderboard widget:
GET
[host]/api/v1/investment/widget/leaderboard
Headers
Authorization: Bearer <access_token>
Query parameters
Name | Required | Description |
---|---|---|
Request example
The response includes an array of objects providing information about the accounts matching the request parameters, which are displayed on the Leaderboard.
See also:
investment_platform_id
Yes
The identifier of the investment platform instance.
If only one MT server is connected to your B2COPY investment platform, specify 1.
If you have more than one MT server connected to your B2COPY investment platform, contact the Support team for assistance.
platform
Yes
Possible values:
1 — to get information about accounts displayed on the copy-trading Leaderboard
2 — to get information about accounts displayed on the PAMM Leaderboard
3 — to get information about accounts displayed on the MAM Leaderboard