Messages
{
"type": "join",
"room": "v2:transaction:whale:1000"
}{
"type": "leave",
"room": "v2:transaction:whale:1000"
}{
"type": "message",
"room": "v2:transaction:whale:1000",
"data": {
"trades": [
{
"tx": "3wpLJJVCb7Z5ANgtqqkJxkmhEh1y5yvE4GkPESuAtjQWbqFFd2PAzhouVh3Yu4EwTWYXtytptjFy8DHU3L8s6fMg",
"slot": 470027315,
"txIndex": 187,
"swapIndex": 0,
"time": 1794733462000,
"type": "buy",
"wallet": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"owner": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"feePayer": "HjMhpGkbtBfrbmSSmjN3dGdXrdXAvwPgt2YqUP2GjZpF",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 381.023775,
"priceUsd": 5.994048534110503,
"priceSol": 0.03280635178211648,
"marketCapUsd": 5994045247.993275,
"quoteToken": "So11111111111111111111111111111111111111112",
"quoteAmount": 12.5,
"quotePriceUsd": 182.71,
"volumeUsd": 2283.875,
"volumeSol": 12.5,
"solPriceUsd": 182.71,
"program": "jupiter",
"platform": null,
"pools": [
"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj",
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": true,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "So11111111111111111111111111111111111111112",
"decimals": 9,
"amount": 12.5,
"amountRaw": "12500000000",
"priceUsd": 182.71,
"residualRaw": "2039280",
"walletChangeRaw": "-12502039280"
},
"to": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 381.023775,
"amountRaw": "381023775",
"priceUsd": 5.994048534110503,
"residualRaw": "0",
"walletChangeRaw": "381023775"
},
"fees": {
"txLamports": 10000,
"priorityLamports": 0,
"signatures": 2,
"tipLamports": 0,
"tipService": null,
"platformFeeRaw": "0",
"platformFeeMint": null,
"platformFeeApp": null,
"totalUsd": 0.001827
},
"compute": {
"unitsConsumed": 211873,
"unitLimit": 400000,
"unitPriceMicroLamports": 0
},
"route": {
"programId": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"router": "jupiter",
"priceMint": "So11111111111111111111111111111111111111112",
"instructionIndex": 2,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
]
}
}
],
"tokens": {
"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN": {
"name": "OFFICIAL TRUMP",
"symbol": "TRUMP",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"supply": 999999451.77,
"uri": "https://arweave.net/cSCP0h2n1crjeSWE9KF-XtLciJalDNFs7Vf-Sm0NNY0",
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": "https://gettrumpmemes.com"
},
"So11111111111111111111111111111111111111112": {
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FSo11111111111111111111111111111111111111112%2Flogo.png",
"supply": 551203887.41,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
}
},
"pools": {
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2": {
"market": "meteora-dlmm",
"tokenAddress": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"liquidityUsd": 41872931.44,
"lpBurn": 0,
"createdAt": 1737165082000
}
},
"wallets": {}
}
}Trades V2
Stream Solana Whale Trades V2
Stream large Solana trades by USD tier over Datastream WebSocket in the v2 format, starting at $1,000.
WSS
/
Trades of at least a USD tier. Rooms:
Each message is a page of new trades in the
v2:transaction:whale:1000, :2500, :5000 and :10000. Tiers are cumulative: a $12,000 trade arrives in all four rooms. Each swap arrives once; a swap between two tokens arrives as its buy.
WebSocket example
const room = "v2:transaction:whale:1000"; // or 2500, 5000, 10000
const ws = new WebSocket("wss://datastream.solanatracker.io/YOUR_API_KEY");
ws.addEventListener("open", () => {
ws.send(JSON.stringify({ type: "join", room }));
});
ws.addEventListener("message", (event) => {
const msg = JSON.parse(event.data);
if (msg.type === "ping") return ws.send(JSON.stringify({ type: "pong" }));
if (msg.type !== "message") return;
const { trades, tokens, wallets } = msg.data;
for (const t of trades) {
const symbol = tokens[t.token]?.symbol ?? t.token;
console.log(t.tx, t.type, t.amount, symbol, `$${t.volumeUsd.toFixed(2)}`, wallets[t.wallet]?.name ?? t.wallet);
}
});
/v2 format, without the cursor fields. Trades always include full detail, with wallet identities when known. Load history from the REST route.
SDK Example
import { Datastream } from '@solana-tracker/data-api';
const dataStream = new Datastream({
wsUrl: 'wss://datastream.solanatracker.io/YOUR_API_KEY',
});
dataStream.on('error', console.error);
await dataStream.connect();
// Minimum trade size in USD: 1000, 2500, 5000 or 10000.
const sub = dataStream.subscribe.tradesV2.whale(1000).on((data) => {
console.log(data.trades);
});
// sub.unsubscribe();
Messages
{
"type": "join",
"room": "v2:transaction:whale:1000"
}{
"type": "leave",
"room": "v2:transaction:whale:1000"
}{
"type": "message",
"room": "v2:transaction:whale:1000",
"data": {
"trades": [
{
"tx": "3wpLJJVCb7Z5ANgtqqkJxkmhEh1y5yvE4GkPESuAtjQWbqFFd2PAzhouVh3Yu4EwTWYXtytptjFy8DHU3L8s6fMg",
"slot": 470027315,
"txIndex": 187,
"swapIndex": 0,
"time": 1794733462000,
"type": "buy",
"wallet": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"owner": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"feePayer": "HjMhpGkbtBfrbmSSmjN3dGdXrdXAvwPgt2YqUP2GjZpF",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 381.023775,
"priceUsd": 5.994048534110503,
"priceSol": 0.03280635178211648,
"marketCapUsd": 5994045247.993275,
"quoteToken": "So11111111111111111111111111111111111111112",
"quoteAmount": 12.5,
"quotePriceUsd": 182.71,
"volumeUsd": 2283.875,
"volumeSol": 12.5,
"solPriceUsd": 182.71,
"program": "jupiter",
"platform": null,
"pools": [
"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj",
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": true,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "So11111111111111111111111111111111111111112",
"decimals": 9,
"amount": 12.5,
"amountRaw": "12500000000",
"priceUsd": 182.71,
"residualRaw": "2039280",
"walletChangeRaw": "-12502039280"
},
"to": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 381.023775,
"amountRaw": "381023775",
"priceUsd": 5.994048534110503,
"residualRaw": "0",
"walletChangeRaw": "381023775"
},
"fees": {
"txLamports": 10000,
"priorityLamports": 0,
"signatures": 2,
"tipLamports": 0,
"tipService": null,
"platformFeeRaw": "0",
"platformFeeMint": null,
"platformFeeApp": null,
"totalUsd": 0.001827
},
"compute": {
"unitsConsumed": 211873,
"unitLimit": 400000,
"unitPriceMicroLamports": 0
},
"route": {
"programId": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"router": "jupiter",
"priceMint": "So11111111111111111111111111111111111111112",
"instructionIndex": 2,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
]
}
}
],
"tokens": {
"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN": {
"name": "OFFICIAL TRUMP",
"symbol": "TRUMP",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"supply": 999999451.77,
"uri": "https://arweave.net/cSCP0h2n1crjeSWE9KF-XtLciJalDNFs7Vf-Sm0NNY0",
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": "https://gettrumpmemes.com"
},
"So11111111111111111111111111111111111111112": {
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FSo11111111111111111111111111111111111111112%2Flogo.png",
"supply": 551203887.41,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
}
},
"pools": {
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2": {
"market": "meteora-dlmm",
"tokenAddress": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"liquidityUsd": 41872931.44,
"lpBurn": 0,
"createdAt": 1737165082000
}
},
"wallets": {}
}
}apiKey
type:httpApiKey
API key for authentication. Include your Datastream key in the connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
Subscribe to whale trades
type:object
Unsubscribe from whale trades
type:object
New whale trades
type:object
Was this page helpful?