Saltar al contenido principal
WSS
wss://raptor.solanatracker.io/stream Cotizaciones en vivo de uno o más pares de tokens. Úsalo para mostrar precios. Para obtener una transacción, pasa una cotización a POST /swap o usa el stream de swap. Para suscribirte, envía { type: "subscribe", inputMint, outputMint, amount, ... }; para cancelar la suscripción, { type: "unsubscribe", id }. Para el latido, envía { type: "ping" } y el servidor responde { type: "pong" }. Recibes mensajes quote, subscribed, unsubscribed y error.
Subscribe to Quote Updates
type:object

Subscribe to real-time quote updates for a token pair

Unsubscribe from Quote Updates
type:object

Unsubscribe from a specific quote subscription

Ping
type:object

Send a ping to keep the connection alive

Quote Update
type:object

Real-time quote update for a subscribed token pair

Subscription Confirmation
type:object

Confirmation that a subscription was successfully created

Unsubscription Confirmation
type:object

Confirmation that a subscription was removed

Pong Response
type:object

Response to a ping message

Error Response
type:object

Error message from the server