Skip to main content
GET
/
wallets
/
{w}
/
holdings
/
basic
Fast FIFO-derived holdings (no Shyft)
curl --request GET \
  --url https://api.dexploit.dev/wallets/{w}/holdings/basic \
  --header 'X-API-Key: <api-key>'
{
  "wallet": "<string>",
  "holdings": [
    {
      "mint": "<string>",
      "qty": 123,
      "no_cost_basis": true,
      "price_stale": true,
      "cost_basis_sol": 123,
      "current_value_sol": 123,
      "current_value_usd": 123,
      "unrealized_pnl_sol": 123
    }
  ]
}

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

dex
integer

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

Response

FIFO-derived holdings

Response from /wallets/{w}/holdings/basic. FIFO-derived holdings from Dexploit's own swap index — no Shyft call, no USD values. Fast (~30 ms). Only covers tokens traded through indexed DEXes.

wallet
string
required
holdings
object[]
required