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.
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.
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.
Any other questions? Get in touch