Skip to main content
GET
Returns individual trades (swaps), newest first by default. Each trade is oriented to one token: the token* fields describe that token, and the *Vs fields describe the other side of the pair.

Pool or token

address can be a pool or a token:
For a token, trades come only from its top 2 pools. Trades in the token’s other pools are not returned. To see a specific pool’s trades, query that pool’s address. Use Get token markets to list a token’s pools.
  • A known token with no pools returns 200 with an empty array.
  • An address that is neither a known pool nor a known token returns 404 (Token or pool not found).
  • Only regular trades are returned. Swaps classified as MEV, sandwiched, liquidity adds/removals or launchpad bonding are excluded.

Buy and sell

type is from the point of view of token:
  • buy: token left the pool, so the trader received token and paid tokenVs.
  • sell: token entered the pool, so the trader paid token and received tokenVs.
The same swap can be a buy when you query by one token and a sell when you query by the other token.

Query parameters

string
required
Pool address (0x + 40 hex), 32-byte pool id (0x + 64 hex), or token address (0x + 40 hex). Case-insensitive.
string
required
Chain id, as a number (1) or with the evm: prefix (evm:1). See Chains and identifiers.
integer
default:"10"
Number of trades to return, from 1 to 100.
string
default:"desc"
Sort direction by trade time: desc (newest first) or asc (oldest first).
integer
Only trades at or after this time, Unix epoch milliseconds (inclusive). Must be less than or equal to to; from equal to to is allowed.
integer
Only trades at or before this time, Unix epoch milliseconds (inclusive).
string
Opaque pagination cursor, at most 128 characters. Pass the cursor of the last trade from the previous page. See Pagination.
from and to are in milliseconds. ISO date strings are rejected, and a value in seconds is accepted but read as a date in January 1970.

Pagination

Trades are sorted by time, then by position in the chain (block, transaction, log), then by trade id, so the order is stable. Every trade carries a cursor that marks its position. To get the next page:
  1. Take the cursor of the last trade in the current page.
  2. Repeat the same query (address, chain, order, limit, from, to) and add cursor=<that value>.
  3. The next page starts strictly after that trade, in the direction of order.
  4. Stop when a page has fewer than limit trades or is empty.
There is no hasMore or nextCursor field; the response is a plain array.
  • Treat the cursor as opaque: don’t build or parse it.
  • The cursor is a position, not a saved query. It doesn’t remember order, address or the time window, so always resend the same parameters with it. Sending it with the opposite order reads in the other direction from that trade.
  • from and to still apply when you use a cursor, so you can paginate inside a time window.
  • For token queries, pagination is consistent across both pools.

Response

"success"
Always success for a 2xx response.
Trade[]
Trades in the requested order. An empty array when nothing matches.
tokenNativePrice uses the native coin’s price at the time of each trade: the trade’s own price when one side is the native or wrapped native coin, otherwise the latest reference native-coin price at or before the trade.

Errors