Overview
The Bayse Markets WebSocket API provides real-time streaming data for market activity, price changes, order book updates, and live asset prices. Base URL:wss://socket.bayse.markets
Endpoints
| Endpoint | Auth | Description |
|---|---|---|
/ws/v1/markets | None | Market activity feeds, price updates, and order book snapshots. |
/ws/v1/realtime | None | Live asset prices (crypto and FX). |
Quick example
Connect to the markets endpoint and subscribe to price updates:The server may batch multiple JSON messages into a single WebSocket frame separated by newlines. Always split on
\n before parsing. See Connection for details.Next steps
Connection
Message format, keepalive, and reconnection.
Market data
Activity feeds, price updates, and order book snapshots.
Asset prices
Live crypto and FX price feeds.
Errors
Error handling and rate limits.