CRM Open API DocumentationCRM Open API Documentation
REST API
Webhooks
PSP Open API
External Exchange Rates
REST API
Webhooks
PSP Open API
External Exchange Rates
  • REST API Introduction
  • Authentication
  • Authentication V2
  • Clients API

    • Get List of Client
    • Get Client Information
    • Get Client Registration Details
    • Get Client KYC Details
    • Validate User's Credentials
    • Create Client
    • Get Uplines Information of client
    • Get Downlines Information of client
  • Leads API

    • Create Lead
  • Trading Servers Connections API

    • Get CRM Trading Platform Connections
  • MT4 API

    • Get MT4 Connection Information
    • Get MT4 Accounts
    • Create MT4 Account
    • Deposit into MT4 Account
    • Withdraw from MT4 Account
    • Get MT4 Trades
  • MT5 API

    • Get MT5 Connection Information
    • Get MT5 Accounts
    • Create MT5 Account
  • cTrader API

    • Get cTrader Connection Information
    • Get cTrader Accounts
  • Reports API

    • Get Fixed Commission Report
    • Get Flexible Commission Report
    • Get Transactions Report
  • Wallets API

    • Get Wallet Information
    • Update Wallet Balance
    • Get Update Wallet Balance Order status
  • Payments API

    • Get All Bankcards
  • Trading Competitions API

    • Get Trading Competition Leader Board
  • Requests API

    • Approve Withdrawal Requests
    • Reject Withdrawal Requests
  • Accounts API

    • Send Registration Request for OTP
    • Send Multi-Step Registration Request for Approval
  • Configurations API

    • Get Countries
    • Get States
    • Get Cities
  • Forms API

    • Get Trader Registration Form
    • Get User Kyc Form Collections
    • Get User Kyc Form
    • Get AWS S3 signature
  • TradingAccounts API

    • Get CRM Trading Account Types
  • Annex

    • Language Codes

Get MT4 Accounts

GET /public/v1/mt4/accounts

Query Parameters

KeyTypeRequiredRuleDescription
connection_idstringMandatoryminimum 0MT4 Server ID given by this API
skipnumberOptionalminimum 0 default 0the number of the records that is skipping from the full list
limitnumberOptionalminimum 0 maximum 500 default 10the number of records each page will show
user_idstringOptionallength 8filter accounts by user id

Expected HTTP status code

  • 200

Response

NameTypeDescription
countnumbertotal number of the list
recordsarraylist of accounts in array
records[].loginnumberaccount login
records[].groupstringaccount trade group on server
records[].currencystringaccount currency
records[].balancenumberaccount current balance
records[].creditnumberaccount credit
records[].available_withdrawalnumberaccount available balance, calculated using margin_free - credit
records[].balance_previous_monthnumberbalance as of the end of previous month
records[].balance_previous_daynumberbalance at the end of previous day
records[].leveragenumberleverage
records[].equitynumberequity
records[].margin_freenumbersize of free margin
records[].marginnumbersize of reserved margin
records[].margin_levelnumbermargin level
records[].created_atstringregistration date
records[].last_activestringtime of account's last access to trade server
records[].namestringname of account owner
records[].emailstringe-mail
records[].commentstringcomment of account
records[].agent_accountnumberagent account number
records[].lead_sourcestringutm_campaign= value set for desktop or mobile terminal download link used by client
records[].enablenumberflag of account activity (1 - active, 0 - not active)
records[].enable_readonlynumberflag of setting read-only mode without trading (1 - read-only mode on, 0 - read-only mode off)
records[].enable_change_passwordnumberflag of account's permission to change password (1 - password change allowed, 0 - password change prohibited)
records[].enable_otpnumberflag of permission to use one-time passwords (1 - OTP passwords use is allowed, 0 - OTP passwords use is prohibited)
records[].send_reportsnumberflag of generating daily reports (1 - reports are allowed, 0 - reports are prohibited)
records[].profitnumbercurrent (floating) profit for opened positions
records[].crm_userobjectaccount's CRM user information
records[].crm_user.idstringCRM user ID
records[].crm_user.emailstringCRM user's email
records[].crm_user.namestringCRM user's name
records[].crm_user.phone.numberstringCRM user's phone number
records[].crm_user.phone.country_codestringCRM user's phone country code
records[].crm_user.owner_idstringCRM user's owner's ID
records[].crm_user.owner_namestringCRM user's owner's name
records[].crm_user.referrer_idstringCRM user's referrer's ID
records[].crm_user.referrer_namestringCRM user's referrer's name
records[].crm_user.rank_idstringCRM user's rank ID
records[].crm_user.tierstringCRM user's tier

Error

CodeTypeDescription
400mt4_connection_not_foundCannot find connection from given connection_id
Last Updated:: 8/26/24, 7:57 AM
Prev
Get MT4 Connection Information
Next
Create MT4 Account