获取主账户与投资账户列表

通过 API 获取账户及其元数据。

面向管理员

Returns a list of master and investment accounts created on the B2COPY investment platform. Filter by account, client email, or type, and page through results.

Endpoint

GET [host]/api/v2/b2copy/accounts

Authentication

Send the access token in the Authorization: Bearer <access_token> header — see Authorization in the Back Office.

Request Body

NameTypeRequiredDescription
investmentPlatformIdintegerYesThe investment platform instance. Use 1 for a single connected MT server; contact Support if you have several.
account_numberstringNoMT login of a specific master or investment account.
emailstringNoClient email — returns accounts of that client.
is_masterbooleanNotrue → only master accounts; false → only investment accounts.
limitintegerNoMaximum number of items returned.
offsetintegerNoSkip the first N items.
sort_bystringNoSort field. Supported: created_at.
sort_orderstringNoSort direction: asc or desc.
curl --location --request GET 'https://host.name/api/v2/b2copy/accounts' \
--header 'Authorization: Bearer <access_token>' \
--data-raw '{
  "investment_platform_id": 1,
  "account_number": "2121944013",
  "email": "username@example.com",
  "is_master": true,
  "limit": 100,
  "offset": 0,
  "sort_by": "created_at",
  "sort_order": "asc"
}'

Response

An array of objects describing the matching accounts.

{
  "firstName": "John",
  "lastName": "Smith",
  "email": "username@example.com",
  "account_id": "2121944013",
  "group": "demo_standalone",
  "account_type": "master",
  "createdAt": "2024-02-09T10:32:47.000000Z"
}
还不是 B2COPY 客户?

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

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

2–4 周

上线时间

$0

基础设施成本

40%+

成交量提升