Actions42
- User Account Actions
- Client Actions
- Account Binding Actions
- Trading Account Actions
- Symbols Actions
- Prices Actions
- Password Actions
- Certificate Actions
- OTP Actions
- Archive Actions
- Backup Actions
- Notification Actions
Trading Account → Get Account Info
AI-generatedSummary
Fetch trading account information from MetaTrader 5 WebAPI
Inputs
- login (required) — Account login number identifying the trading account to retrieve info for
- simplify — Whether to return a simplified version of the response instead of the raw data; defaults to true
Output shape
The operation returns a single JSON object per input item. The returned shape depends on the simplify parameter:
- When
simplifyis true (default): returns an object with fields Login, Balance, Credit, Margin, MarginFree, MarginLevel, Equity, Profit, MarginLeverage, and CurrencyDigits, extracted viasimplifyAccountData.
Examples
Example 1: Default behavior (simplify=true)
Leave simplify at its default true value; provide a valid login. The node returns a concise account metrics object.
Example 2: Raw response (simplify=false)
Set simplify to false; provide a valid login. The node returns the full API response, typically nested under an answer property.