Broker API HubMenu

Broker API

Deriv API: questions and answers

8 questions about the Deriv API, each answered from the Deriv record on this site and nothing else. 1 rests on sources that conflict.

Independent and unofficialNewest check Official documentation

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

An answer here is the record's own wording, cut at the end of a sentence, or a list of names read from records. An answer that opens with the word Unverified has no dated source behind it. Where this page and the provider's own documentation differ, the documentation wins. Nothing here recommends a broker.

Deriv API questions

Does Deriv have an API?

Yes. This register records Deriv as having its own API (WebSocket and REST), with availability marked as active. Websocket first trading API with published per call budgets.

Deriv API: limitschecked Deriv API: authenticationchecked

The Deriv API record. The same question for every record.

Does Deriv have a demo or paper trading API?

Yes: the overview says each user gets a default demo account at signup, and there is a separate demo WebSocket endpoint.

Deriv API: API overviewchecked

The Deriv record's full wording. The same question for every record.

What are Deriv's API rate limits?

Sources conflict on this limit, and the rate limits page shows both readings. Headline limit: 80/min per logged in user (REST). Scope: user, REST.

Sources conflictdevelopers.deriv.comchecked

Deriv API rate limits in full, each with its scope. The same question for every record.

How do I authenticate with the Deriv API?

Two routes: an OAuth 2.0 app, or a Personal Access Token the user generates and pastes into the app. Either way the token is sent as a bearer token. With a Personal Access Token, REST requests also need a Deriv-App-ID header.

Deriv API: authenticationchecked

The Deriv record's full wording. The same question for every record.

Does Deriv support streaming or WebSocket prices?

WebSocket carries trading and market data, on a public endpoint and on demo and real endpoints opened with a one time password fetched over REST. Each connection can send 10 pings a second, outside the call budgets.

Deriv API: API overviewchecked Deriv API: limitschecked

The Deriv record's full wording. The same question for every record.

Is there an official Python library for Deriv?

The Deriv record marks one Python library as official: python-deriv-api.

python-deriv-apichecked

Every library in the Deriv record. The same question for every record.

Does Deriv have an MCP server?

The MCP server register on this site holds 1 server for Deriv. Published by the provider itself: Deriv hosted MCP (deriv-api-plugin).

Deriv hosted MCP (deriv-api-plugin)checked

The MCP server directory, with what each server can do. The same question for every record.

What does Deriv error Deriv-App-ID header is required for PAT tokens mean?

A REST request authenticated with a personal access token was sent without the Deriv-App-ID header. Deriv's page gives this as the message of the 401 response.

developers.deriv.comchecked

Deriv error Deriv-App-ID header is required for PAT tokens: the meaning in full and what to do. The same question for every record.

Where to go next

Other brokers

In order of name. The order is not a ranking.

Sections