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 Prices
type:object

Subscribe to price updates for a list of tokens.

Unsubscribe Prices
type:object

Unsubscribe from price updates for a list of tokens.

Price Message
type:object

Message containing the price data for the subscribed tokens.

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.