Skip to main content

Connection

Connect to the WebSocket server at wss://ws.raze.bot/ws/sol with your API key as a query parameter. Endpoint: wss://ws.raze.bot/ws/sol — GeoDNS routes to the nearest region automatically.

JavaScript

Subscribe to Event Types

Listen for all deploys, trades, and alerts in real time.

Subscribe to Specific Mints

Track trades for specific token mint addresses.

Subscribe to Wallet Signers

Track all trades from specific wallets.

Combined Subscription

Subscribe to mints, signers, and event types in a single message.

Keep-Alive Ping

Send periodic pings to keep the connection alive.

Python

Subscribe to Event Types

Subscribe to Specific Mints

Subscribe to Wallet Signers

With Reconnection Logic


Subscription Types

Server Messages

unsubscribe requests are applied silently — the server does not send an acknowledgement frame. Do not block waiting for one.