Authentication

All WebSocket feeds require authentication

Authentication commands should be JSON with the following properties:

PropertyTypeCommand

type

string

"authenticate"

apiKey

string

"<YOU-API-KEY>"

const authMessage = {
   type: 'authenticate',
   apiKey: '<API_KEY>',
}
ws.send(JSON.stringify(authMessage))

Last updated