# \#api

**URL:** https://community.deriv.com/tag/api/57.md

[Latest](https://community.deriv.com/latest.md) · [Categories](https://community.deriv.com/categories.md) · [Tags](https://community.deriv.com/tags.md)

---

## [Free python digit even / odd scripts](https://community.deriv.com/t/free-python-digit-even-odd-scripts/88830)

<div class="topic-metadata">

**Author:** [@banting-airside-2](https://community.deriv.com/u/banting-airside-2)\
**Replies:** 0\
**Last updated:** [November 24, 2025, 2:15pm UTC](https://community.deriv.com/t/free-python-digit-even-odd-scripts/88830 "2025-11-24T14:15:05Z")

</div>

I’ve been building a few Python-based tools and automated strategies for Deriv, and I decided to make some of them available on my site for anyone who wants to explore or learn from them. A couple are free to try, and th…

---

## [missing deriv indices on the API](https://community.deriv.com/t/missing-deriv-indices-on-the-api/88788)

<div class="topic-metadata">

**Author:** [@allying-adzukis-2](https://community.deriv.com/u/allying-adzukis-2)\
**Replies:** 0\
**Last updated:** [November 6, 2025, 8:53am UTC](https://community.deriv.com/t/missing-deriv-indices-on-the-api/88788 "2025-11-06T08:53:15Z")

</div>

hello good people, i have encountered a problem with deriv api/websockets i’m currently using const allowedMarkets = new Set(\[‘synthetic\_index’, ‘forex’, ‘commodities’, ‘indices’, ‘cryptocurrency’, ‘basket\_index’, ‘der…

---

## [Know your trade Options: Vanilla Options](https://community.deriv.com/t/know-your-trade-options-vanilla-options/88353)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [July 15, 2025, 11:02am UTC](https://community.deriv.com/t/know-your-trade-options-vanilla-options/88353 "2025-07-15T11:02:31Z")

</div>

Hi Deriv Community, Looking to offer more trading strategies through your app? Vanilla Options give users a way to: ● Choose available strike prices ● Trade with “Call” or “Put” contracts ● Earn based on how much th…

---

## [Know your trade Options: Turbo Options](https://community.deriv.com/t/know-your-trade-options-turbo-options/88318)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [July 8, 2025, 6:33am UTC](https://community.deriv.com/t/know-your-trade-options-turbo-options/88318 "2025-07-08T06:33:41Z")

</div>

Hi Deriv Community, Turbo Options give you defined outcomes based on your selected barrier and direction — with no payout if the barrier is breached. Here’s how they work: Choose Up or Down No payout if breached Earl…

---

## [Know your trade Options: Accumulator Options](https://community.deriv.com/t/know-your-trade-options-accumulator-options/88215)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [June 10, 2025, 8:30am UTC](https://community.deriv.com/t/know-your-trade-options-accumulator-options/88215 "2025-06-10T08:30:26Z")

</div>

Hi Deriv Community, Building compounding payout logic into your app? Accumulator Options let you define a growth rate and grow payouts each tick the market price stays within a set range. Here’s what you can build with…

---

## [Understanding APIs](https://community.deriv.com/t/understanding-apis/87895)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 2\
**Last updated:** [June 7, 2025, 7:49am UTC](https://community.deriv.com/t/understanding-apis/87895 "2025-06-07T07:49:48Z")

</div>

Hi Deriv Community, Let’s talk about WebSockets — the core of the Deriv API. They enable real-time communication, making trading apps faster and more responsive. Whether you need one-time data or continuous updates, the…

---

## [Know your trade Options: Digital Options](https://community.deriv.com/t/know-your-trade-options-digital-options/88196)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [June 3, 2025, 7:03am UTC](https://community.deriv.com/t/know-your-trade-options-digital-options/88196 "2025-06-03T07:03:43Z")

</div>

Hi Deriv Community, Want to build fixed-payout trades into your app using a unified flow? Digital Options let users trade on two possible outcomes across a wide variety of contract types. Here’s what you can build with…

---

## [How to use OAuth](https://community.deriv.com/t/how-to-use-oauth/88178)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [May 27, 2025, 11:44am UTC](https://community.deriv.com/t/how-to-use-oauth/88178 "2025-05-27T11:44:25Z")

</div>

Hi Deriv Community, OAuth lets users connect their Deriv accounts to your app securely and conveniently — no need for login credentials or API tokens. Here’s a quick look at how to set it up: ● Specify the OAuth redir…

---

## [Keep Connection Live](https://community.deriv.com/t/keep-connection-live/88171)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [May 22, 2025, 7:09am UTC](https://community.deriv.com/t/keep-connection-live/88171 "2025-05-22T07:09:08Z")

</div>

Hi Deriv Community, Ever had your WebSocket connection drop when your app sits idle for too long? There’s a simple way to keep the connection live without constantly sending data. Our latest guide walks you through an…

---

## [Check website status](https://community.deriv.com/t/check-website-status/88144)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [May 13, 2025, 1:28pm UTC](https://community.deriv.com/t/check-website-status/88144 "2025-05-13T13:28:06Z")

</div>

Hi Deriv Community, Need a quick check-in before your app kicks off API requests? The website\_status request helps you: ● Stay within call limits ● Load up the right currencies ● Get supported languages ● Grab gene…

---

## [Account APIs](https://community.deriv.com/t/account-apis/87916)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 2\
**Last updated:** [May 6, 2025, 1:29pm UTC](https://community.deriv.com/t/account-apis/87916 "2025-05-06T13:29:16Z")

</div>

Hi Deriv Community, Managing accounts just got easier with our account APIs. They’re designed to help you take control of user accounts, settings, and security. Here’s a quick look at what’s possible: Authorise sessi…

---

## [Get contracts for a symbol](https://community.deriv.com/t/get-contracts-for-a-symbol/88130)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [May 6, 2025, 1:07pm UTC](https://community.deriv.com/t/get-contracts-for-a-symbol/88130 "2025-05-06T13:07:40Z")

</div>

Hi Deriv Community, Want to request available contracts for a trading symbol using WebSocket? Our latest guide walks you through: ● How to send a contracts\_for request ● How to find the latest contract barrier and dur…

---

## [Market Data APIs](https://community.deriv.com/t/market-data-apis/88105)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [April 29, 2025, 12:24pm UTC](https://community.deriv.com/t/market-data-apis/88105 "2025-04-29T12:24:30Z")

</div>

Hi Deriv Community, Whether you’re building charts, analysing trends, or streaming live prices, Market Data APIs give you the data you need. Here’s what you can do: :small\_orange\_diamond: Retrieve active symbols …

---

## [Functions of API Calls](https://community.deriv.com/t/functions-of-api-calls/88089)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [April 22, 2025, 10:04am UTC](https://community.deriv.com/t/functions-of-api-calls/88089 "2025-04-22T10:04:19Z")

</div>

Hi Deriv Community, Understanding how to build and send calls is key to making the most of Deriv APIs. Here’s what our latest guide covers: :puzzle\_piece: How API call structures work :hammer\_and\_wrench: The differen…

---

## [WebSocket Integration in Deriv APIs](https://community.deriv.com/t/websocket-integration-in-deriv-apis/88062)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [April 10, 2025, 6:58am UTC](https://community.deriv.com/t/websocket-integration-in-deriv-apis/88062 "2025-04-10T06:58:12Z")

</div>

Hi Deriv Community, Using WebSockets for real-time market data? Make sure your integration is efficient and stable by understanding: How to connect with the base endpoint Rate limits and session validity How to create…

---

## [A quick guide to Deriv Cashier APIs](https://community.deriv.com/t/a-quick-guide-to-deriv-cashier-apis/88007)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [March 25, 2025, 8:21am UTC](https://community.deriv.com/t/a-quick-guide-to-deriv-cashier-apis/88007 "2025-03-25T08:21:58Z")

</div>

Hi Deriv Community, Managing funds within a trading platform requires the right tools. With Deriv Cashier APIs, you can: :small\_blue\_diamond: Retrieve cashier details for account transactions :small\_blue\_diamond: Tran…

---

## [How to create Deriv accounts using APIs](https://community.deriv.com/t/how-to-create-deriv-accounts-using-apis/87991)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [March 19, 2025, 3:52am UTC](https://community.deriv.com/t/how-to-create-deriv-accounts-using-apis/87991 "2025-03-19T03:52:12Z")

</div>

Hi Deriv Community, Want to create a demo or real trading account using the Deriv API? It only takes a single request, but knowing exactly what to include is key. Here’s what you’ll find in our guide: …

---

## [A quick guide to utilites APIs](https://community.deriv.com/t/a-quick-guide-to-utilites-apis/87983)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [March 11, 2025, 6:38am UTC](https://community.deriv.com/t/a-quick-guide-to-utilites-apis/87983 "2025-03-11T06:38:52Z")

</div>

Hi Deriv Community, Data is key in trading, and Deriv’s utilities APIs provide essential information to keep your apps running smoothly. Whether you need to track economic events, check server status, or retrieve landin…

---

## [A quick guide to Deriv trading APIs](https://community.deriv.com/t/a-quick-guide-to-deriv-trading-apis/87974)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [March 5, 2025, 4:31am UTC](https://community.deriv.com/t/a-quick-guide-to-deriv-trading-apis/87974 "2025-03-05T04:31:54Z")

</div>

Hi Deriv Community, Looking to easily manage your contracts? Deriv’s trading APIs give you the power to: Buy, sell, and update contracts Manage copy trading activities Retrieve portfolio details, profit tables, and co…

---

## [Third-party App For Sale](https://community.deriv.com/t/third-party-app-for-sale/87910)

<div class="topic-metadata">

**Author:** [@catwood-afreets-2](https://community.deriv.com/u/catwood-afreets-2)\
**Replies:** 2\
**Last updated:** [March 2, 2025, 7:13pm UTC](https://community.deriv.com/t/third-party-app-for-sale/87910 "2025-03-02T19:13:12Z")

</div>

Hello community, I developed a platform that operates via API on synthetic indices, being able to operate on up to 10 volatilities AT THE SAME TIME. Integrated Virtual Loss System. You can easily create bots with the Blo…

---

## [Application APIs](https://community.deriv.com/t/application-apis/87944)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [February 25, 2025, 7:49am UTC](https://community.deriv.com/t/application-apis/87944 "2025-02-25T07:49:24Z")

</div>

Hi Deriv Community, If you’re integrating third-party apps with Deriv, managing OAuth applications is a must. Our application APIs give you the tools to: Register, update, and delete OAuth applications Retrieve usage …

---

## [🚀 Join the NexTrader Affiliate Program & Earn 50% Markup!](https://community.deriv.com/t/join-the-nextrader-affiliate-program-earn-50-markup/87934)

<div class="topic-metadata">

**Author:** [@barwing-ablauts-2](https://community.deriv.com/u/barwing-ablauts-2)\
**Replies:** 0\
**Last updated:** [February 22, 2025, 3:37am UTC](https://community.deriv.com/t/join-the-nextrader-affiliate-program-earn-50-markup/87934 "2025-02-22T03:37:59Z")

</div>

Hey Developers! :rocket: If you have a customer base but don’t know how to develop an app, we’ve got you covered! We have a built-in platform ready for you. :bulb: Want to make money effortlessly? Become a NexTrader…

---

## [Secure User Access with Deriv API](https://community.deriv.com/t/secure-user-access-with-deriv-api/87841)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 7:55am UTC](https://community.deriv.com/t/secure-user-access-with-deriv-api/87841 "2025-01-28T07:55:58Z")

</div>

Hi Deriv Community, Let’s talk about secure user access with Deriv APIs! When building with the Deriv API, authenticating and authorizing users is a key step. Our integration with OAuth and the WebSocket Server helps y…

---

## [OSError: \[WinError 121\] The semaphore timeout period has expired](https://community.deriv.com/t/oserror-winerror-121-the-semaphore-timeout-period-has-expired/87821)

<div class="topic-metadata">

**Author:** [@accuser-alcaide-2](https://community.deriv.com/u/accuser-alcaide-2)\
**Replies:** 0\
**Last updated:** [January 22, 2025, 10:31am UTC](https://community.deriv.com/t/oserror-winerror-121-the-semaphore-timeout-period-has-expired/87821 "2025-01-22T10:31:36Z")

</div>

Hello, how do i handle the above error. Thanks

---

## [Account Set Up](https://community.deriv.com/t/account-set-up/87820)

<div class="topic-metadata">

**Author:** [@Faazil\_deriv](https://community.deriv.com/u/Faazil_deriv)\
**Replies:** 0\
**Last updated:** [January 22, 2025, 6:43am UTC](https://community.deriv.com/t/account-set-up/87820 "2025-01-22T06:43:01Z")

</div>

Hi Deriv Community, If you’re ready to start building with the Deriv API, the first step is setting up your account. Here’s what you’ll need to do: Create your Deriv account: Sign up or log in to get access to the API…

---

## [Manage Deriv API: access on third-party applications and mobile apps](https://community.deriv.com/t/manage-deriv-api-access-on-third-party-applications-and-mobile-apps/29159)

<div class="topic-metadata">

**Author:** [@Deriv\_adminN3](https://community.deriv.com/u/Deriv_adminN3)\
**Replies:** 1\
**Last updated:** [April 9, 2024, 6:27pm UTC](https://community.deriv.com/t/manage-deriv-api-access-on-third-party-applications-and-mobile-apps/29159 "2024-04-09T18:27:38Z")

</div>

Hi Deriv Community! :wave: You may find this article regarding API tokens which is available in the settings section of your account. What is API? Application Programming Interface (API) is a technology that allows 2 o…

---

## [Create an API Token](https://community.deriv.com/t/create-an-api-token/50071)

<div class="topic-metadata">

**Author:** [@Paola](https://community.deriv.com/u/Paola)\
**Replies:** 2\
**Last updated:** [March 29, 2023, 2:12am UTC](https://community.deriv.com/t/create-an-api-token/50071 "2023-03-29T02:12:04Z")

</div>

Greetings Deriv Community, We would like to share that you can create an API token by clicking on the link: Deriv App | Deriv Give your token a name, select the scope, and click Create Here’s how you may gain benef…
