MetaTrader 5 icon

MetaTrader 5

Interact with MetaTrader 5 trading platform via WebAPI

Account Binding → Get Bound Accounts

AI-generated

Summary

Retrieve trading accounts bound to a client

Inputs

  • bindClientId — Client record ID whose bound accounts are to be retrieved

Output shape

Array of account logins bound to the specified client, optionally simplified via simplifyClientData when simplify is true

The MetaTrader 5 API endpoint GET /api/client/user/get_logins?client={bindClientId} returns account login data; if the simplify parameter is true (default), the response is processed through simplifyClientData which extracts fields such as RecordID, PersonName, PersonLastName, ContactEmail, ContactPhone, ClientStatus, ClientType, DateCreated, AssignedManager, and LeadSource.

Examples

Example 1: Fetch all trading accounts bound to client record '12345'

Set bindClientId to '12345'. The node will call the MT5 WebAPI and return the bound account logins.

Discussion