curl --request GET \
--url https://api.dexploit.dev/swaps \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.dexploit.dev/swaps"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.dexploit.dev/swaps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dexploit.dev/swaps",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dexploit.dev/swaps"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dexploit.dev/swaps")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dexploit.dev/swaps")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"swaps": [
{
"signature": "<string>",
"slot": 123,
"timestamp": 123,
"token_address": "<string>",
"pair_address": "<string>",
"user": "<string>",
"is_buy": true,
"dex": 1,
"sol_amount": 123,
"token_amount": 123,
"fee": 123,
"fee_bps": 123,
"creator_fee": 123,
"creator_fee_bps": 123,
"price_per_token": 123,
"pool_price": 123,
"price_impact_bps": 123,
"base_decimals": 123,
"quote_decimals": 123,
"virtual_sol_reserves": 123,
"virtual_token_reserves": 123,
"real_sol_reserves": 123,
"real_token_reserves": 123,
"transfer_fee_in": 123,
"transfer_fee_out": 123,
"cashback": 123,
"cashback_bps": 123
}
],
"total": 123,
"has_more": true,
"price_semantics": "<string>"
}{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}Latest swaps
curl --request GET \
--url https://api.dexploit.dev/swaps \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.dexploit.dev/swaps"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.dexploit.dev/swaps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dexploit.dev/swaps",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dexploit.dev/swaps"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dexploit.dev/swaps")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dexploit.dev/swaps")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"swaps": [
{
"signature": "<string>",
"slot": 123,
"timestamp": 123,
"token_address": "<string>",
"pair_address": "<string>",
"user": "<string>",
"is_buy": true,
"dex": 1,
"sol_amount": 123,
"token_amount": 123,
"fee": 123,
"fee_bps": 123,
"creator_fee": 123,
"creator_fee_bps": 123,
"price_per_token": 123,
"pool_price": 123,
"price_impact_bps": 123,
"base_decimals": 123,
"quote_decimals": 123,
"virtual_sol_reserves": 123,
"virtual_token_reserves": 123,
"real_sol_reserves": 123,
"real_token_reserves": 123,
"transfer_fee_in": 123,
"transfer_fee_out": 123,
"cashback": 123,
"cashback_bps": 123
}
],
"total": 123,
"has_more": true,
"price_semantics": "<string>"
}{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}Authorizations
Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).
Query Parameters
1 <= x <= 1000x >= 0Token mint filter.
Trader wallet filter.
Pool / pair address filter.
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.
pumpfun, pumpswap, raydium_amm, raydium_clmm, raydium_cpmm, orca, meteora_damm_v2, meteora_dbc, meteora_dlmm, meteora_pools Restrict to one Solana tx signature.
Response
Page of swaps
Paged list of swaps, shared by /swaps, /swaps/range, /swaps/whale.
Show child attributes
Show child attributes
Count of swaps in this page.
True if more rows match — increment offset to page.
A short, machine-readable note on how the price fields in this response are derived. Emitted on every response so a client never has to infer it from the docs. Treat it as informational text, not a stable enum — the wording may change as derivations change.

