Skip to main content
GET
/
wallets
/
{w}
/
trades
Wallet trade history with per-trade PnL
curl --request GET \
  --url https://api.dexploit.dev/wallets/{w}/trades \
  --header 'X-API-Key: <api-key>'
{
  "wallet": "<string>",
  "trades": [
    {
      "signature": "<string>",
      "timestamp": 123,
      "mint": "<string>",
      "is_buy": true,
      "sol_amount": 123,
      "token_amount": 123,
      "pnl_delta_sol": 123
    }
  ],
  "next_before": 123,
  "coverage_note": "<string>"
}

Authorizations

X-API-Key
string
header
required

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

Path Parameters

w
string
required

Wallet address (base58, 32–44 characters).

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 200
before
integer

Cursor — Unix epoch milliseconds. Returns trades strictly older than this timestamp. Use next_before from the previous response.

from_token
string

Filter to trades involving this token mint.

to_token
string

Filter to trades involving this token mint (alias of from_token in Phase 4; full two-leg routing in Phase 5).

dex
integer

Filter to a single DEX by integer ID. See DexId for the mapping.

hide_arb
boolean

No-op in Phase 4. Will filter arbitrage round-trips when the arb tagger ships in Phase 5.

parse_jupiter
boolean

No-op in Phase 4. Will expand Jupiter aggregator hops and attribute trades to source/destination tokens in Phase 5.

Response

Trade history page

Cursor-paginated trade history for a wallet, newest first.

wallet
string
required
trades
object[]
required
next_before
integer | null

Pass as ?before= on the next request to get the next page. null when there are no more trades.

coverage_note
string

Always present in Phase 4. Explains that hide_arb and parse_jupiter are no-ops until Phase 5.