MetaTrader 5 icon

MetaTrader 5

Interact with MetaTrader 5 trading platform via WebAPI

User Account → Check Balance

AI-generated

Summary

Checks user balance for the specified login via the MetaTrader 5 API.

Inputs

  • login — User login number used to identify the account whose balance is checked. Optional; defaults to empty string if omitted.

Output shape

Simplified user data containing balance information (Login, Group, Name, Email, MQID, Rights, Balance, Credit, Leverage, LastAccess), processed via the node's simplifyUserData helper when the Simplify option is enabled (default).

The raw API response from GET /api/user/check_balance?login= is transformed by simplifyUserData to extract balance-relevant fields.

Examples

Example 1: Verify current balance for user login 12345

Set the Login parameter to 12345. The node will issue a GET request to the MT5 server and return the simplified balance summary.

Discussion