Trades - All (V3)

Retrieve a list of trades with various filters.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
  • Solana notes:
    • Transaction data includes signers — a list of accounts that authorize the transaction with their signatures.
  • If time range and block number range are not provided:
    • If sort_by = block_unix_time, default to fetching swaps within the last 7 days.
    • If sort_by = block_number, default to fetching swaps within the last 500,000 blocks.
  • Only one type of filter is accepted: either block time range or block number range.
  • If filtering by block time (after_time, before_time), only allow sorting by block_unix_time.
  • If filtering by block number (after_block_number, before_block_number), only allow sorting by block_number.
  • Constraints:
    • Block time range: cannot exceed 30 days.
    • Block number range: cannot exceed 500,000 blocks.
    • If only after_time is provided (no before_time), it must be within the last 30 days.
    • If only after_block_number is provided (no before_block_number), it must be within the most recent 500,000 blocks.
Ideas 💡
  • Get recent DEX trades across all tokens and pairs on a specific chain.
    • Useful for building real-time trade feeds or monitoring on-chain activity.
    • Filter by DEX or chain to spot volume spikes or new trading patterns.
    • Ideal for dashboards, bots, or alert systems watching market flow.
Query Params
integer
0 to 9999
Defaults to 0

Make sure offset + limit <= 10000

integer
1 to 100
Defaults to 100

Number of items per page.

string
enum
Defaults to block_unix_time
Allowed:
string
enum
Defaults to desc

Specify the sort order.

Allowed:
string
enum
Defaults to swap
Allowed:
string
enum

Source of the liquidity (AMMs). Only support solana.

string

The address of the wallet.

string

The address of the liquidity pool.

integer
1 to 10000000000

Specify the time seeked before using unix timestamps in seconds

integer
1 to 10000000000

Specify the time seeked after using unix timestamps in seconds

integer
1 to 9007199254740991

Specify the upper bound of block_number for the filter range, excluding values equal to before_block_number.

integer
1 to 9007199254740991

Specify the lower bound of block_number for the filter range, excluding values equal to after_block_number.

string
enum
Defaults to scaled

Indicate whether to use the scaled amount for scaled ui amount tokens. Only support solana

Allowed:
Headers
string
enum
Defaults to solana

A chain name listed in supported networks.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json