Account setup
This section will guide you through creating your Deriv account and seamlessly registering your application.
Create a Deriv account
- Visit https://api.deriv.com/
- Click Sign Up on the top right corner of the page.
- Provide your Email Address, create a strong Password, and select your Country.
- Check your inbox for a verification email and click the link to confirm your account.
- Log in after verification and add additional information, such as your Full Name, Date of Birth, and Phone Number, to complete your profile.
Tips:
- Never share the token publicly
- You can revoke or delete tokens anytime in the Manage Tokens tab.
- You can also create API tokens directly through the Deriv API using OAuth2. This method is useful for scripts or applications that create programmatic tokens.
Register your Deriv application
- Open the Dashboard and select the Register Application tab.
- Choose the API Token you want to use.
- Provide a Name for your application.
- Add the Markup fee.
Note:
Markup is the commission added to the trade price to earn additional income. More details on markup calculation are available here.
- Fill in OAuth details:
- Redirect URL: This URL enables your users to log in to your app using their Deriv accounts without an API token.
- Verification URL: Used for email verification. If provided, the URL with the verification token is sent to the userβs email; otherwise, the Redirect URL is used.
For example, if your domain is<https://example.com>
and your authorisation and authentication are handled byverfiy
, your URLs will be:
https://example.com/verify
- Select the authorization scope and click Create.
Your app will now be available under the Manage Applications tab.
Create a Deriv API token
- Go to your account settings.
- Click API Token on the left pane.
- Choose the desired access level (scopes):
- Read: Allows reading market data and account info, but not trading.
- Trade: Grants full access to trade and manage funds and sensitive data.
- Payments: Allows withdrawal to payment agents and makes inter-account transfers.
- Trading Information: Allows reading trading history.
- Admin: Allows opening accounts, managing settings and token usage, and more.
Not Recommended
Admin Scope provides extensive access to all account functions, making it potentially dangerous if misused. Only select this option if absolutely necessary and ensure the token is handled securely.
- Enter a descriptive name for the token
- Click Create to generate the token
- You can find the token listed below.
Updated 8 days ago