Raydium is the largest AMM and liquidity provider on Solana. ChainStream provides full data coverage for Raydium trades and pools through REST API, GraphQL, WebSocket, and MCP Tools.
Supported operations : Trade analysis, liquidity pool monitoring, token price tracking, OHLCV data, holder analytics, and token creation via Raydium launchpad.
How do I get recent trades on Raydium?
REST API
GraphQL
MCP Tool
curl "https://api.chainstream.io/v2/trade/sol?limit=20" \
-H "X-API-KEY: your_api_key"
See Trade - List for full parameter reference. Query DEXTrades and filter by Raydium’s protocol name: query {
DEXTrades (
network : sol
limit : { count : 20 }
dexProgram : { is : "RAYDIUM_PROGRAM_ADDRESS" }
orderBy : Block_Time_DESC
) {
Block { Time Slot }
Transaction { Hash }
Trade {
Buy {
Currency { MintAddress }
Amount
PriceInUSD
Account { Owner }
}
Sell {
Currency { MintAddress }
Amount
}
Dex { ProgramAddress ProtocolName }
}
Pool { Address }
}
}
trade_get({ chain: "solana", limit: 20 })
How do I get the price of a token on Raydium?
REST API
GraphQL
MCP Tool
curl "https://api.chainstream.io/v2/token/sol/TOKEN_ADDRESS/price" \
-H "X-API-KEY: your_api_key"
See Token - Price for full reference. query {
DEXTrades (
network : sol
limit : { count : 1 }
tokenAddress : { is : "TOKEN_ADDRESS" }
where : { IsSuspect : { eq : false }}
orderBy : Block_Time_DESC
) {
Trade {
Buy { PriceInUSD PriceInNative }
}
Block { Time }
}
}
token_get_price({ chain: "solana", tokenAddress: "TOKEN_ADDRESS" })
How do I get liquidity pools for a token on Raydium?
REST API
GraphQL
MCP Tool
curl "https://api.chainstream.io/v2/token/sol/TOKEN_ADDRESS/pools" \
-H "X-API-KEY: your_api_key"
See Token - Pools for full reference. query {
DEXPools (
network : sol
limit : { count : 10 }
tokenAddress : { is : "TOKEN_ADDRESS" }
orderBy : Block_Time_DESC
) {
Pool {
Address
Dex { ProgramAddress }
Base { Address PostAmount }
Quote { Address PostAmount }
LiquidityInUSD
}
Block { Time }
}
}
token_get_pools({ chain: "solana", tokenAddress: "TOKEN_ADDRESS" })
How do I get pool details by address?
REST API
GraphQL
MCP Tool
curl "https://api.chainstream.io/v2/dexpools/sol/POOL_ADDRESS" \
-H "X-API-KEY: your_api_key"
See DexPool - Get for full reference. query {
DEXPools (
network : sol
limit : { count : 1 }
poolAddress : { is : "POOL_ADDRESS" }
orderBy : Block_Time_DESC
) {
Pool {
Address
Base { Address PostAmount }
Quote { Address PostAmount }
LiquidityInUSD
}
Block { Time }
}
}
dexpool_get({ chain: "solana", poolAddress: "POOL_ADDRESS" })
How do I get OHLCV (K-line) data for a Raydium token?
REST API
GraphQL
MCP Tool
curl "https://api.chainstream.io/v2/token/sol/TOKEN_ADDRESS/candles?resolution=1m&limit=60" \
-H "X-API-KEY: your_api_key"
query {
OHLC (
network : sol
limit : { count : 60 }
tokenAddress : { is : "TOKEN_ADDRESS" }
) {
TimeMinute
Token { Address }
Price {
OpenState
HighState
LowState
CloseState
}
VolumeUSDState
TradeCountState
}
}
token_get_candles({ chain: "solana", tokenAddress: "TOKEN_ADDRESS", resolution: "1m" })
How do I get token holders on Raydium?
REST API
GraphQL
MCP Tool
curl "https://api.chainstream.io/v2/token/sol/TOKEN_ADDRESS/topHolders" \
-H "X-API-KEY: your_api_key"
query {
TokenHolders (
network : sol
limit : { count : 100 }
tokenAddress : { is : "TOKEN_ADDRESS" }
) {
Token { Address }
Holder { Address }
LatestBalance
LatestBalanceUSD
FirstSeen
LastSeen
}
}
token_get_top_holders({ chain: "solana", tokenAddress: "TOKEN_ADDRESS" })
How do I get top traders for a Raydium token?
REST API
GraphQL
MCP Tool
curl "https://api.chainstream.io/v2/trade/sol/top-traders?tokenAddress=TOKEN_ADDRESS" \
-H "X-API-KEY: your_api_key"
query {
DEXTrades (
network : sol
limit : { count : 100 }
tokenAddress : { is : "TOKEN_ADDRESS" }
where : { IsSuspect : { eq : false }}
) {
Trade {
Buy {
Account { Owner }
Amount
PriceInUSD
}
}
count
sum ( of : Trade_Buy_Amount )
}
}
trade_get_top_traders({ chain: "solana", tokenAddress: "TOKEN_ADDRESS" })
How do I get pool liquidity snapshots?
REST API
GraphQL
MCP Tool
curl "https://api.chainstream.io/v2/dexpools/sol/POOL_ADDRESS/snapshots" \
-H "X-API-KEY: your_api_key"
See DexPool - Snapshots for full reference. query {
PoolLiquiditySnapshots (
network : sol
limit : { count : 20 }
tokenAddress : { is : "TOKEN_ADDRESS" }
) {
Pool { Address ProgramAddress }
TokenA { Address }
TokenB { Address }
LiquidityUSDState
EventCountState
LastSeenState
}
}
dexpool_get_snapshots({ chain: "solana", poolAddress: "POOL_ADDRESS" })
How do I create a token on Raydium?
ChainStream supports creating tokens on Raydium launchpad directly via API.
curl -X POST "https://api.chainstream.io/v2/dex/sol/create" \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"launchpad": "raydium",
"name": "My Token",
"symbol": "MYTKN",
"description": "A test token",
"privateKey": "YOUR_PRIVATE_KEY"
}'
See DEX - Create for full reference.
Token creation is only available on Solana. The private key is used to sign the creation transaction.
FAQ
What is the difference between Pump.fun and Raydium pools?
Pump.fun tokens trade on a bonding curve until graduation; once they graduate, liquidity is migrated to a Raydium AMM pool. Use ranking/sol/migrated to find recently graduated tokens.
How do I filter trades by DEX?
In GraphQL, use the dexProgram selector to filter by Raydium’s program address. In REST, trades are returned across all DEXes — check the dex field in the response to identify Raydium trades.
Can I track Raydium pool events in real time?
Yes. Use WebSocket subscriptions for real-time pool and trade updates. See Real-time Streaming for setup instructions.
Pump.fun Guide Complete Pump.fun token analysis including graduation tracking.
GraphQL Pools & Liquidity GraphQL query examples for pool and liquidity data.
GraphQL DEX Trades GraphQL query examples for DEX trade analysis.
MCP Tools Catalog Full list of 50+ MCP tools for AI agent integration.