मास्टर और निवेश खातों की सूची प्राप्त करें

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

वॉल्यूम वृद्धि