Documentation
Advanced

Limits

Deriv rate limits the WebSocket and REST APIs to keep them responsive for everyone. This page explains how requests count towards those limits.

How limits work

The two APIs count requests differently. The WebSocket API groups calls into buckets. On the REST API, each request counts against the IP address it comes from and, once you are logged in, against your account as well.

WebSocket limits

The WebSocket API counts calls in three separate rate-limit buckets. Calls in the same bucket share a limit. The limits below are subject to change.

Within each app, each bucket is counted per authenticated user or, for unauthenticated connections, per client IP address.

Calls counted togetherWindowLimit
portfolioprofit_tablestatement1 minute30 requests
proposalproposal_open_contractbuysell1 minute80 requests
All other rate-limited calls, including balance and contracts_for1 minute220 requests

ticks_history also counts towards the same limit as portfolio, profit_table, and statement if its start or end date is more than 60 days old.

ping, forget, and forget_all are exempt from these buckets.

REST API limits

These limits apply to every REST endpoint. Each request counts against the IP address it comes from and, once you are logged in, against your account as well.

Counted againstWindowLimit
IP address1 minute300 requests
IP address10 minutes1,000 requests
Logged-in user1 minute80 requests

Once you are logged in, you reach the 80-per-minute account limit first. Spreading requests across several IP addresses does not raise it.

Contact [email protected] if you have questions about the limits that apply to your application.

Read the Best practices guide for the habits that keep you inside these limits: subscribe instead of polling, reuse one connection, pace your bursts, and back off after a rejected request.

We provide these limits for reference and reserve the right to change them at any time.

Click to open live chat support. Get instant help from our support team.