token-details follows a list of tokens. For every trade of any of them, it sends the trade together with the token’s full details, re-priced at that trade. Use it for watchlists and token pages that show live price, market cap, liquidity and volume.
Weight: the number of distinct tokens in tokens. See Subscription weight.
Parameters
The channel does not check that the tokens exist. A token that never trades produces no events.
Which trades you receive
- Every trade of a listed token, in any pool, subject to the quote-token rule. If you list WETH or USDC, you get only the trades where that token is the base, for example WETH/USDC, not every trade priced in WETH.
- Each trade is sent once per subscription, even if both sides of the pool are in your list.
- The trade is oriented to the first token in your list that is eligible in that trade.
data.tokenis that token, andtokenDatadescribes it. If you list both tokens of a pool, list the one you care about first.
Event data
data is a trade event with one extra field, tokenData.
Address of the token the trade is viewed from, lowercase. All
token* fields describe this token and all *Vs fields describe the other side.Price of
token in the chain’s native coin (for example ETH): tokenPrice divided by the native coin’s USD price at the time of the trade. 0 when the native price is unknown.Direction from the point of view of
token. buy: token left the pool (the trader received token). sell: token entered the pool (the trader gave up token).Gas fee for this trade in USD: the transaction’s gas cost, split evenly across the swaps in that transaction.
null when unknown.Details of
data.token, in the same shape as the REST GET /token response. null when the details could not be loaded in time (see below).How tokenData is built
- Details are built by the same code as
GET /token, then reused for about 5 seconds per token. Stats such as volume, trade counts, liquidity and price changes come from the regularly refreshed token stats, plus that reuse, so they lag slightly behind the live trade. - Each event re-prices the cached details at the trade:
priceUSDis set to the trade’stokenPrice.marketCapUSDis recomputed as circulating supply × price, falling back to total supply when circulating supply is unknown. It is set to0when it is implausible: liquidity is less than 0.001% of the market cap, or there is no liquidity and the market cap is above $1,000,000.marketCapDilutedUSDis recomputed as total supply × price.
tokenDataisnullwhen the lookup fails, for example for a token that is not indexed yet, or takes longer than 2 seconds. The trade fields are still sent.- Date fields such as
createdAt,bondedAtand thedexscreener*Datefields are ISO 8601 strings, for example"2026-11-30T12:00:00.000Z". totalSupplyandcirculatingSupplyare raw integer strings in base units. Divide by10^decimalsfor display.
Example
A two-token watchlist, refreshed at most once per second per token:subscribed and events have no cursor. Without maxUpdatesPerMinute you get every trade, with cursors, and you can resume.
Related
GET /tokenfor the initial snapshot of each token- market-details channel to follow pools instead of tokens