This endpoint requires a Growth or Enterprise plan. Learn more.
Returns
DetailedTokenStats
Arguments
String
The ID of the token (
address:networkId). Required unless you are on an enterprise plan including TokenStatsFeed features.Int
The network ID to stream stats for every token on. Used only when
tokenId is omitted.Example
Test this query in the Explorer →Example Response
Usage Guidelines
- Subscribe using
tokenIdin the formattokenAddress:networkIdto stream detailed stats for a specific token. - Use this subscription to keep token pages, dashboards, or watchlists live without repeatedly polling getDetailedTokenStats.
- Stats cover the same windows supported by
getDetailedTokenStats(5m, 1h, 4h, 12h, 24h). Request only the timeframes and fields you need. - Supports both non-currency stats (buyers, buys, sellers, sells, traders, transactions) and USD stats (buy/sell volume, open/close, highest/lowest, liquidity).
Troubleshooting Tips
How does this differ from onDetailedStatsUpdated?
How does this differ from onDetailedStatsUpdated?
onDetailedStatsUpdated streams updates for specific pairs only.
onDetailedTokenStatsUpdated streams aggregated stats across all pairs for a specified token.Can I subscribe to multiple tokens at once?
Can I subscribe to multiple tokens at once?
Open a separate subscription per
tokenId. Each subscription maintains its own stream.What does statsType: FILTERED vs UNFILTERED mean?
What does statsType: FILTERED vs UNFILTERED mean?
FILTERED excludes suspected bot and sandwich attack transactions for cleaner stats. UNFILTERED includes all transactions.Related Recipes
- Detailed Token Page: Build a comprehensive token detail page with price, holders, trades, and real-time updates