マスター口座と投資口座の一覧を取得する

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

取引量の増加