Expand description
§Deriv API Schema
Auto-generated Rust types for the Deriv API. These types are generated from the official API documentation.
This crate provides strongly typed request and response structures for all API endpoints.
Structs§
- Account
Item - Account
List Item - Account
List Request - Returns all accounts belonging to the authorized user.
- Account
List Response - Returns all accounts belonging to the authorized user.
- Active
Symbol Item - The information about each symbol.
- Active
Symbols Request - Retrieve a list of all currently active symbols (underlying markets upon which contracts are available for trading).
- Active
Symbols Response - A message containing the list of active symbols.
- Additional
- Additional information required by the document type.
- Address
- POA authentication status details.
- After
First Deposit Requirements - After first deposit requirements
- ApiToken
Request - This call manages API tokens
- ApiToken
Response - The result of the API token request made.
- AppDelete
Request - The request for deleting an application.
- AppDelete
Response - The result of delete application request made.
- AppGet
- The information of the requested application.
- AppGet
Request - To get the information of the OAuth application specified by ‘app_id’
- AppGet
Response - A message with requested application details
- AppList
Item - AppList
Request - List all of the account’s OAuth applications
- AppList
Response - A message with created applications
- AppMarkup
Details Request - Retrieve details of
app_markup
according to criteria specified. - AppMarkup
Details Response - Per transaction reporting of app_markup
- AppMarkup
Statistics Request - Retrieve statistics of
app_markup
. - AppMarkup
Statistics Response - Per application reporting of app_markup
- AppRegister
Request - Register a new OAuth application
- AppRegister
Response - A message with created application details
- AppUpdate
- Information of the updated application.
- AppUpdate
Request - Update a new OAuth application
- AppUpdate
Response - A message with created application
- Asset
Index Request - Retrieve a list of all available underlyings and the corresponding contract types and duration boundaries. If the user is logged in, only the assets available for that user’s landing company will be returned.
- Asset
Index Response - A message with Asset Index
- Authorize
- Account information for the holder of the token.
- Authorize
Request - Authorize current WebSocket session to act on behalf of the owner of a given token. Must precede requests that need to access client account, for example purchasing and selling contracts or viewing portfolio.
- Authorize
Response - A message containing account information for the holder of that token.
- Available
Item - Available
Service Item - Balance
Request - Get user account balance
- Balance
Response - Return details of user account balance
- Buy
- Receipt confirmation for the purchase
- BuyContract
ForMultiple Accounts - Receipt confirmation for the purchase
- BuyContract
ForMultiple Accounts Request - Buy a Contract for multiple Accounts specified by the
tokens
parameter. Note, although this is an authorized call, the contract is not bought for the authorized account. - BuyContract
ForMultiple Accounts Response - A message with transaction results is received
- BuyRequest
- Buy a Contract
- BuyResponse
- A message with transaction results is received
- Cancel
- Receipt for the transaction
- Cancel
Request - Cancel contract with contract id
- Cancel
Response - A message with transaction results is received
- Candle
Item - Cashier
OneOf Sub1 - Response for type `api’.
- Cashier
Request - Request the cashier info for the specified type.
- Cashier
Response - Cashier information for the specified type.
- Client
KycStatus - [Optional] Pertains to client KYC. Returned only if the client fails to meet the requirements, including proof of identity (POI), validity of the tax identification number (TIN), and proof of address (POA).
- Client
KycStatus Requirements - [Optional] Pertains to client KYC. Returned only if the client fails to meet the requirements, including proof of identity (POI), validity of the tax identification number (TIN), and proof of address (POA).
- Common
Reporting Standard - Common Reporting Standard
- Compliance
Requirements - Compliance requirements
- Confirm
Email Request - Verifies the email for the user using verification code passed in the request object
- Confirm
Email Response - Confirm Email Response
- Contract
Update History Item - Contains the changed parameter.
- Contract
Update History Request - Request for contract update history.
- Contract
Update History Response - Contract update history status
- Contract
Update Request - Update a contract condition.
- Contract
Update Response - Contract update status
- Contracts
For - List of available contracts. Note: if the user is authenticated, then only contracts allowed under his account will be returned.
- Contracts
ForCompany Request - Get the list of currently available contracts for a given landing company.
- Contracts
ForCompany Response - Get the list of currently available contracts for a given landing company.
- Contracts
ForRequest - For a given symbol, get the list of currently available contracts, and the latest barrier and duration limits for each contract.
- Contracts
ForResponse - Get the list of currently available contracts
- Copy
Start Request - Start copy trader bets
- Copy
Start Response - A message with results is received
- Copy
Stop Request - Stop copy trader bets
- Copy
Stop Response - A message with results is received
- Copytrading
List Request - Retrieves a list of active copiers and/or traders for Copy Trading
- Copytrading
List Response - Details of copiers and/or traders for Copy Trading
- Copytrading
Statistics Request - Retrieve performance, trading, risk and copiers statistics of trader.
- Copytrading
Statistics Response - The statistics of the trader.
- Create
Item - Crypto
Config Request - The request for cryptocurrencies configuration.
- Crypto
Config Response - The response will display the configuration details related to cryptocurrencies
- Crypto
Estimations Request - Get the current estimations for cryptocurrencies. E.g. Withdrawal fee.
- Data
Item - Deposit
- [Optional] Result for
deposit
action. - Details
- Extra information about the error.
- Disclaimer
- Disclaimer configuration
- Document
Upload Request - Request KYC information from client
- Document
Upload Response - Receive details of uploaded authentication documents
- Duration
Item - Economic
Calendar Request - Specify a currency to receive a list of events related to that specific currency. For example, specifying USD will return a list of USD-related events. If the currency is omitted, you will receive a list for all currencies.
- Economic
Calendar Response - A list of economic events.
- Error
- Error in MT5 account details.
- Exchange
Rates Request - Retrieves the exchange rate from a base currency to a target currency supported by the system.
- Exchange
Rates Response - The exchange rate values from the specified base currency to the specified target currency supported by the system.
- Exchange
Verification Code Request - Verifies the code and returns a new code if verification is successful
- Exchange
Verification Code Response - Exchange Verification Code Response
- Feature
Flag - [Optional] Enable or disable one or multiple features.
- Financial
Assessment Questions Request - This call gets the financial assessment questionnaire structure, which defines the questions, possible answers, and flow logic for the financial assessment form.
- Financial
Assessment Questions Response - Returns the questionnaire structure defining the financial assessment questions and logic
- Forget
AllRequest - Immediately cancel the real-time streams of messages of given type.
- Forget
AllResponse - The result of forget all request made.
- Forget
Request - Immediately cancel the real-time stream of messages with a specific ID.
- Forget
Response - The result of forget request made.
- Forward
Starting Option Item - Geolocation
- Geographical location of the server.
- GetAccount
Status Request - Get Account Status
- GetAccount
Status Response - A message with Account Status
- GetFinancial
Assessment Request - This call gets the financial assessment details. The ‘financial assessment’ is a questionnaire that clients of certain Landing Companies need to complete, due to regulatory and KYC (know your client) requirements.
- GetFinancial
Assessment Response - This call gets the financial assessment details of client’s account.
- GetLimits
Request - Trading and Withdrawal Limits for a given user
- GetLimits
Response - Trading and Withdrawal Limits
- GetSelf
Exclusion Request - Allows users to exclude themselves from the website for certain periods of time, or to set limits on their trading activities. This facility is a regulatory requirement for certain Landing Companies.
- GetSelf
Exclusion Response - A message with User Self-Exclusion
- GetSettings
Request - Get User Settings (email, date of birth, address etc)
- GetSettings
Response - A message with User Settings
- GetThird
Party Redirect Request - Get Third Party Redirect URL for sso login.
- GetThird
Party Redirect Response - The result for Third Party Redirect URL for sso login.
- History
- Historic tick data for a given symbol. Note: this will always return the latest possible set of ticks with accordance to the parameters specified.
- Identity
- POI authentication status details.
- Identity
Verification Document AddRequest - Adds document information such as issuing country, id and type for identity verification processes.
- Identity
Verification Document AddResponse - Adds document information such as issuing country, id and type for identity verification processes.
- Jurisdiction
Risk Assessment - Jurisdiction Risk Assessment
- KycAuth
Status OneOf Sub0 - Proof of Identity (POI) and Proof of Address (POA) authentication status details.
- KycAuth
Status OneOf Sub1 Value - KycAuth
Status Request - Get KYC Authentication Status
- KycAuth
Status Response - A message with KYC Authentication Status.
- Landing
Company Details Request - The company has a number of licensed subsidiaries in various jurisdictions, which are called Landing Companies (and which are wholly owned subsidiaries of the Deriv Group). This call provides information about each Landing Company.
- Landing
Company Details Response - A message with Landing Company.
- Landing
Company Info - Landing
Company Request - The company has a number of licensed subsidiaries in various jurisdictions, which are called Landing Companies. This call will return the appropriate Landing Company for clients of a given country. The landing company may differ for derived contracts (Synthetic Indices) and Financial contracts (Forex, Stock Indices, Commodities).
- Landing
Company Response - Returns the Landing Company for clients of a given country.
- Last
Rejected - Details on the rejected POA attempt.
- Legal
Requirements - Legal requirements for the Landing Company
- Limit
Order - Specify limit order to update.
- Linked
ToItem - List
Item - Login
History Item - User login history
- Login
History Request - Retrieve a summary of login history for user.
- Login
History Response - Recent login/logout history records
- Logout
Request - Logout the session
- Logout
Response - The response of logout request made.
- Market
Item - Mt5Deposit
Request - This call allows deposit into MT5 account from Binary account.
- Mt5Deposit
Response - The result of MT5 deposit request.
- Mt5Get
Settings Request - Get MT5 user account settings
- Mt5Get
Settings Response - Get MT5 user settings
- Mt5Login
List Item - Mt5Login
List Request - Get list of MT5 accounts for client
- Mt5Login
List Response - Get list of MT5 accounts for client.
- Mt5New
Account Request - This call creates new MT5 user, either demo or real money user.
- Mt5New
Account Response - Create MT5 account Receive
- Mt5Password
Change Request - To change passwords of the MT5 account.
- Mt5Password
Change Response - MT5 user password change receive
- Mt5Password
Check Request - This call validates the main password for the MT5 user
- Mt5Password
Check Response - MT5 user password check receive
- Mt5Password
Reset Request - To reset the password of MT5 account.
- Mt5Password
Reset Response - MT5 user password reset receive
- Mt5Withdrawal
Request - This call allows withdrawal from MT5 account to Binary account.
- Mt5Withdrawal
Response - The result of MT5 withdrawal request made.
- NewAccount
Maltainvest Request - This call opens a new real-money account with the
maltainvest
Landing Company. This call can be made from a virtual-money account or real-money account at Deriv (Europe) Limited. If it is the latter, client information fields in this call will be ignored and data from your existing real-money account will be used. - NewAccount
Maltainvest Response - Create maltainvest account Receive
- NewAccount
Real Request - This call opens a new real-money account. This call can be made from a virtual-money or a real-money account. If it is the latter, client information fields in this call will be ignored and data from your existing real-money account will be used.
- NewAccount
Real Response - Create real account Receive
- NewAccount
Virtual Request - Create a new virtual-money account.
- NewAccount
Virtual Response - Create virtual-money account
- NewPartner
Account Request - This call opens a new Real-Partner Account
- NewPartner
Account Response - Create real partner account - Receive
- NonParticipating
Jurisdictions - NPJ configuration
- Oauth
AppItem - Oauth
Apps Request - List all my used OAuth applications.
- Oauth
Apps Response - A message with used applications
- Ohlc
- Historic tick data for a given symbol. Note: this will always return the latest possible set of ticks with accordance to the parameters specified.
- P2pAdvert
Create Request - Creates a P2P (Peer to Peer) advert. Can only be used by an approved P2P advertiser.
- P2pAdvert
Create Response - Returns the information of the created P2P (Peer to Peer) advert.
- P2pAdvert
Info Request - Retrieve information about a P2P advert.
- P2pAdvert
Info Response - Returns information about the given advert ID.
- P2pAdvert
List Request - Returns available adverts for use with
p2p_order_create
. - P2pAdvert
List Response - Available adverts matching the requested criteria.
- P2pAdvert
Update Request - Updates a P2P advert. Can only be used by the advertiser.
- P2pAdvert
Update Response - Returns information about the updated advert.
- P2pAdvertiser
Adverts Request - Returns all P2P adverts created by the authorized client. Can only be used by a registered P2P advertiser.
- P2pAdvertiser
Adverts Response - All adverts belonging to the current advertiser.
- P2pAdvertiser
Create Request - Registers the client as a P2P advertiser.
- P2pAdvertiser
Create Response - Returns information of the created advertiser.
- P2pAdvertiser
Info Request - Retrieve information about a P2P advertiser.
- P2pAdvertiser
Info Response - Returns information about the given advertiser ID.
- P2pAdvertiser
List Request - Retrieve advertisers has/had trade with the current advertiser.
- P2pAdvertiser
List Response - Retrieve advertisers has/had trade with the current advertiser.
- P2pAdvertiser
Relations Request - Updates and returns favourite and blocked advertisers of the current user.
- P2pAdvertiser
Relations Response - Returns information about favourite and blocked advertisers.
- P2pAdvertiser
Update Request - Update the information of the P2P advertiser for the current account. Can only be used by an approved P2P advertiser.
- P2pAdvertiser
Update Response - Returns latest information of the advertiser.
- P2pChat
Create Request - Creates a P2P chat for the specified order.
- P2pChat
Create Response - Information of the created P2P chat.
- P2pCountry
List Request - List all or specific country and its payment methods.
- P2pCountry
List Response - List all or specific country and its payment methods.
- P2pOrder
Cancel Request - Cancel a P2P order.
- P2pOrder
Cancel Response - Result of the P2P order cancellation.
- P2pOrder
Confirm Request - Confirm a P2P order.
- P2pOrder
Confirm Response - Result of the P2P order confirmation.
- P2pOrder
Create Request - Creates a P2P order for the specified advert.
- P2pOrder
Create Response - The information about the created P2P order.
- P2pOrder
Dispute Request - Dispute a P2P order.
- P2pOrder
Dispute Response - Result of the P2P order disputing.
- P2pOrder
Info Request - Retrieves the information about a P2P order.
- P2pOrder
Info Response - Information of the P2P order.
- P2pOrder
List Request - List active orders.
- P2pOrder
List Response - All orders matching the requested criteria.
- P2pOrder
Review Request - Creates a review for the specified order.
- P2pOrder
Review Response - Response for creating a P2P order review.
- P2pPayment
Methods Request - List all P2P payment methods.
- P2pPayment
Methods Response - List all P2P payment methods.
- P2pPing
Request - Keeps the connection alive and updates the P2P advertiser’s online status. The advertiser will be considered offline 60 seconds after a call is made.
- P2pPing
Response - The response of P2P ping request.
- P2pSettings
Request - Request P2P Settings information.
- P2pSettings
Response - Information of the P2P settings.
- Parameters
- [Optional] Used to pass the parameters for contract buy.
- Partner
Account Creation Request - This call initiates the state machine for account creation process
- Partner
Account Creation Response - Create partner accounts - Receive
- Partner
Account Creation Status Request - This call polls the state machine and returns the completion status for each step.
- Partner
Account Creation Status Response - A response message containing the status of partner account creation process
- Partner
Accounts Request - Get All Partner Accounts (Partner account details like website, provider, company details)
- Partner
Accounts Response - Get All Partner Accounts (Partner account details like website, provider, company details)
- Partner
Settings Request - Get Partner Settings (Partner Type, Company Details etc)
- Partner
Settings Response - Get Partner Settings (Partner Type, Company Details etc)
- Partner
Settings Update Request - A message with Partner Settings
- Partner
Settings Update Response - A message with Partner Settings
- Payment
Method Item - A payment method suported for the given country
- Payment
Methods Request - Will return a list payment methods available for the given country. If the request is authenticated the client’s residence country will be used.
- Payment
Methods Response - List of available payment methods for a given country.
- Paymentagent
Create Request - Saves client’s payment agent details.
- Paymentagent
Create Response - Sets client’s payment agent details.
- Paymentagent
Details Request - Gets client’s payment agent details.
- Paymentagent
Details Response - Gets client’s payment agent details.
- Paymentagent
List - Payment Agent List
- Paymentagent
List Request - Will return a list of Payment Agents for a given country for a given currency. Payment agents allow users to deposit and withdraw funds using local payment methods that might not be available via the main website’s cashier system.
- Paymentagent
List Response - A message with Payment Agent List
- Paymentagent
Transfer Request - Payment Agent Transfer - this call is available only to accounts that are approved Payment Agents.
- Paymentagent
Transfer Response - The result of transfer request made.
- Paymentagent
Withdraw Justification Request - Provide justification to perform withdrawal using a Payment Agent.
- Paymentagent
Withdraw Justification Response - The result of payment agent withdrawal justification request made.
- Paymentagent
Withdraw Request - Initiate a withdrawal to an approved Payment Agent.
- Paymentagent
Withdraw Response - The result of payment agent withdrawal request made.
- Payout
Currencies Request - Retrieve a list of available option payout currencies. If a user is logged in, only the currencies available for the account will be returned.
- Payout
Currencies Response - List of available payout currencies.
- Phone
Number Item - Ping
Request - To send the ping request to the server. Mostly used to test the connection or to keep it alive.
- Ping
Response - The response of ping request.
- Portfolio
Request - Receive information about my current portfolio of outstanding options
- Portfolio
Response - Receive a list of outstanding options in the user’s portfolio
- Postcode
- Postcode configuration
- Profit
Table Request - Retrieve a summary of account Profit Table, according to given search criteria
- Profit
Table Response - A summary of account profit table is received
- Proof
OfOwnership - [Optional] It contains info about the proof of ownership being uploaded (mandatory for proof_of_ownership document type)
- Proposal
Open Contract Request - Get latest price (and other information) for a contract in the user’s portfolio
- Proposal
Open Contract Response - Latest price and other details for an open contract in the user’s portfolio
- Proposal
Request - Gets latest price for a specific contract.
- Proposal
Response - Latest price and other details for a given contract
- Reality
Check Request - Retrieve summary of client’s trades and account for the Reality Check facility. A ‘reality check’ means a display of time elapsed since the session began, and associated client profit/loss. The Reality Check facility is a regulatory requirement for certain landing companies.
- Reality
Check Response - This gives summary of client’s trades and account for reality check
- Residence
List Item - Residence
List Request - This call returns a list of countries and 2-letter country codes, suitable for populating the account opening form.
- Residence
List Response - A message with Residence List
- Result
Item AnyOf Sub0 - Receipt for one contract
- Result
Item AnyOf Sub1 - Error message
- Revoke
Oauth AppRequest - Used for revoking access of particular app.
- Revoke
Oauth AppResponse - A message with revoking a used application
- Rights
- Rights assigned to the MT5 account.
- Risk
Level - Risk level configuration
- Schedule
Item - Periods of availabily. A null value will clear the existing schedule.
- Sell
- Receipt for the transaction
- Sell
Contract ForMultiple Accounts Request - Sell contracts for multiple accounts simultaneously. Uses the shortcode response from
buy_contract_for_multiple_accounts
to identify the contract, and authorisation tokens to select which accounts to sell those contracts on. Note that only the accounts identified by the tokens will be affected. This will not sell the contract on the currently-authorised account unless you include the token for the current account. - Sell
Contract ForMultiple Accounts Response - Confirmation of the sale status for the selected contracts and accounts.
- Sell
Expired Request - This call will try to sell any expired contracts and return the number of sold contracts.
- Sell
Expired Response - The result of sell expired contract
- Sell
Request - Sell a Contract as identified from a previous
portfolio
call. - Sell
Response - A message with transaction results is received
- Server
Info - Trade server information.
- SetAccount
Currency Request - Set account currency, this will be default currency for your account i.e currency for trading, deposit. Please note that account currency can only be set once, and then can never be changed.
- SetAccount
Currency Response - Status of set account currency call
- SetFinancial
Assessment Response - Set Financial Assessment Receive
- SetSelf
Exclusion Request - Set Self-Exclusion (this call should be used in conjunction with
get_self_exclusion
) - SetSelf
Exclusion Response - A message with User Self-Exclusion
- SetSettings
Request - Set User Settings (this call should be used in conjunction with
get_settings
) - SetSettings
Response - A message with User Settings
- Statement
Request - Retrieve a summary of account transactions, according to given search criteria
- Statement
Response - A summary of account statement is received
- States
List Item - States
List Request - For a given country, returns a list of States of that country. This is useful to populate the account opening form.
- States
List Response - A message with States List
- Submarket
- The submarket in which the underlyings listed in
symbol
located. - Submarket
Item - Subscription
- For subscription requests only.
- Supported
Document Item - Supported
Payment Method Item - Symbol
Item - Tax
- Tax configuration
- Tick
- Tick by tick list of streamed data
- Ticks
Batch Item - Ticks
Batch Request - Initiate a continuous stream of spot price updates for a group symbols.
- Ticks
Batch Response - Latest spot price for a group symbols. Continuous responses with a frequency of up to one second.
- Ticks
History Request - Get historic tick data for a given symbol.
- Ticks
History Response - Historic tick data for a single symbol
- Ticks
Request - Initiate a continuous stream of spot price updates for a given symbol.
- Ticks
Response - Latest spot price for a given symbol. Continuous responses with a frequency of up to one second.
- Time
Request - Request back-end server epoch time.
- Time
Response - The result of server time request.
- TinValidations
Request - Get the validations for Tax Identification Numbers (TIN)
- TinValidations
Response - A message with validations for Tax Identification Numbers (TIN)
- TncApproval
Request - To approve the latest version of terms and conditions.
- TncApproval
Response - The result of T&C approval request.
- Topup
Virtual Request - When a virtual-money’s account balance becomes low, it can be topped up using this call.
- Topup
Virtual Response - The result of virtual money top up
- Trade
Duration Item - Trade
Type - List of trade types available for the symbols.
- Trading
Duration Item - Trading
Durations Request - Retrieve a list of all available underlyings and the corresponding contract types and trading duration boundaries. If the user is logged in, only the assets available for that user’s landing company will be returned.
- Trading
Durations Response - A message with trading duration information for symbol and contract combinations.
- Trading
Platform Investor Password Reset Request - Reset the investor password of a Trading Platform Account
- Trading
Platform Investor Password Reset Response - The result of the Trading Platform investor password reset.
- Trading
Platform Password Reset Request - Reset the password of a Trading Platform Account
- Trading
Platform Password Reset Response - The result of the Trading Platform password reset.
- Trading
Platform Status Request - Request trading platform status
- Trading
Platform Status Response - Provides current suspension status of trading platforms
- Trading
Server Item - Trading
Servers Request - Get the list of servers for a trading platform.
- Trading
Servers Response - Get list of servers for the platform provided.
- Trading
Times - The trading times structure is a hierarchy as follows: Market -> SubMarket -> Underlyings
- Trading
Times Request - Receive a list of market opening times for a given date.
- Trading
Times Response - A message with Trading Times
- Transaction
Request - Subscribe to transaction notifications
- Transaction
Response - Return transaction updates
- Transfer
Between Accounts Request - This call allows transfers between accounts held by a given user. Transfer funds between your fiat and cryptocurrency accounts (for a fee). Please note that account_from should be same as current authorized account.
- Transfer
Between Accounts Response - The result of transfer order.
- Turnover
- Turnover configuration
- Unsubscribe
Email Request - It unsubscribe user from the email subscription.
- Unsubscribe
Email Response - The result of the unsubscribe email request.
- UrlItem
- UrlParameters
- [Optional] Extra parameters that can be attached to the verify email link URL.
- Verify
Email Request - Verify an email address for various purposes. The system will send an email to the address containing a security code for verification.
- Verify
Email Response - Verify Email Receive
- Website
Config Request - Request server config.
- Website
Config Response - All config related settings.
- Website
Status Request - Request server status.
- Website
Status Response - Server status alongside general settings like call limits, currencies information, supported languages, etc.
- White
Label Links - Links to access MT5 application for different platforms.
- Withdraw
OneOf Sub0 - Result for withdraw operation.
- Withdraw
OneOf Sub1 - Result for
dry_run
validation.
Enums§
- Accept
Risk - Show whether client has accepted risk disclaimer.
- Account
Category - Category of the account.
- Account
List - Must be
1
- Account
Opening Reason - [Optional] Purpose and reason for requesting the account opening.
- Account
Opening Self Declaration Required - Flag which indicates whether self declaration is required for account opening
- Account
Turnover - [Optional] The anticipated account turnover.
- Account
Type - Type of the account.
- Accounts
- [Optional] To control the list of accounts returned when
account_from
oraccount_to
is not provided.brief
(default value) means that accounts withmt5
account_type will be excluded; it will run faster.all
means that all accounts with any account_type (includingmt5
) will be returned. - Action
- Type of operation, which is requested.
- Action
Type - [Optional] To filter the statement according to the type of transaction.
- Active
Symbols - If you use
brief
, only a subset of fields will be returned. - AddTo
Login History - [Optional] Send this when you use api tokens for authorization and want to track activity using
login_history
call. - Adjust
Start Time - [Optional] 1 - if the market is closed at the end time, or license limit is before end time, adjust interval backwards to compensate.
- Allow
Copiers - [Optional] Boolean value 1 or 0, indicating permission to allow others to follow your trades. Note: not applicable for Virtual account. Only allow for real money account.
- Allow
Forward Starting 1
if the symbol is tradable in a forward starting contract,0
if not.- ApiToken
- Must be
1
- AppList
- Must be
1
- AppMarkup
Details - Must be
1
- AppMarkup
Statistics - Must be
1
- AppRegister
- Must be
1
- Asset
Index - Must be
1
- Balance
- Must be
1
- Barrier
Category Item - Barrier
Range - [Optional] Barrier range for callputspread.
- Basis
- [Optional] Indicate whether amount is ‘payout’ or ‘stake’.
- Block
Trade - [Optional] Indicates if this is block trade ad or not. Default: 0.
- Cashier
- Operation which needs to be requested from cashier
- CfdExperience
- How much experience do you have in CFD trading?
- CfdFrequency
- How many CFD trades have you placed in the past 12 months?
- CfdTrading
Definition - In your understanding, CFD trading allows you to:
- Client
Type - [Optional] Indicates whether this is for a client requesting an account with professional status.
- Code
OfConduct Approval - Indicates client’s agreement with the Code of Conduct.
- Confirm
Email - Must be
1
- Contract
Type - A valid contract-type
- Contract
Type Item - Contract
Update - Must be
1
- Contract
Update History - Must be
1
- Contracts
ForCompany - Must be
1
- Copytrading
List - Must be
1
- Copytrading
Statistics - Must be
1
- Counterparty
Type - [Optional] Filter the adverts by
counterparty_type
. - Created
For - [Optional] Purpose of the email verification. If set to ‘account_opening’, the API will only return the verification response without updating the user’s email verification status.
- Crypto
Config - Must be
1
- Crypto
Estimations - Must be
1
- Delete
- [Optional] If set to 1, permanently deletes the advert.
- Demo
Account - 0 for real accounts; 1 for virtual/demo accounts.
- Description
- [Optional] If set to 1, will return full contracts description.
- Disabled
- Flag to represent if this server is currently disabled or not
- Dispute
Reason - The predefined dispute reason
- Document
Format - Document file format
- Document
Type - Document type
- Document
Upload - Must be
1
- DryRun
- [Optional] If set to
1
, only validation is performed. Only applicable forwithdraw
usingcrypto
provider andapi
type. - Duration
Unit - [Optional] Duration unit is
s
: seconds,m
: minutes,h
: hours,d
: days,t
: ticks - Dxtrade
User Exception - Boolean value 1 or 0, indicating if user email belong to dxtrade exception list.
- Economic
Calendar - Must be
1
- Email
Consent - [Optional] Boolean value 1 or 0, indicating permission to use email address for any contact which may include marketing
- Email
Unsubscribe Status 1
: email notification unsubscribed sucssesfully,0
: failed to unsubscribed email notification- Environment
- The environment. E.g. Deriv-Server.
- Exchange
IsOpen 1
if market is currently open,0
if closed.- Exchange
Rates - Must be
1
- Exchange
Verification Code - Must be
1
- Fatca
Declaration - [Optional] Indicates client’s self-declaration of FATCA.
- Favourites
Only - [Optional] Only show adverts from favourite advertisers. Default is 0.
- Financial
Assessment Questions - Must be
1
- Forget
- If set to 1, stream exited and stopped. If set to 0, stream did not exist.
- GetAccount
Status - Must be
1
- GetFinancial
Assessment - Must be
1
- GetLimits
- Must be
1
- GetSelf
Exclusion - Must be
1
- GetSettings
- Must be
1
- GetThird
Party Redirect - Must be
1
- Granularity
- [Optional] Only applicable for style:
candles
. Candle time-dimension width setting. (default:60
). - HasReality
Check - Flag to indicate whether reality check is applicable for this Landing Company.
1
: applicable,0
: not applicable. The Reality Check is a feature that gives a summary of the client’s trades and account balances on a regular basis throughout his session, and is a regulatory requirement for certain Landing Companies. - Hide
Client Schedule Unavailable - [Optional] If set to 1, adverts for which the current user’s shcedule does not have availability from now until the full possible order expiry are not returned.
- Hide
Ineligible - [Optional] If set to 1, adverts for which the current user does not meet counteryparty terms are not returned.
- Id
- Server unique id.
- Identity
Verification Document Add - Must be
1
- Include
Spread - [Optional] 1 - Request for ask and bid rates along with the spot rate. Only available if target_currency is provided.
- IsActive
- [Optional] Activate or deactivate the advert.
- IsBlocked
- [Optional] Used to return only blocked or unblocked partners
- IsDisabled
- Boolean value: 1 or 0, indicating whether the account is marked as disabled or not.
- IsListed
- [Optional] Used to set if the advertiser’s adverts could be listed. When
0
, adverts won’t be listed regardless of they are active or not. This doesn’t change theis_active
of each individual advert. - IsTrading
Suspended 1
indicates that trading is currently suspended,0
if not.- IsVirtual
- Boolean value: 1 or 0, indicating whether the account is a virtual-money account.
- KycAuth
Status - Must be
1
- Landing
Companie Item - Landing
Company - [Optional] Indicates which landing company to get a list of contracts for. If you are logged in, your account’s landing company will override this field.
- Landing
Company Details - Landing company shortcode.
- Landing
Company Short - [Optional] If specified, will return only the underlyings for the specified landing company.
- Leverage
Impact Trading - How does leverage affect CFD trading?
- Leverage
Trading High Risk Stop Loss - Leverage trading is high-risk, so it’s a good idea to use risk management features such as stop loss. Stop loss allows you to
- Lifetime
Valid - [Optional] Boolean value that indicates whether this document is lifetime valid (only applies to POI document types, cancels out the expiration_date given if any)
- Login
History - Must be
1
- Logout
- Must be
1
- Market
- The short market name.
- Market
Type - Market type of account.
- MsgType
- Action name of the request made.
- Mt5Account
Category - [Optional] To choose whether account is conventional or swap_free. Unavailable for financial_stp MT5_account_type
- Mt5Account
Type - [Optional] Financial: Variable spreads, High leverage. Financial STP: Variable spreads, Medium Leverage, more products. If ‘account_type’ set to ‘financial’, setting ‘mt5_account_type’ is also required.
- Mt5Deposit
- Must be
1
- Mt5Get
Settings - Must be
1
- Mt5Login
List - Must be
1
- Mt5New
Account - Must be
1
- Mt5Password
Change - Must be
1
- Mt5Password
Check - Must be
1
- Mt5Password
Reset - Must be
1
- Mt5Withdrawal
- Must be
1
- Name
- The name of third party platform for redirect URL.
- NewAccount
Maltainvest - Must be
1
- NewAccount
Real - Must be
1
- NewAccount
Virtual - Must be
1
- NewPartner
Account - Must be
1
- NewToken
Scope Item - Required when create new token
- NonPep
Declaration - [Optional] Indicates client’s self-declaration of not being a PEP/RCA (Politically Exposed Person/Relatives and Close Associates). Effective for real accounts only.
- Oauth
Apps - Must be
1
- Official
- Boolean value: 1 or 0, indicating 1 if app is an official app and 0 incase of unofficial app
- P2pAdvert
Create - Must be 1
- P2pAdvert
Info - Must be 1
- P2pAdvert
List - Must be 1
- P2pAdvert
Update - Must be 1
- P2pAdvertiser
Adverts - Must be 1
- P2pAdvertiser
Create - Must be 1
- P2pAdvertiser
Info - Must be 1
- P2pAdvertiser
List - Must be 1
- P2pAdvertiser
Payment Methods - Must be 1
- P2pAdvertiser
Relations - Must be 1
- P2pAdvertiser
Update - Must be 1
- P2pChat
Create - Must be 1
- P2pCountry
List - Must be 1
- P2pOrder
Cancel - Must be 1
- P2pOrder
Confirm - Must be 1
- P2pOrder
Create - Must be 1
- P2pOrder
Dispute - Must be 1
- P2pOrder
Info - Must be 1
- P2pOrder
List - Must be 1
- P2pOrder
Review - Must be 1
- P2pPayment
Methods - Must be 1
- P2pPing
- Must be
1
- P2pSettings
- Must be
1
- Page
Type - [Optional] To determine document side
- Partner
Account Creation - Must be
1
- Partner
Account Creation Status - Must be
1
- Partner
Accounts - Must be
1
- Partner
Settings - Must be
1
- Partner
Settings Update - Must be
1
- Partner
Signup - Flag which indicates whether partner signup is available in this country
- Partner
Type - Defines whether this partner is an individual or a company. Only applicable for partners
- Password
Type - [Optional] Type of the password to reset.
- Payment
Methods - Must be
1
- Paymentagent
Create - Must be 1
- Paymentagent
Details - Must be 1
- Paymentagent
Transfer - Must be
1
- Paymentagent
Withdraw - Must be
1
- Paymentagent
Withdraw Justification - Must be
1
- Payout
Currencies - Must be
1
- Ping
- Must be
1
- Platform
- Name of trading platform.
- PoaStatus
- Status of proof of address (POA).
- PoiStatus
- Status of proof of identity (POI).
- Portfolio
- Must be
1
- Product
- Product name that Deriv offer
- Product
Type - [Optional] The product type.
- Profit
Table - Must be
1
- Proposal
- Must be
1
- Proposal
Open Contract - Must be
1
- Provider
- [Optional] Cashier provider.
- Query
Item - Keys that you need back in response.
- Rate
Type - Type of rate, fixed or floating.
- Reality
Check - Must be
1
- Recommended
- Flag to represent if this is server is recommended based on client’s country of residence.
- Request
Professional Status - [Optional] Required when client wants to be treated as professional. Applicable for financial accounts only.
- Required
Initial Margin - When would you be required to pay an initial margin?
- Residence
List - Must be
1
- Resident
Self Declaration - [Optional] Indicates client’s self declaration for opening account under own initiative, must be 1
- Risk
Classification - Risk classification of the client.
- Risk
Tolerance - Do you understand that you could potentially lose 100% of the money you use to trade?
- Salutation
- Accept any value in enum list.
- Scope
Item - Secret
Question - [Optional] Accept any value in enum list. Required for new account and existing client details will be used if client open another account.
- Sell
Contract ForMultiple Accounts - Must be
1
- Sell
Expired - Must be
1
- Service
- Service used for the current POI status.
- SetAccount
Currency 1
: success,0
: no change- SetFinancial
Assessment - Must be
1
- SetSelf
Exclusion - Must be
1
- SetSettings
- Must be
1
- Show
Name - [Optional] When
1
, the advertiser’s real name will be displayed on to other users on adverts and orders. - Signup
Device - [Optional] Show whether user has used mobile or desktop.
- Sort
- [Optional] Sort direction on
transaction_time
. Other fields sort order is ASC. - SortBy
- [Optional] How the results are sorted.
- Sort
Field Item - Source
OfExperience - How much knowledge and experience do you have in relation to online trading?
- Statement
- Must be
1
- Status
- Current POA status.
- Status
Code - The status code of the withdrawal.
- Style
- [Optional] The tick-output style.
- SubAccount
Category - Sub account category refer to the additional risk management
- SubAccount
Type - Sub account type
- Subscribe
- [Optional] If set to 1, will send updates whenever there is an update to the order.
- Support
Professional Client - Flag that indicates whether the landing company supports professional accounts or not
- Ticks
Batch - Must be
1
- Time
- Must be
1
- TinNot
Mandatory - Flag that indicates whether tax identifier number is not mandatory for the current country and landing company.
- TinSkipped
- [Optional] Whether the client has skipped the TIN form. Only applicable for real money account.
- TinValidations
- Must be
1
- TncAcceptance
- The tnc acceptance status of the user.
- TncApproval
- Set terms and conditions 1: success
- Topup
Virtual - Must be
1
- Trade
Partners - [Optional] Get all advertisers has/had trade.
- Trade
Risk Profile - [Only for Snowball] The trade risk profile for the Snowball contract. Higher risk profile offers higher coupon rate at the expense of higher probability of breaching caution price
- Trading
Durations - Must be
1
- Trading
Experience Financial Instruments - How much experience do you have with other financial instruments?
- Trading
Frequency Financial Instruments - How many trades have you placed with other financial instruments in the past 12 months?
- Trading
Hub - [Optional] Enable/Disable Trading Hub dashboard
- Trading
Platform Investor Password Reset - Must be
1
- Trading
Platform Password Reset - If set to 1, the investor password has been reset.
- Trading
Platform Status - Must be
1
- Trading
Servers - Must be
1
- Transaction
- Must be
1
- Transfer
Between Accounts - If
account_from
oraccount_to
is not provided, it just returns the available accounts. - Transfers
- Type of transfers allowed between the account and the currently authorized account.
- Type
- The advertisement represents the intention to perform this action on your Deriv account funds.
- Unsubscribe
Email - Must be
1
- Upgrade
Limits - [Optional] Used to upgrade daily limits of eligible advertiser.
- UseClient
Limits - [Optional] If set to 1, ads that exceed this account’s balance or turnover limits will not be shown.
- Valid
ForCurrent IpOnly - [Optional] If you set this parameter during token creation, then the token created will only work for the IP address that was used to create the token
- Valid
Tin - Indicates whether the tax identification number (TIN) is valid (1) or not (0).
- Verify
Email - 1 for success (secure code has been sent to the email address)
- Wallet
- [Optional] Boolean value 1 or 0 indicating whether to enable/disable this feature
- Wallet
Signup - Flag which indicates whether wallet signup is available in this country
- Website
Config - Must be
1
- Website
Status - Must be
1