Create account using API
Follow these simple steps to create demo and real accounts using the Deriv API:
Verify email
- Make a call to the verify_email endpoint.
- Set the
type
parameter toopening_account
to indicate you’re opening a new account. - You will receive an email containing a verification code at the email address provided in the API call. This code is required for the next steps.
Create a Demo Account
To create a demo account:
- Make a call to the new_account_virtual endpoint.
- Provide the following information:
- Residence: The 2-letter country code. You can obtain this from the
residence_list
call or refer to the list here. - Verification Code: The email verification code you received from the
verify_email
call above.
- Residence: The 2-letter country code. You can obtain this from the
A demo account will be created with a starting balance of USD 10,000.
Create a Real Account
To set up a real account, follow these steps after logging into your demo account:
For users in the EU: Use the new_account_maltainvest endpoint.
For users outside the EU:Use the new_account_real endpoint.
Provide the Following Details:
Residence: The 2-letter country code. Obtain this from the residence_list
call or check the list here
Currency: Set the currency for the account. You can find the list of supported currencies using the payout_currencies
call or view it here.
Once you complete these steps, you will have a real account ready for trading!
Earn with Deriv’s Affiliate Program
To start earning commissions by referring new users to Deriv, make sure to include your affiliate_token
in the API request when creating new accounts using the following endpoints:
- new_account_virtual
- new_account_real
- new_account_maltainvest
By using these APIs and your affiliate_token
, you'll ensure your referrals are tracked correctly, allowing you to earn commissions effortlessly.
Updated about 2 months ago