filterNetworks returns network-level activity stats with filtering and ranking, so you can compare chains directly instead of aggregating token or pair data yourself. Each NetworkFilterResult has total liquidity and stablecoin supply, plus these stats over five rolling windows (5m, 1h, 4h, 12h, and 24h): volume and volume change, DEX swaps and trades, distinct traders, tokens traded, new tokens, and chain transactions. It also has display metadata (name, short name, icon) and a mainnet flag.
To chart the same stats over time for one network, use getNetworkBars.
Use this data for
- Network leaderboards. Rank by
volume24,trades24ortraders24to power a “top chains” view, and use thevolumeChange*attributes to surface chains gaining momentum. - Network pickers with live context. Show volume, traders or tokens traded next to each network in a selector, using the included name and icon metadata.
- Scoping discovery to active chains. Feed the resulting network IDs into
filterTokensorfilterPairsto focus downstream queries on where activity actually is.
Returns
Arguments
A set of filters to apply.
See NetworkFilters
A list of ranking attributes to apply.
See NetworkRanking
Example
Test this query in the Explorer →Usage Guidelines
- Use
networks/excludeNetworksto scope the result set by ID before filters are applied. timestampis when the network’s stats were last updated; use it to gauge freshness.swaps*counts each pool a trade touches, so a trade routed through two pools is two swaps.trades*counts that trade once.traders*counts distinct wallets that made DEX trades in the window.tokensTraded*counts tokens whose last trade falls in the window.- Every new stat can be used in
filtersandrankings, for exampletraders24: {gt: 10000}. - See the full list of supported networks on Networks.
- Response limit: 200 networks per request.