// Deriv Third-Party Development & Resources Platform — independent, not affiliated with Deriv //

The technical core of this site

The Deriv API

How APIs work in general, what the Deriv API specifically offers, and a suggested path for learning to build with it.

API Fundamentals

An API (Application Programming Interface) is a defined way for one piece of software to ask another for data or actions, without needing to know how that other system works internally.

TermWhat it means
RequestA message sent asking an API to do or return something.
ResponseWhat the API sends back — data, confirmation, or an error.
EndpointA specific address or channel that handles one kind of request.
ParameterA value passed with a request to customise what it does.
JSONA lightweight text format used to structure request and response data.
AuthenticationProving who is making the request, usually with a token or API key.
AuthorizationDetermining what an authenticated request is allowed to do.
WebSocketA connection that stays open, allowing data to stream both ways in real time.
RESTA common API style built on individual request/response calls.
Rate LimitsCaps on how many requests can be made in a given period.
API ErrorsStructured responses explaining why a request failed.

The Deriv API

What Is the Deriv API?

A publicly documented WebSocket API that lets developers request market data, manage contracts and interact with Deriv accounts programmatically, with the account holder's authorisation.

Why Deriv Provides It

It lets independent developers build tools — bots, dashboards, charting apps — that extend the platform without Deriv building each one itself.

Value to Deriv

A broader ecosystem of tools built around the platform, driven by outside developers rather than internal resourcing alone.

Value to Developers

Direct, structured access to market data and account actions, instead of scraping a web interface.

API Architecture

Built on a persistent WebSocket connection, with structured JSON messages for each request type.

Authentication

Uses API tokens or an OAuth-style authorisation flow tied to a specific account and permission scope.

Data

Live and historical price ticks, contract details, account balances and transaction history, depending on scope.

Permissions & Limits

Tokens can be scoped to read-only or trading access, and requests are subject to rate limits like most public APIs.

In practice

A third-party app opens a WebSocket connection, authenticates with a token the user has granted, subscribes to the data it needs, and reacts to the stream of responses — that loop is the foundation of almost everything built on the Deriv API.

Learning Path

A sensible order to learn this in, if you're building your first Deriv-connected tool.

Beginner
▼
API Fundamentals
▼
JavaScript / Python
▼
WebSockets
▼
Deriv API
▼
Third-Party Applications
▼
Advanced Development