Skip to main content
GET
Native SOL balance

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.