Skip to main content
GET
/
wallets
/
{w}
/
sol-balance
Native SOL balance
curl --request GET \
  --url https://api.dexploit.dev/wallets/{w}/sol-balance \
  --header 'X-API-Key: <api-key>'
{
  "wallet": "<string>",
  "computed_at": 123,
  "sol_balance": 123,
  "sol_balance_usd": 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).

Response

SOL balance

Native SOL balance for a wallet. sol_balance is null when Shyft's getBalance call fails; the response is still 200.

wallet
string
required
computed_at
integer<int64>
required

Unix epoch milliseconds when this response was assembled.

sol_balance
number | null

Native SOL balance (not lamports). null on Shyft error.

sol_balance_usd
number | null

SOL balance converted to USD via the Pyth oracle. null when balance or oracle is unavailable.