Skip to main content
Refer to API authentication for more details about how to sign the request with orderly-key and orderly-secret. The request method, request path, and request body are all blank. The message to sign is therefore just the timestamp. You can authenticate when creating the WebSocket connection by appending the authentication parameters to the subscription URL as query parameters. This eliminates the need to send a separate auth request. For example, wss://ws-private-evm.orderly.org/v2/ws/private/stream/0xd7379678a303b57d7d43eb23c64dd7528ac8cb4efe983a3aedcfe9b4aa4cb984?orderly_key=xxxxxxxx&timestamp=xxxxx&sign=xxxxx will authenticate the user when creating the connection, no need to send auth request again. Send timestamp as a JSON string in an auth message. Sign that exact decimal string and encode the signature as base64url. The example values below are placeholders; generate a fresh timestamp and signature for each authentication attempt.

Broker stream authentication

The Broker Data Stream uses the same timestamp-only Ed25519 signing scheme. For broker connections, follow that guide for the verified staging URL, URL parameter encoding, and AUTH message format. Use the configured broker admin account ID in the connection path and an Orderly Key associated with that account. Broker access must be enabled separately; an ordinary user’s credentials cannot select or access a broker’s user stream.