Subscriptions

To interact with the subscription API, send websocket messages to WEBSOCKET [SUBSCRIPTIONS_ENDPOINT].

Subscription connections must set the Sec-WebSocket-Extensions header to include permessage-deflate.

Endpoints

Testnet:

  • wss://gateway.bartio-test.bro.trade/v1/ws

Mainnet:

  • wss://gateway.bera-prod.bro.trade/v1/ws

Note: You must send ping frames every 30 seconds to keep the websocket connection alive.

Last updated