🌎 Introduction

What is the websocket api?


The solanastreaming.com websocket api is primarily used for streaming data from the solana chain in real-time through a websocket. This api is for anyone wanting to gain real-time insight into things happening on the solana blockchain such as new raydium pairs created & swap notifications about price changes. We parse the blockchain data into more meaningful events like swaps and pairs, removing the legwork of manual parsing.

Key Highlights
  • Minimal lag: We listen to multiple grpc nodes, selecting the fastest for each event ensuring you're synced as fast as possible.
  • Easy Setup: Get connected in seconds with many example code snippets.
  • Cost Effective: Much cheaper than the next leading Solana brand for streaming all real-time data.
  • Developer Friendly: Get the data in plain JSON format. Easy to read and inspect.

The api can be accessed instantly by signing up for an api key in the dashboard.

All data is retrieved from the solana chain at commitment level confirmed. This allows for a fast response time but with reasonable confidence on being included in the chain. See more about commitment levels here

Get started by following one of our connection guides

Supported Dexs


Currently we support the following DEXs for new pairs and swaps:

  • Pump.fun
  • Raydium V4
  • Raydium CPMM
  • Pumpswap

Use Cases


  • Listen for new token trading pairs created on the solana chain
  • Listen for new pumpfun tokens
  • Listen for swap notifications for token price changes
  • Listen for swap notifications for automated market maker price changes
  • Listen for swap notifications for any whale transaction above a certian amount
  • Listen for swaps from specified wallet addresses
  • Listen to all swaps to evalulate market trends