Skip to main content

Setting up a Deriv application

danger

For the reviewer, Links in this section will be provided in the future.

Deriv account

If you don't have a Deriv account yet, you can easily create one by visiting our signup page or using the new_account_virtual API call. It's completely free. And if you have an account already, please log in using your account details. To avoid any accidental loss of funds during testing, we recommend using your demo account instead of a real account.

To earn markup, get a Deriv real account to receive your monthly earnings. You can also create a real account using new_account_real or new_account_maltainvest API calls.

caution

To create Deriv applications, you'll need an API token with the Admin scope for the account you wish to use for your application.

How to create a Deriv API token

To create your API token, simply go to the Dashboard and select the Manage Tokens tab. From there, create a new token that matches the access level needed for your application's features.

To create a new API token, follow these steps:

  1. Select the scopes you need.
  2. Provide a name for your token
  3. Click Create

Alternatively, you can create an API token via the api_token API call.

caution

You need a token with the Admin scope to create an application.

How to create a Deriv application

To create your application with the appropriate configuration options, select the Register Application tab in the Dashboard. You can make changes to your application's configuration at anytime in the Manage Applications tab.

App information fieldDescription
AccountThe account you want to create the application with
API TokenThe API token you want to create the application with
App NameApplication name
MarkupThe commission added to the trade price to earn additional income
Authorisation URLThe URL that enables clients to log in to your app using their Deriv accounts without an API token
Verification URLThe OAuth redirect URL for the OAuth authorisation

To create an application, follow these steps:

  1. Select the account you want to create the application with.
  2. Select the API token added to your account ( it must have the `Admin` scope ).
  3. Provide a name for your application.
  4. Fill the Markup and OAuth details fields.
  5. Select the Authorisation Scopes needed by your application.
  6. Click Register Application.

Make sure the Authorisation and Verification URLs are correct based on your implementation.

For example, if your domain is https://example.com and your authorisation and authentication are handled by verfiy, your URLs will be:

https://example.com/verify