Skip to main content
GET
Swaps in a time or slot range

Authorizations

X-API-Key
string
header
required

Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Query Parameters

start_time
integer

Unix epoch seconds.

end_time
integer
start_slot
integer<int64>
end_slot
integer<int64>
token
string
trader
string
pool
string
is_buy
boolean
min_sol
integer<int64>

Minimum swap size in lamports, not decimal SOL (1 SOL = 1,000,000,000 lamports). The server parses this as a 64-bit unsigned integer, so a decimal value is rejected: min_sol=20000.5 returns HTTP 400 Failed to deserialize query string: min_sol: invalid digit found in string. And min_sol=20000 means 20,000 lamports (0.00002 SOL), not 20,000 SOL.

dex
string
limit
integer
default:100
Required range: 1 <= x <= 1000
offset
integer
default:0
Required range: x >= 0

Response

Page of swaps

Paged list of swaps, shared by /swaps, /swaps/range, /swaps/whale.

swaps
object[]
total
integer

Count of swaps in this page.

has_more
boolean

True if more rows match — increment offset to page.