Skip to main content
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.token is that token, and tokenData describes 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.
string
Address of the token the trade is viewed from, lowercase. All token* fields describe this token and all *Vs fields describe the other side.
string
Address of the other token in the pair, lowercase.
string
Pool address or 32-byte pool id, lowercase.
string | null
Pool type id, for example uniswap-v3.
number
Trade time in Unix epoch milliseconds (block time).
number
Same value as date.
number
Block number of the trade.
number
USD price of token at the time of the trade.
number
USD price of tokenVs at the time of the trade.
number
Amount of token traded, adjusted for decimals. Always positive.
number
Amount of tokenVs traded, adjusted for decimals. Always positive.
string
Amount of token as a raw integer string in base units. Always positive.
string
Amount of tokenVs as a raw integer string in base units. Always positive.
number
USD value of the trade.
number
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.
"buy" | "sell"
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).
"regular"
Always regular.
string
Chain display name, for example Ethereum or Base. This is not a chain id.
string
Transaction hash.
string
Address that initiated the transaction (the trader’s wallet), lowercase.
number | null
Gas fee for this trade in USD: the transaction’s gas cost, split evenly across the swaps in that transaction. null when unknown.
object | null
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:
    • priceUSD is set to the trade’s tokenPrice.
    • marketCapUSD is recomputed as circulating supply × price, falling back to total supply when circulating supply is unknown. It is set to 0 when 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.
    • marketCapDilutedUSD is recomputed as total supply × price.
  • tokenData is null when 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, bondedAt and the dexscreener*Date fields are ISO 8601 strings, for example "2026-11-30T12:00:00.000Z".
  • totalSupply and circulatingSupply are raw integer strings in base units. Divide by 10^decimals for display.

Example

A two-token watchlist, refreshed at most once per second per token:
The subscription is sampled, so subscribed and events have no cursor. Without maxUpdatesPerMinute you get every trade, with cursors, and you can resume.