Skip to main content
WSS
/
v1
/
ws
Messages
X-Api-Key
type:httpApiKey

Your Prism API key. You can get one for free in the Prism Dashboard.

Subscribe Wallets
type:object

Subscribe to profile updates for a list of wallets.

Unsubscribe Wallets
type:object

Unsubscribe from profile updates for a list of wallets.

Subscribe Tokens
type:object

Subscribe to profile updates for a list of tokens.

Unsubscribe Tokens
type:object

Unsubscribe from profile updates for a list of tokens.

Subscribe Positions
type:object

Subscribe to profile updates for a list of positions.

Unsubscribe Positions
type:object

Unsubscribe from profile updates for a list of positions.

Wallet Profile Message
type:object

Message containing the profile data for the subscribed wallets.

Token Profile Message
type:object

Message containing the profile data for the subscribed tokens.

Position Profile Message
type:object

Message containing the profile data for the subscribed positions.

To keep the connection alive, you need to send a ping message every less than 60 seconds.
You can subscribe and unsubscribe to any amount of topics you want on a single connection. Incoming messages will include a topic field that you can use to filter.
solana.dex.profile.wallet
solana.dex.profile.token
solana.dex.profile.position
solana.dex.swap.wallet
solana.dex.swap.token
solana.dex.trade.wallet
solana.dex.trade.token
solana.dex.price
When subscribing, you can leave the array field of the params object empty to subscribe to all entries.
When unsubscribing, you can leave the array field of the params object empty to unsubscribe from all entries.