MetaTrader 5 icon

MetaTrader 5

Interact with MetaTrader 5 trading platform via WebAPI

User Account → Get Users Batch

AI-generated

Summary

Fetch multiple users from MetaTrader 5 by logins and optional group filtering

Inputs

  • logins — Comma-separated list of user logins (e.g., 123,456,789)
  • groups — Select one or more groups to filter users
  • dateFrom — Start date for user search (Unix timestamp, optional)
  • dateTo — End date for user search (Unix timestamp, optional)
  • simplify — Whether to return a simplified version of the response instead of the raw data

Output shape

When simplify is true, returns an array of user objects reduced to {Login, Group, Name, Email, MQID, Rights, Balance, Credit, Leverage, LastAccess}. When false, returns the raw API response from /api/user/get_batch.

Returned data shape is determined by the simplify parameter via the node's processResponse method.

Discussion