Skip to main content
Stream live market data instead of polling. Nexus exposes a SockJS + STOMP WebSocket at /ws/market that relays token prices, DEX swaps, and dApp blueprint events. Market-data topics broadcast on a 10 second interval, so a subscriber receives a current snapshot on subscribe and then a push every 10 seconds rather than one message per on-chain event. There are two ways to get WebSocket access:
  1. Included with your plan. Scale, Enterprise, and Unlimited plans include streaming using the plan’s own connection and message limits. (Builder and Growth do not include WebSocket access by default.)
  2. A WebSocket package, attached per API key, which adds streaming to a plan that doesn’t include it or overrides the per-key limits:
Enterprise includes WebSocket Unlimited. Plan access and per-key packages are managed from your account.

Connecting

  • Endpoint: wss://nexus.gerowallet.io/ws/market (SockJS)
  • Protocol: STOMP
  • Auth: API key via ?access_token=nxs_… query parameter or Authorization: Bearer nxs_… header
Access is checked at connection time. Connections without an allowed package/tier are rejected during the handshake; exceeding your concurrent-connection or monthly-message quota caps or closes the connection.

Topics

Subscribe to these STOMP destinations (server → client): Client → server control:

Example

Each delivered message counts toward your package’s monthly message quota. Subscribe only to the tokens/feeds you need; use /app/market/unsubscribe when you no longer need a per-token stream.