CPlugin

API v2 reference (current)

JSON-Pure WebAPI for MT4/MT5, version 2.0 — 442 operations: MT4 162, MT5 280.

Current version of the API.

Works with MetaTrader 4 and MetaTrader 5 trade servers and keeps a live connection to each of them. That connection holds a cached copy of the server state, which it refreshes continuously. The …Get calls answer from this copy and are much faster; the …Request calls ask the trade server every time and are always current.

Every call that reaches an operation answers HTTP 200 with the envelope { data, error, meta }: on success data carries the payload and error is null, on failure data is null and error.code says why, for example Validation, NoConnect, MT4Error, MT5Error, NotFound, Timeout, OutcomeUnknown or Busy. A client that is not allowed the call is refused earlier, with HTTP 403. Check error before using data, and repeat a request with the same Idempotency-Key to get the result of the first call instead of running it twice.

Base URL https://cloud.mywebapi.com · OpenAPI v2 specification (JSON) · interactive reference (Redoc)

MT4 v2 :: Account passwords

POST /api/v2/MT4/{tradePlatform}/UserPasswordCheck/{login} Verify account password
POST /api/v2/MT4/{tradePlatform}/UserPasswordSet/{login} Set account password

MT4 v2 :: Backup

GET /api/v2/MT4/{tradePlatform}/BackupInfoUsers/{mode} List user backup files
GET /api/v2/MT4/{tradePlatform}/BackupInfoOrders/{mode} List order backup files
GET /api/v2/MT4/{tradePlatform}/BackupRequestUsers/{file} Read users from backup
GET /api/v2/MT4/{tradePlatform}/BackupRequestOrders/{file} Read orders from backup

MT4 v2 :: Backup (destructive)

POST /api/v2/MT4/{tradePlatform}/BackupRestoreUsers Restore users from backup
POST /api/v2/MT4/{tradePlatform}/BackupRestoreOrders Restore orders from backup

MT4 v2 :: Common

GET /api/v2/MT4/{tradePlatform}/ServerTime Get server time
GET /api/v2/MT4/{tradePlatform}/ManagerCommon Get server common settings
GET /api/v2/MT4/{tradePlatform}/ManagerCommonEx Get full server common settings
GET /api/v2/MT4/{tradePlatform}/JournalRequest Get server journal

MT4 v2 :: Config

GET /api/v2/MT4/{tradePlatform}/CfgRequestCommon Get common server configuration
POST /api/v2/MT4/{tradePlatform}/CfgUpdateCommon Update common config
GET /api/v2/MT4/{tradePlatform}/CfgRequestHoliday List holiday config
GET /api/v2/MT4/{tradePlatform}/CfgRequestManager List manager configs
GET /api/v2/MT4/{tradePlatform}/CfgRequestTime Get access-hour matrix
POST /api/v2/MT4/{tradePlatform}/CfgUpdateTime Update access-hour matrix
GET /api/v2/MT4/{tradePlatform}/CfgRequestAccess List IP firewall rules
GET /api/v2/MT4/{tradePlatform}/CfgRequestBackup Get backup config
POST /api/v2/MT4/{tradePlatform}/CfgUpdateBackup Update backup config
POST /api/v2/MT4/{tradePlatform}/CfgUpdateSync Update sync rule
POST /api/v2/MT4/{tradePlatform}/CfgUpdateFeeder Update feeder config
POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayAccount Update gateway account
POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayMarkup Update gateway markup
POST /api/v2/MT4/{tradePlatform}/CfgUpdateGatewayRule Update gateway rule
POST /api/v2/MT4/{tradePlatform}/CfgUpdateLiveUpdate Update LiveUpdate config
POST /api/v2/MT4/{tradePlatform}/CfgUpdateManager Update manager config
POST /api/v2/MT4/{tradePlatform}/CfgUpdateAccess Update IP firewall rule
POST /api/v2/MT4/{tradePlatform}/CfgUpdateDataServer Update data-server entry
POST /api/v2/MT4/{tradePlatform}/CfgUpdateHoliday Update holiday entry
POST /api/v2/MT4/{tradePlatform}/CfgUpdateSymbolGroup Update symbol group
GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayAccount List gateway accounts
GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayMarkup List gateway markups
GET /api/v2/MT4/{tradePlatform}/CfgRequestGatewayRule List gateway rules
GET /api/v2/MT4/{tradePlatform}/CfgRequestDataServer List data servers
GET /api/v2/MT4/{tradePlatform}/CfgRequestFeeder List feeder configs
GET /api/v2/MT4/{tradePlatform}/CfgRequestLiveUpdate List LiveUpdate configs
GET /api/v2/MT4/{tradePlatform}/CfgRequestSync List sync rules
POST /api/v2/MT4/{tradePlatform}/CfgDeleteAccess Delete IP firewall rule
POST /api/v2/MT4/{tradePlatform}/CfgDeleteDataServer Delete data-server entry
POST /api/v2/MT4/{tradePlatform}/CfgDeleteFeeder Delete feeder config
POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayAccount Delete gateway account
POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayMarkup Delete gateway markup
POST /api/v2/MT4/{tradePlatform}/CfgDeleteGatewayRule Delete gateway rule
POST /api/v2/MT4/{tradePlatform}/CfgDeleteHoliday Delete holiday entry
POST /api/v2/MT4/{tradePlatform}/CfgDeleteLiveUpdate Delete LiveUpdate config
POST /api/v2/MT4/{tradePlatform}/CfgDeleteManager Delete manager config
POST /api/v2/MT4/{tradePlatform}/CfgDeleteSymbol Delete symbol config
POST /api/v2/MT4/{tradePlatform}/CfgDeleteSync Delete sync rule
POST /api/v2/MT4/{tradePlatform}/CfgShiftAccess Reorder IP firewall rule
POST /api/v2/MT4/{tradePlatform}/CfgShiftDataServer Reorder data-server entry
POST /api/v2/MT4/{tradePlatform}/CfgShiftFeeder Reorder feeder config
POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayAccount Reorder gateway account
POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayMarkup Reorder gateway markup
POST /api/v2/MT4/{tradePlatform}/CfgShiftGatewayRule Reorder gateway rule
POST /api/v2/MT4/{tradePlatform}/CfgShiftGroup Reorder trading group
POST /api/v2/MT4/{tradePlatform}/CfgShiftHoliday Reorder holiday entry
POST /api/v2/MT4/{tradePlatform}/CfgShiftLiveUpdate Reorder LiveUpdate config
POST /api/v2/MT4/{tradePlatform}/CfgShiftManager Reorder manager config
POST /api/v2/MT4/{tradePlatform}/CfgShiftPlugin/{pos} Reorder plugin entry
POST /api/v2/MT4/{tradePlatform}/CfgShiftSymbol Reorder symbol entry
POST /api/v2/MT4/{tradePlatform}/CfgShiftSync Reorder sync rule

MT4 v2 :: Dealer

GET /api/v2/MT4/{tradePlatform}/SummaryGet/{symbol} Get the summary of one symbol
GET /api/v2/MT4/{tradePlatform}/SummaryGetAll Get the summary of every symbol
GET /api/v2/MT4/{tradePlatform}/SummaryGetByCount/{count} Get the summary of a symbol by its position in the symbol list
GET /api/v2/MT4/{tradePlatform}/SummaryGetByType/{secType} Get the summary of a symbol by its group
GET /api/v2/MT4/{tradePlatform}/SummaryCurrency Get the summary currency
GET /api/v2/MT4/{tradePlatform}/ExposureGet Get the exposure of every currency
GET /api/v2/MT4/{tradePlatform}/ExposureValueGet/{currency} Get the exposure of one currency
POST /api/v2/MT4/{tradePlatform}/TradeCalcProfit Recalculate the profit of a trade
POST /api/v2/MT4/{tradePlatform}/LogsOut Write a record to the Manager API log
POST /api/v2/MT4/{tradePlatform}/LogsMode Set the logging mode of the Manager API connection

MT4 v2 :: Groups

GET /api/v2/MT4/{tradePlatform}/GroupsGet List trading groups (cached)
GET /api/v2/MT4/{tradePlatform}/GroupRecordGet/{group} Get trading group (cached)
GET /api/v2/MT4/{tradePlatform}/GroupsRequest List trading groups (live)
GET /api/v2/MT4/{tradePlatform}/CfgRequestGroup List trading groups (live configuration)
GET /api/v2/MT4/{tradePlatform}/GroupSecGroupsGet/{group} Get group security entries
GET /api/v2/MT4/{tradePlatform}/GroupSecMarginsGet/{group} Get group margin overrides
POST /api/v2/MT4/{tradePlatform}/CfgUpdateGroup Update trading group
PATCH /api/v2/MT4/{tradePlatform}/GroupRecord/{group} Patch trading group
GET /api/v2/MT4/{tradePlatform}/EnsureGroupNameExist/{group} Check group exists

MT4 v2 :: History

GET /api/v2/MT4/{tradePlatform}/TradesUserHistory/{login} Get account trade history

MT4 v2 :: Mail

GET /api/v2/MT4/{tradePlatform}/MailLast Get last mail path

MT4 v2 :: Margins

GET /api/v2/MT4/{tradePlatform}/MarginsGet List account margins (cached)
GET /api/v2/MT4/{tradePlatform}/MarginLevelGet/{login} Get account margin (cached)
GET /api/v2/MT4/{tradePlatform}/MarginLevelRequest/{login} Get account margin (live)

MT4 v2 :: News

GET /api/v2/MT4/{tradePlatform}/NewsTotal Get news count
GET /api/v2/MT4/{tradePlatform}/NewsBodyGet/{key} Get news body (cached)
GET /api/v2/MT4/{tradePlatform}/NewsGet List news headers
GET /api/v2/MT4/{tradePlatform}/NewsTopicGet/{pos} Get news header by index
POST /api/v2/MT4/{tradePlatform}/NewsBodyRequest/{key} Request news body fetch

MT4 v2 :: Online

GET /api/v2/MT4/{tradePlatform}/OnlineGet List online users (cached)
GET /api/v2/MT4/{tradePlatform}/OnlineRequest List online sessions (live)

MT4 v2 :: Plugins

POST /api/v2/MT4/{tradePlatform}/ExternalCommandJSON Send plugin command (JSON)

MT4 v2 :: Prices

GET /api/v2/MT4/{tradePlatform}/ChartRequest/{symbol} Get chart bars
POST /api/v2/MT4/{tradePlatform}/ChartAdd/{symbol} Add chart bars
POST /api/v2/MT4/{tradePlatform}/ChartUpdate/{symbol} Update chart bars
POST /api/v2/MT4/{tradePlatform}/ChartDelete/{symbol} Delete chart bars
POST /api/v2/MT4/{tradePlatform}/HistoryCorrect/{symbol} Repair chart history
GET /api/v2/MT4/{tradePlatform}/TicksRequest/{symbol} Get historical ticks
GET /api/v2/MT4/{tradePlatform}/TickInfoLast/{symbol} Get last tick (cached)
GET /api/v2/MT4/{tradePlatform}/TickInfoLast Get last ticks, all symbols (cached)

MT4 v2 :: Reports

GET /api/v2/MT4/{tradePlatform}/PerformanceRequest Get server performance series
GET /api/v2/MT4/{tradePlatform}/ReportsRequest Get closed-trade reports
GET /api/v2/MT4/{tradePlatform}/DailyReportsRequest Get daily reports
GET /api/v2/MT4/{tradePlatform}/DailyReportsRequestEx Get daily reports (grouped)
POST /api/v2/MT4/{tradePlatform}/DailySyncStart Start daily-report sync
POST /api/v2/MT4/{tradePlatform}/DailySyncRead Read daily-report sync

MT4 v2 :: Server Admin

GET /api/v2/MT4/{tradePlatform}/SrvFeeders List data feeders
GET /api/v2/MT4/{tradePlatform}/LicenseCheck/{licenseName} Check license
POST /api/v2/MT4/{tradePlatform}/NotificationsSend Send push notification
GET /api/v2/MT4/{tradePlatform}/SrvFeederLog/{name} Get feeder log

MT4 v2 :: Server Admin (destructive)

POST /api/v2/MT4/{tradePlatform}/SrvRestart Restart server
POST /api/v2/MT4/{tradePlatform}/SrvChartsSync Force chart resync
POST /api/v2/MT4/{tradePlatform}/SrvLiveUpdateStart Start LiveUpdate distributor
POST /api/v2/MT4/{tradePlatform}/SrvFeedsRestart Restart data feeders

MT4 v2 :: Symbols

GET /api/v2/MT4/{tradePlatform}/SymbolInfoGet Get symbol market data (cached)
GET /api/v2/MT4/{tradePlatform}/SymbolInfoUpdated List updated symbols (cached)
GET /api/v2/MT4/{tradePlatform}/SymbolsGetAll List symbols (cached)
GET /api/v2/MT4/{tradePlatform}/SymbolsGetAll/{symbol} Get symbol (cached)
GET /api/v2/MT4/{tradePlatform}/CfgRequestSymbol List symbol configs
GET /api/v2/MT4/{tradePlatform}/CfgRequestSymbol/{symbol} Get symbol config
GET /api/v2/MT4/{tradePlatform}/CfgRequestSymbolGroup List symbol groups (live configuration)
GET /api/v2/MT4/{tradePlatform}/SymbolSessionsGet/{symbol} Get symbol sessions
POST /api/v2/MT4/{tradePlatform}/CfgUpdateSymbol/{symbol} Update symbol config
PATCH /api/v2/MT4/{tradePlatform}/SymbolConfig/{symbol} Patch symbol config
POST /api/v2/MT4/{tradePlatform}/SymbolAdd/{symbol} Add symbol
POST /api/v2/MT4/{tradePlatform}/SymbolHide/{symbol} Hide symbol
POST /api/v2/MT4/{tradePlatform}/SymbolsRefresh Refresh symbol catalog
POST /api/v2/MT4/{tradePlatform}/SymbolChange Change symbol attributes
POST /api/v2/MT4/{tradePlatform}/SymbolSendTick Send synthetic tick

MT4 v2 :: Trades

GET /api/v2/MT4/{tradePlatform}/TradesGet List open trades (cached)
GET /api/v2/MT4/{tradePlatform}/TradesGet/{ticket} Get trade by ticket (cached)
GET /api/v2/MT4/{tradePlatform}/TradesGetByLogin/{login}/{group} List trades by account (cached)
GET /api/v2/MT4/{tradePlatform}/TradesGetBySymbol List trades by symbol (cached)
GET /api/v2/MT4/{tradePlatform}/TradesGetByMarket List market trades (cached)
GET /api/v2/MT4/{tradePlatform}/TradeRecordGet/{order} Get trade record (cached)
POST /api/v2/MT4/{tradePlatform}/TradeCheckStops Validate order stops
POST /api/v2/MT4/{tradePlatform}/TradeClearRollback/{order} Roll back trade transaction
GET /api/v2/MT4/{tradePlatform}/TradeRecordRequest/{order} Get trade record (live)
GET /api/v2/MT4/{tradePlatform}/TradesRequest Query trades (live)
POST /api/v2/MT4/{tradePlatform}/AdmTradeRecordModify/{ticket} Modify trade record (admin)
POST /api/v2/MT4/{tradePlatform}/TradeTransaction Submit trade transaction
GET /api/v2/MT4/{tradePlatform}/TradeRecordsRequest Get trade records batch (live)
GET /api/v2/MT4/{tradePlatform}/AdmTradesRequest/{group} List group trades (admin)
POST /api/v2/MT4/{tradePlatform}/AdmTradesDelete Delete trades (admin)
POST /api/v2/MT4/{tradePlatform}/TradesSyncStart Start trade-records sync

MT4 v2 :: Users

GET /api/v2/MT4/{tradePlatform}/UsersGet List accounts (cached)
GET /api/v2/MT4/{tradePlatform}/UserRecordGet/{login} Get account (cached)
GET /api/v2/MT4/{tradePlatform}/UserRecordRequest/{login} Get account (live)
GET /api/v2/MT4/{tradePlatform}/UserRecordsRequest Get accounts batch (live)
GET /api/v2/MT4/{tradePlatform}/AdmBalanceCheck/{login} Check account balance
GET /api/v2/MT4/{tradePlatform}/AdmBalanceCheck Check account balances (batch)
POST /api/v2/MT4/{tradePlatform}/AdmBalanceFix Fix account balances
GET /api/v2/MT4/{tradePlatform}/UsersRequest List accounts (live)
POST /api/v2/MT4/{tradePlatform}/UserRecordNew Create account
POST /api/v2/MT4/{tradePlatform}/UserRecordUpdate Update account
PATCH /api/v2/MT4/{tradePlatform}/UserRecord/{login} Patch account
GET /api/v2/MT4/{tradePlatform}/AdmUsersRequestSafe/{group} List group accounts (admin)
POST /api/v2/MT4/{tradePlatform}/UsersSyncStart Start user-records sync
POST /api/v2/MT4/{tradePlatform}/UsersGroupOp Bulk account operation

MT5 v2 :: Clients

POST /api/v2/MT5/{tradePlatform}/ClientUpdate Update a client
POST /api/v2/MT5/{tradePlatform}/ClientAddBatch Add clients in bulk
POST /api/v2/MT5/{tradePlatform}/ClientAddBatchArray Add clients in bulk (plain array)
POST /api/v2/MT5/{tradePlatform}/ClientUpdateBatch Update clients in bulk
POST /api/v2/MT5/{tradePlatform}/ClientUpdateBatchArray Update clients in bulk (plain array)
POST /api/v2/MT5/{tradePlatform}/ClientDeleteBatch Delete clients in bulk
GET /api/v2/MT5/{tradePlatform}/ClientRequestByGroup Clients by preferred group
GET /api/v2/MT5/{tradePlatform}/ClientRequestHistory/{clientId} History of a client record
POST /api/v2/MT5/{tradePlatform}/ClientUserAddBatch/{clientId} Bind trading accounts to a client in bulk
POST /api/v2/MT5/{tradePlatform}/ClientUserDelete/{clientId}/{login} Unbind a trading account from a client
POST /api/v2/MT5/{tradePlatform}/ClientUserDeleteBatch/{clientId} Unbind trading accounts from a client in bulk
GET /api/v2/MT5/{tradePlatform}/ClientUserRequest/{clientId} Trading accounts of a client
POST /api/v2/MT5/{tradePlatform}/DocumentAdd Add a document to a client record
POST /api/v2/MT5/{tradePlatform}/DocumentAddBatch Add documents in bulk
POST /api/v2/MT5/{tradePlatform}/DocumentAddBatchArray Add documents in bulk (plain array)
POST /api/v2/MT5/{tradePlatform}/DocumentUpdate Change a document of a client record
POST /api/v2/MT5/{tradePlatform}/DocumentUpdateBatch Change documents in bulk
POST /api/v2/MT5/{tradePlatform}/DocumentUpdateBatchArray Change documents in bulk (plain array)
POST /api/v2/MT5/{tradePlatform}/DocumentDelete/{documentId} Delete a document
POST /api/v2/MT5/{tradePlatform}/DocumentDeleteBatch Delete documents in bulk
GET /api/v2/MT5/{tradePlatform}/DocumentRequest/{documentId} Read a document
GET /api/v2/MT5/{tradePlatform}/DocumentRequestByClient/{clientId} Documents of a client
GET /api/v2/MT5/{tradePlatform}/DocumentRequestHistory/{documentId} History of a document
POST /api/v2/MT5/{tradePlatform}/CommentAdd Add a comment to a client or a document
POST /api/v2/MT5/{tradePlatform}/CommentAddBatch Add comments in bulk
POST /api/v2/MT5/{tradePlatform}/CommentAddBatchArray Add comments in bulk (plain array)
POST /api/v2/MT5/{tradePlatform}/CommentUpdate Change a comment
POST /api/v2/MT5/{tradePlatform}/CommentUpdateBatch Change comments in bulk
POST /api/v2/MT5/{tradePlatform}/CommentUpdateBatchArray Change comments in bulk (plain array)
POST /api/v2/MT5/{tradePlatform}/CommentDelete/{commentId} Delete a comment
POST /api/v2/MT5/{tradePlatform}/CommentDeleteBatch Delete comments in bulk
GET /api/v2/MT5/{tradePlatform}/CommentRequest/{commentId} Read a comment
GET /api/v2/MT5/{tradePlatform}/CommentRequestByClient/{clientId} Comments on a client
GET /api/v2/MT5/{tradePlatform}/CommentRequestByDocument/{documentId} Comments on a client document
POST /api/v2/MT5/{tradePlatform}/AttachmentAdd Store a file and link it to a document or a comment
POST /api/v2/MT5/{tradePlatform}/AttachmentAddBatch Store files and link them in bulk
POST /api/v2/MT5/{tradePlatform}/AttachmentAddBatchArray Store files and link them in bulk (plain array)
GET /api/v2/MT5/{tradePlatform}/AttachmentRequest Read attachments by identifiers
POST /api/v2/MT5/{tradePlatform}/ClientAdd Create a client
POST /api/v2/MT5/{tradePlatform}/ClientUserAdd/{clientId}/{login} Attach a trading account to a client
GET /api/v2/MT5/{tradePlatform}/ClientRequest/{clientId} Read a client
POST /api/v2/MT5/{tradePlatform}/ClientDelete/{clientId} Delete a client

MT5 v2 :: Common

GET /api/v2/MT5/{tradePlatform}/TimeServer Get server time
GET /api/v2/MT5/{tradePlatform}/TimeGet Get server time configuration

MT5 v2 :: Communications

GET /api/v2/MT5/{tradePlatform}/MailRequest List messages of the internal mail
GET /api/v2/MT5/{tradePlatform}/MailBodyRequest/{id} Read a message with its body and attachments
POST /api/v2/MT5/{tradePlatform}/MailSend Send a message through the internal mail
POST /api/v2/MT5/{tradePlatform}/MailDelete Delete a message by its position in the mailbox
POST /api/v2/MT5/{tradePlatform}/MailDeleteId/{id} Delete a message by its identifier
GET /api/v2/MT5/{tradePlatform}/NewsRequest List news items received by the manager account
GET /api/v2/MT5/{tradePlatform}/NewsBodyRequest/{id} Read a news item with its body
POST /api/v2/MT5/{tradePlatform}/NewsSend Publish a news item
POST /api/v2/MT5/{tradePlatform}/LicenseCheck Check the application license on the trade server
POST /api/v2/MT5/{tradePlatform}/LoggerFlush Flush the local journal of the manager interface to disk
POST /api/v2/MT5/{tradePlatform}/LoggerOut Write a formatted entry into the local journal
POST /api/v2/MT5/{tradePlatform}/LoggerOutString Write an unformatted entry into the local journal
GET /api/v2/MT5/{tradePlatform}/LoggerServerRequest Read the journal of the trade server
POST /api/v2/MT5/{tradePlatform}/PasswordChange/{type} Change the password of the manager account used by the connection
GET /api/v2/MT5/{tradePlatform}/NetworkServer Name of the trade server the connection is held to
GET /api/v2/MT5/{tradePlatform}/NetworkAddress Address of the trade server the connection is held to
GET /api/v2/MT5/{tradePlatform}/NetworkBytesRead Bytes received from the trade server
GET /api/v2/MT5/{tradePlatform}/NetworkBytesSent Bytes sent to the trade server
POST /api/v2/MT5/{tradePlatform}/NetworkRescan Rescan the access points of the trade server
GET /api/v2/MT5/{tradePlatform}/SettingGet Read a settings file of the manager account
POST /api/v2/MT5/{tradePlatform}/SettingSet Write a settings file of the manager account
POST /api/v2/MT5/{tradePlatform}/SettingDelete Delete a settings file of the manager account
POST /api/v2/MT5/{tradePlatform}/CustomCommand Send a custom command to the trade server
GET /api/v2/MT5/{tradePlatform}/GeoResolve Describe an IP address
GET /api/v2/MT5/{tradePlatform}/GeoResolveBatch Describe a list of IP addresses
POST /api/v2/MT5/{tradePlatform}/ProxySet Set the proxy of the manager connection

MT5 v2 :: Config

GET /api/v2/MT5/{tradePlatform}/SymbolRequestArray/{mask} Symbols by mask
GET /api/v2/MT5/{tradePlatform}/GroupRequestArray/{mask} Groups by mask

MT5 v2 :: Configuration

POST /api/v2/MT5/{tradePlatform}/GroupUpdate/{group} Change a group configuration
POST /api/v2/MT5/{tradePlatform}/GroupUpdateBatch Change several group configurations in one call
GET /api/v2/MT5/{tradePlatform}/SymbolRequest/{symbol} Get a symbol as it is configured for a group
GET /api/v2/MT5/{tradePlatform}/SymbolExist/{symbol} Check whether a group allows a symbol
POST /api/v2/MT5/{tradePlatform}/SymbolUpdateBatch Change several symbol configurations in one call
GET /api/v2/MT5/{tradePlatform}/TimeServerRequest Get the current trading time from the server
GET /api/v2/MT5/{tradePlatform}/LeverageGet/{name} Floating margin configuration by name
GET /api/v2/MT5/{tradePlatform}/LeverageRequest/{name} Request a floating margin configuration from the trade server
GET /api/v2/MT5/{tradePlatform}/LeverageRequestArray Floating margin configurations that apply to groups
GET /api/v2/MT5/{tradePlatform}/PluginGet/{name} Plugin configuration by name
POST /api/v2/MT5/{tradePlatform}/PluginUpdate Store a plugin configuration

MT5 v2 :: Dealer

POST /api/v2/MT5/{tradePlatform}/DealerSend Send a trade request on behalf of the dealer
POST /api/v2/MT5/{tradePlatform}/DealerBalance Send a balance operation on behalf of the dealer
POST /api/v2/MT5/{tradePlatform}/DealerBalanceRaw Send a balance operation without the standard validation checks

MT5 v2 :: Groups

GET /api/v2/MT5/{tradePlatform}/GroupRequest/{group} Get a group by name
GET /api/v2/MT5/{tradePlatform}/GroupGet/{group} Get a group from the cached copy
PATCH /api/v2/MT5/{tradePlatform}/GroupRecord/{group} Partially update a group

MT5 v2 :: History Data

GET /api/v2/MT5/{tradePlatform}/ChartRequest/{symbol} Get chart bars
GET /api/v2/MT5/{tradePlatform}/TicksHistory/{symbol} Get historical ticks

MT5 v2 :: Managers

GET /api/v2/MT5/{tradePlatform}/ManagerCurrent Get the current session manager

MT5 v2 :: Market Data

GET /api/v2/MT5/{tradePlatform}/TickLast/{symbol} Get the last quote of a symbol
GET /api/v2/MT5/{tradePlatform}/TickLastRaw/{symbol} Get the last raw quote of a symbol
GET /api/v2/MT5/{tradePlatform}/TickStat/{symbol} Get statistical information about the quotes of a symbol
GET /api/v2/MT5/{tradePlatform}/TickHistoryRequestRaw/{symbol} Get the raw tick stream of a symbol
POST /api/v2/MT5/{tradePlatform}/TickAdd Add a quote into the price stream
POST /api/v2/MT5/{tradePlatform}/TickAddBatch Add several quotes into the price stream
POST /api/v2/MT5/{tradePlatform}/TickAddStat Publish statistical information about the price
POST /api/v2/MT5/{tradePlatform}/TickHistoryAdd/{symbol} Add ticks into the stored tick history
POST /api/v2/MT5/{tradePlatform}/TickHistoryReplace/{symbol} Replace the stored ticks of a period
POST /api/v2/MT5/{tradePlatform}/ChartUpdate/{symbol} Change the stored minute bars of a symbol
POST /api/v2/MT5/{tradePlatform}/ChartReplace/{symbol} Replace the stored minute bars of a period
POST /api/v2/MT5/{tradePlatform}/ChartDelete/{symbol} Delete minute bars of a symbol
POST /api/v2/MT5/{tradePlatform}/ChartSplit/{symbol} Split the price history of a symbol

MT5 v2 :: Market Insight

GET /api/v2/MT5/{tradePlatform}/OnlineGet/{login} Read the open sessions of one account
GET /api/v2/MT5/{tradePlatform}/OnlineRequest Read the live connection list of the trade server
POST /api/v2/MT5/{tradePlatform}/OnlineDisconnect/{login} Disconnect a client from the trade server
POST /api/v2/MT5/{tradePlatform}/OnlineDisconnectBatch Disconnect several clients from the trade server
POST /api/v2/MT5/{tradePlatform}/SelectedAdd Add a symbol to the selected-symbol list
POST /api/v2/MT5/{tradePlatform}/SelectedAddBatch Add several symbols to the selected-symbol list
POST /api/v2/MT5/{tradePlatform}/SelectedAddAll Add every available symbol to the selected-symbol list
POST /api/v2/MT5/{tradePlatform}/SelectedDelete Remove a symbol from the selected-symbol list
POST /api/v2/MT5/{tradePlatform}/SelectedDeleteBatch Remove several symbols from the selected-symbol list
POST /api/v2/MT5/{tradePlatform}/SelectedDeleteAll Clear the selected-symbol list
GET /api/v2/MT5/{tradePlatform}/SelectedNext Read the selected-symbol list
GET /api/v2/MT5/{tradePlatform}/BookGet/{symbol} Read the Depth of Market of a symbol

MT5 v2 :: Reports

GET /api/v2/MT5/{tradePlatform}/DailyRequest/{login} Daily reports of one account
GET /api/v2/MT5/{tradePlatform}/DailyRequestLight/{login} Lightweight daily reports of one account
GET /api/v2/MT5/{tradePlatform}/DailyRequestByGroup/{mask} Daily reports of the accounts of a group
GET /api/v2/MT5/{tradePlatform}/DailyRequestLightByGroup/{mask} Lightweight daily reports of the accounts of a group
POST /api/v2/MT5/{tradePlatform}/DailyRequestByLogins Daily reports of several accounts
POST /api/v2/MT5/{tradePlatform}/DailyRequestLightByLogins Lightweight daily reports of several accounts
GET /api/v2/MT5/{tradePlatform}/SummaryGetAll Summary of client and hedging positions for every symbol
GET /api/v2/MT5/{tradePlatform}/SummaryGet/{symbol} Summary of client and hedging positions for one symbol
GET /api/v2/MT5/{tradePlatform}/SummaryCurrency Summary currency of the trade server
POST /api/v2/MT5/{tradePlatform}/SummaryCurrency Set the summary currency of the trade server
GET /api/v2/MT5/{tradePlatform}/ExposureGetAll Exposure of the company for every asset
GET /api/v2/MT5/{tradePlatform}/ExposureGet/{symbol} Exposure of the company for one asset
GET /api/v2/MT5/{tradePlatform}/ExposureCurrency Currency of the net total of the exposure table
POST /api/v2/MT5/{tradePlatform}/ExposureCurrency Set the currency of the net total of the exposure table

MT5 v2 :: Subscriptions

POST /api/v2/MT5/{tradePlatform}/SubscriptionUpdate Update a subscription record
POST /api/v2/MT5/{tradePlatform}/SubscriptionUpdateBatch Update subscription records in bulk
POST /api/v2/MT5/{tradePlatform}/SubscriptionUpdateBatchArray Update subscription records in bulk (plain array form)
POST /api/v2/MT5/{tradePlatform}/SubscriptionDelete/{id} Delete a subscription record
POST /api/v2/MT5/{tradePlatform}/SubscriptionDeleteBatch Delete subscription records in bulk
GET /api/v2/MT5/{tradePlatform}/SubscriptionRequest/{login} Subscriptions of an account
GET /api/v2/MT5/{tradePlatform}/SubscriptionRequestByID/{id} Subscription record by identifier
GET /api/v2/MT5/{tradePlatform}/SubscriptionRequestByIDs Subscription records by identifiers
GET /api/v2/MT5/{tradePlatform}/SubscriptionRequestByLogins Subscriptions of several accounts
GET /api/v2/MT5/{tradePlatform}/SubscriptionRequestByGroup/{mask} Subscriptions of the accounts of a group
POST /api/v2/MT5/{tradePlatform}/SubscriptionJoin Subscribe an account to a subscription configuration
POST /api/v2/MT5/{tradePlatform}/SubscriptionJoinBatch Subscribe several accounts to subscription configurations
POST /api/v2/MT5/{tradePlatform}/SubscriptionCancel Cancel a subscription of an account
POST /api/v2/MT5/{tradePlatform}/SubscriptionCancelBatch Cancel subscriptions of several accounts
POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryUpdate Update a subscription action record
POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryUpdateBatch Update subscription action records in bulk
POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryUpdateBatchArray Update subscription action records in bulk (plain array form)
POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryDelete/{id} Delete a subscription action record
POST /api/v2/MT5/{tradePlatform}/SubscriptionHistoryDeleteBatch Delete subscription action records in bulk
GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequest/{login} Subscription actions of an account for a period
GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequestByID/{id} Subscription action record by identifier
GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequestByIDs Subscription action records by identifiers
GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequestByLogins Subscription actions of several accounts for a period
GET /api/v2/MT5/{tradePlatform}/SubscriptionHistoryRequestByGroup/{mask} Subscription actions of the accounts of a group for a period
GET /api/v2/MT5/{tradePlatform}/SubscriptionCfgGet/{name} Subscription configuration by name, from the streamed copy
GET /api/v2/MT5/{tradePlatform}/SubscriptionCfgGetByID/{id} Subscription configuration by identifier, from the streamed copy
GET /api/v2/MT5/{tradePlatform}/SubscriptionCfgRequest/{name} Subscription configuration by name, from the server
GET /api/v2/MT5/{tradePlatform}/SubscriptionCfgRequestByID/{id} Subscription configuration by identifier, from the server

MT5 v2 :: Symbols

GET /api/v2/MT5/{tradePlatform}/SymbolGet/{symbol} Get a symbol by name
PATCH /api/v2/MT5/{tradePlatform}/SymbolRecord/{symbol} Partially update a symbol
POST /api/v2/MT5/{tradePlatform}/SymbolUpdate/{symbol} Update a symbol

MT5 v2 :: Trade Operations

POST /api/v2/MT5/{tradePlatform}/DealerStart Open the queue of trade requests for dealing
POST /api/v2/MT5/{tradePlatform}/DealerStop Close the queue of trade requests
POST /api/v2/MT5/{tradePlatform}/DealerGet Take the first request of the queue for processing
POST /api/v2/MT5/{tradePlatform}/DealerLock/{id} Take a request with the given identifier for processing
POST /api/v2/MT5/{tradePlatform}/DealerAnswer Answer the trade request taken for processing
GET /api/v2/MT5/{tradePlatform}/RequestGet/{id} Get a trade request by identifier
GET /api/v2/MT5/{tradePlatform}/RequestGetAll List the trade requests waiting in the queue
POST /api/v2/MT5/{tradePlatform}/TradeAccountSet Bring orders, positions and balance of an account in line with an external system
POST /api/v2/MT5/{tradePlatform}/TradeProfit Calculate the profit of a position
POST /api/v2/MT5/{tradePlatform}/TradeProfitExt Calculate the profit of a position with extended volume accuracy
POST /api/v2/MT5/{tradePlatform}/TradeMarginCheck Check whether an account has the margin an order requires
POST /api/v2/MT5/{tradePlatform}/TradeMarginCheckExt Check the margin of an order with extended volume accuracy
POST /api/v2/MT5/{tradePlatform}/TradeRateBuy Calculate the rate of buying a currency for another one
POST /api/v2/MT5/{tradePlatform}/TradeRateSell Calculate the rate of selling a currency for another one

MT5 v2 :: Trades

GET /api/v2/MT5/{tradePlatform}/PositionRequestByGroup/{mask} List positions by group
GET /api/v2/MT5/{tradePlatform}/OrderGetByGroup/{mask} List orders by group
GET /api/v2/MT5/{tradePlatform}/DealRequestByGroup/{mask} List deals by group
GET /api/v2/MT5/{tradePlatform}/DealRequest/{login} Deals history by a login
GET /api/v2/MT5/{tradePlatform}/DealRequestByGroupSymbol/{mask}/{symbol} Deals by a user group mask and symbol
GET /api/v2/MT5/{tradePlatform}/DealRequestByTickets Deals by a list of tickets
POST /api/v2/MT5/{tradePlatform}/DealRequestByTickets Deals by a list of tickets sent in the request body
GET /api/v2/MT5/{tradePlatform}/DealRequestByLogins Deals by a list of logins
GET /api/v2/MT5/{tradePlatform}/DealRequestByTicket/{ticket} Deal by a ticket
POST /api/v2/MT5/{tradePlatform}/DealUpdate Update a deal
POST /api/v2/MT5/{tradePlatform}/DealDeleteBatch Delete deals in bulk
GET /api/v2/MT5/{tradePlatform}/PositionGet/{login} Open positions by a login
GET /api/v2/MT5/{tradePlatform}/PositionGetByLogins Open positions by a list of logins
GET /api/v2/MT5/{tradePlatform}/PositionGetByTickets Open positions by a list of tickets
GET /api/v2/MT5/{tradePlatform}/PositionGetBySymbol/{mask}/{symbol} Open positions by a user group mask and symbol
POST /api/v2/MT5/{tradePlatform}/PositionDeleteBatch Delete positions in bulk
GET /api/v2/MT5/{tradePlatform}/OrderRequestByGroup/{mask} List orders by group
GET /api/v2/MT5/{tradePlatform}/OrderGetBySymbol/{mask}/{symbol} List orders by symbol
GET /api/v2/MT5/{tradePlatform}/OrderRequestByGroupSymbol/{mask}/{symbol} List orders by group and symbol
POST /api/v2/MT5/{tradePlatform}/OrderDeleteBatch Delete several orders at once
GET /api/v2/MT5/{tradePlatform}/OrderGet/{ticket} Get an order by ticket
GET /api/v2/MT5/{tradePlatform}/OrderGetByLogins List orders by logins
GET /api/v2/MT5/{tradePlatform}/OrderGetByTickets List orders by tickets
POST /api/v2/MT5/{tradePlatform}/OrderRequestByTickets List orders by tickets (request body)
GET /api/v2/MT5/{tradePlatform}/HistoryRequest/{login} Order history of an account
GET /api/v2/MT5/{tradePlatform}/HistoryRequestByGroup/{mask} Order history by group
POST /api/v2/MT5/{tradePlatform}/HistoryRequestByTickets Order history by tickets (request body)

MT5 v2 :: Trading

POST /api/v2/MT5/{tradePlatform}/OrderAdd Add an order
POST /api/v2/MT5/{tradePlatform}/OrderAddBatch Add several orders
POST /api/v2/MT5/{tradePlatform}/OrderAddBatchArray Add several orders (plain array form)
POST /api/v2/MT5/{tradePlatform}/OrderUpdate Update an order
POST /api/v2/MT5/{tradePlatform}/OrderUpdateBatch Update several orders
POST /api/v2/MT5/{tradePlatform}/OrderUpdateBatchArray Update several orders (plain array form)
POST /api/v2/MT5/{tradePlatform}/OrderCancel/{ticket} Cancel an order
POST /api/v2/MT5/{tradePlatform}/OrderCancelBatch Cancel several orders
POST /api/v2/MT5/{tradePlatform}/OrderDelete/{ticket} Delete an order
GET /api/v2/MT5/{tradePlatform}/OrderGetOpen/{login} Open orders of an account, read from the cached copy
GET /api/v2/MT5/{tradePlatform}/OrderRequest/{ticket} Get an order from the server
GET /api/v2/MT5/{tradePlatform}/OrderRequestByLogins Orders of several accounts, read from the server
GET /api/v2/MT5/{tradePlatform}/OrderRequestByLoginsSymbol/{symbol} Orders of several accounts by symbol, read from the server
GET /api/v2/MT5/{tradePlatform}/OrderRequestOpen/{login} Pending orders of an account, read from the server
GET /api/v2/MT5/{tradePlatform}/HistoryRequestByGroupSymbol/{mask}/{symbol} Order history by group and symbol
GET /api/v2/MT5/{tradePlatform}/HistoryRequestByLogins Order history of several accounts
GET /api/v2/MT5/{tradePlatform}/HistoryRequestByLoginsSymbol/{symbol} Order history of several accounts by symbol
GET /api/v2/MT5/{tradePlatform}/HistoryRequestPage/{login} One page of the order history of an account
POST /api/v2/MT5/{tradePlatform}/PositionUpdate Update a position
POST /api/v2/MT5/{tradePlatform}/PositionUpdateBatch Update several positions
POST /api/v2/MT5/{tradePlatform}/PositionUpdateBatchArray Update several positions (plain array form)
POST /api/v2/MT5/{tradePlatform}/PositionSplit Split or consolidate positions
POST /api/v2/MT5/{tradePlatform}/PositionDeleteByTicket/{ticket} Delete a position by ticket
GET /api/v2/MT5/{tradePlatform}/PositionGetByGroup/{mask} Open positions of a group
GET /api/v2/MT5/{tradePlatform}/PositionGetByTicket/{ticket} Get a position by ticket
GET /api/v2/MT5/{tradePlatform}/PositionRequest/{login} Open positions of an account, read from the server
GET /api/v2/MT5/{tradePlatform}/PositionRequestByGroupSymbol/{mask}/{symbol} Open positions of a group and symbol, read from the server
GET /api/v2/MT5/{tradePlatform}/PositionRequestByLogins Open positions of several accounts, read from the server
GET /api/v2/MT5/{tradePlatform}/PositionRequestByLoginsSymbol/{symbol} Open positions of several accounts by symbol, read from the server
POST /api/v2/MT5/{tradePlatform}/PositionRequestByTickets Open positions by tickets (request body)
POST /api/v2/MT5/{tradePlatform}/DealAdd Add a deal
POST /api/v2/MT5/{tradePlatform}/DealAddBatch Add several deals
POST /api/v2/MT5/{tradePlatform}/DealAddBatchArray Add several deals (plain array form)
POST /api/v2/MT5/{tradePlatform}/DealPerform Perform a deal
POST /api/v2/MT5/{tradePlatform}/DealPerformBatch Perform several deals
POST /api/v2/MT5/{tradePlatform}/DealPerformBatchArray Perform several deals (plain array form)
POST /api/v2/MT5/{tradePlatform}/DealUpdateBatch Update several deals
POST /api/v2/MT5/{tradePlatform}/DealUpdateBatchArray Update several deals (plain array form)
POST /api/v2/MT5/{tradePlatform}/DealDelete/{ticket} Delete a deal
GET /api/v2/MT5/{tradePlatform}/DealRequestByLoginsSymbol/{symbol} Deals of several accounts by symbol
GET /api/v2/MT5/{tradePlatform}/DealRequestPage/{login} One page of the deal history of an account

MT5 v2 :: Users

GET /api/v2/MT5/{tradePlatform}/UserGet/{login} Get a user by login
PATCH /api/v2/MT5/{tradePlatform}/UserRecord/{login} Partially update a user
POST /api/v2/MT5/{tradePlatform}/UserUpdate Update a user record
POST /api/v2/MT5/{tradePlatform}/UserAdd Create a user account
GET /api/v2/MT5/{tradePlatform}/UserRequest/{login} Read a user from the trade server
GET /api/v2/MT5/{tradePlatform}/UserAccountGet/{login} Read the account state from the cached copy
GET /api/v2/MT5/{tradePlatform}/UserGetByLogins Read several users from the cached copy by logins
GET /api/v2/MT5/{tradePlatform}/UserGetByGroup/{mask} Read users of a group mask from the cached copy
GET /api/v2/MT5/{tradePlatform}/UserAccountRequest/{login} Read the account state from the trade server
POST /api/v2/MT5/{tradePlatform}/UserPasswordCheck/{login}/{type} Check a user password
POST /api/v2/MT5/{tradePlatform}/UserPasswordChange/{login}/{type} Change a user password
POST /api/v2/MT5/{tradePlatform}/UserDelete/{login} Delete a user
GET /api/v2/MT5/{tradePlatform}/UserCertGet/{login} Read the certificate of an account
POST /api/v2/MT5/{tradePlatform}/UserCertUpdate/{login} Install or replace the certificate of an account
POST /api/v2/MT5/{tradePlatform}/UserCertDelete/{login} Reset the certificate of an account
POST /api/v2/MT5/{tradePlatform}/UserCertConfirm/{login} Confirm the certificate of an account
GET /api/v2/MT5/{tradePlatform}/UserExternalGet/{account} Read an account by its number in an external trading system, from the cached copy
GET /api/v2/MT5/{tradePlatform}/UserExternalRequest/{account} Read an account by its number in an external trading system, from the trade server
POST /api/v2/MT5/{tradePlatform}/UserExternalSync/{login} Synchronize an account with an external trading system
POST /api/v2/MT5/{tradePlatform}/UserBalanceCheck/{login} Check the balance and credit of an account against its deals history
POST /api/v2/MT5/{tradePlatform}/UserBalanceCheckBatch Check the balance and credit of several accounts against their deals history
POST /api/v2/MT5/{tradePlatform}/UserDeleteBatch Remove several accounts
POST /api/v2/MT5/{tradePlatform}/UserUpdateBatch Change several accounts
POST /api/v2/MT5/{tradePlatform}/UserUpdateBatchArray Change several accounts, submitted as separate records
GET /api/v2/MT5/{tradePlatform}/UserAccountGetByGroup/{mask} Read the trading state of a group of accounts from the cached copy
GET /api/v2/MT5/{tradePlatform}/UserAccountGetByLogins Read the trading state of several accounts from the cached copy
GET /api/v2/MT5/{tradePlatform}/UserAccountRequestArray/{group} Request the trading state of a group of accounts from the trade server
GET /api/v2/MT5/{tradePlatform}/UserAccountRequestByLogins Request the trading state of several accounts from the trade server
GET /api/v2/MT5/{tradePlatform}/UserRequestArray/{group} Request the records of a group of accounts from the trade server
GET /api/v2/MT5/{tradePlatform}/UserRequestByLogins Request the records of several accounts from the trade server
GET /api/v2/MT5/{tradePlatform}/UserLogins/{group} List the logins of a group
GET /api/v2/MT5/{tradePlatform}/UserGroup/{login} Read the group of an account
POST /api/v2/MT5/{tradePlatform}/EmailSend Send an email from one of the mail configurations of the trade server
POST /api/v2/MT5/{tradePlatform}/MessengerSend Send an SMS through the messenger integration of the trade server
POST /api/v2/MT5/{tradePlatform}/MessengerVerifyPhone Validate a phone number against the local numbering rules
POST /api/v2/MT5/{tradePlatform}/NotificationsSend Send a push notification to mobile terminals