Skip to main content
Authentication is required only for the private WebSocket endpoint. Ekiden supports two authentication methods:
  • JWT Access Token — recommended for authenticated user sessions.
  • API Key — recommended for server-side applications, trading bots, and automated integrations.

JWT Authentication

Authenticate by sending an Auth message.
See the Auth message in the Private WebSocket Reference for the complete request and response schema.

API Key Authentication

Unlike the REST API, WebSocket API key authentication uses a dedicated signing payload. Signing payload

Validation Rules

See the AuthApiKey message in the Private WebSocket Reference for the complete request format and response schema.