Endpoint
Connect towss://stream.cabalspy.xyz.
Authentication
Provide your API key as a query parameter, wss://stream.cabalspy.xyz?apiKey=YOUR_KEY, or as a header, Authorization: Bearer YOUR_KEY. Invalid keys are closed with code 1008.Subscribe
To start receiving data, send a subscribe message after the connection opens. You choose which token to watch.Subscribe to one token
string
required
The operation. Use subscribe to start.
string
required
Set to bundle for this stream.
string
required
Which token to watch. Either a token mint address for one token, or ”*” for all tracked tokens. A single mint also returns a starting snapshot of its bundles.
string
default:"full"
How much you want to receive. See the modes below.
integer
Optional. Only used with mode full. See the modes below.
Choosing a mode
The mode decides whether you also receive live price driven updates, not just detection and trade events. This is the main control over how many messages, and how many credits, you use.
With mode full you can slow down the market cap updates to save credits. Set mc_interval to a number of seconds from 1 to 30, and you get at most one price update per token in that window. Leave mc_interval out to get every update live.
Full, but at most one price update every 5 seconds
Events only, no price updates at all
Unsubscribe and other operations
To stop receiving a token, send the same token with op unsubscribe.Unsubscribe
List your subscriptions
Events
init on subscribe to a concrete token, then kol_bundle as bundles change.string
init or kol_bundle.
object

