Quickstart to Deriv API
Opening a connection
var ws = new WebSocket('wss://ws.binaryws.com/websockets/v3?app_id=XXX');
After opening a connection, you can send data through the WebSocket using
the method calls from our
Data transfer in both directions is handled by structured JSON-encoded data. All field name identifiers and most field values are double-quoted in the encoded data. Each message is a serialized JSON-encoded string.
You’ll get your app ID when you register your app with us.
To receive responses in other languages, add the language code to the connection URL:
var ws = new WebSocket('wss://ws.binaryws.com/websockets/v3?app_id=XXX&l=RU');