Skip to main content
GET
Get wallet trades

Query Details

Required Parameters

  • wallet - Wallet address to query trades for (supports EVM and Solana addresses)

Optional Parameters

POST /2/wallet/trades accepts the same flat wallet body as GET query params. To fetch trades for multiple wallets in one call, use the batch array or items body (see Batch requests below).

Step-by-Step Tutorial and Video Walkthrough

  • Check out the guide: Here

Pagination

Pagination is offset-based, consistent with other V2 wallet endpoints (/wallet/activity, /wallet/positions).
  • Use offset and limit to control which slice of results you receive
  • page in the response is computed as Math.floor(offset / limit) + 1
The response includes a pagination object:
pageEntries indicates the actual number of trades returned (may be less than limit on the last page).

Response Overview

Each item in data[] represents a consolidated swap trade:

Usage Examples

Basic: single wallet

Solana wallet with limit

Filter by token and blockchains

Pagination with offset

Date range filter


POST body request (single wallet)


Batch requests (multiple wallets)

To fetch trades for several wallets in a single call, send a POST to /2/wallet/trades with a JSON array of items (or an object with an items array). Each item targets one wallet and accepts the same filters as the GET query (tokenAddress, chainIds, limit, offset, order, from, to).
  • Maximum 10 wallets per request.
  • Each wallet is processed independently: if one wallet fails, the others still return — that wallet’s entry contains an error field instead of data.
The batch response wraps a per-wallet payload array:

Sample Response

The tokenAddress filter uses the raw contract address. Make sure to pass the correct address for the blockchain you’re querying (e.g., WETH on Ethereum, SOL on Solana).
Use order=asc with from to efficiently scan trade history forward from a specific point in time.

Query Parameters

wallet
string
required

Wallet address

tokenAddress
string

Filter trades involving this token contract address

chainIds
string

Comma-separated list of chain IDs (e.g., "evm:1,evm:8453,solana:solana"). If omitted, all chains.

limit
number

Number of trades per page (1-100, default: 50)

Required range: 1 <= x <= 100
offset
number | null

Offset for pagination (default: 0)

Required range: x >= 0
order
enum<string>

Sort order: asc or desc (default: desc)

Available options:
asc,
desc
from
number | null

Start timestamp in milliseconds

to
number | null

End timestamp in milliseconds

Response

200 - application/json

Wallet trades response

data
object[]
required
pagination
object
required