Skip to main content
WSS
wss://raptor.solanatracker.io/stream/swap Live quotes plus a ready-to-sign transaction for userPublicKey. Sign the latest swapTransaction and send it with POST /send-transaction. If nothing changes for 10 slots, the server re-sends a fresh transaction so the latest one does not expire.
Subscribe
type:object

Start receiving quotes and ready-to-sign transactions for a token pair

Unsubscribe
type:object

Stop a subscription

Ping
type:object

Keep the connection alive. The server answers with pong.

Subscribed
type:object

The subscription is active. Keep the id to match updates and to unsubscribe.

Swap
type:object

New best quote and a fresh unsigned transaction

Unsubscribed
type:object

The subscription has stopped

Pong
type:object

Answer to ping

Error
type:object

A request was rejected, or a subscription could not produce an update. id is set when the error belongs to a subscription.