Skip to main content
WSS
wss://raptor-beta.solanatracker.io
/
stream
/
swap
Messages
Subscribe to Swap Updates
type:object

Subscribe to real-time swap quotes with pre-built transactions for a token pair

Unsubscribe from Swap Updates
type:object

Unsubscribe from a specific swap subscription

Ping
type:object

Send a ping to keep the swap stream connection alive

Swap Update
type:object

Real-time swap quote with pre-built transaction, sent whenever pool states change

Swap Subscription Confirmation
type:object

Confirmation that a swap subscription was successfully created

Swap Unsubscription Confirmation
type:object

Confirmation that a swap subscription was removed

Pong Response
type:object

Response to a ping message on swap stream

Swap Error Response
type:object

Error message from the swap stream server