Get Historical Token Balance
Get a wallet’s balance of a specific token or native SOL at a past timestamp, datetime, or slot.
Request Parameters
So11111111111111111111111111111111111111111.time, datetime, or slot.2025-01-10 (UTC midnight), 2025-01-10 19:20:00,
2025-01-10T19:20:00 (seconds optional), or with an explicit timezone
(2025-01-10T19:20:00Z, ...+02:00). Interpreted as UTC unless an explicit
timezone is included. Provide exactly one of time, datetime, or slot.time, datetime, or slot.Authorizations
API key passed as query parameter
Path Parameters
Solana wallet address (base58 encoded)
^[1-9A-HJ-NP-Za-km-z]{32,44}$Query Parameters
Token mint address. For native SOL, use So11111111111111111111111111111111111111111.
Unix timestamp in seconds. Returns the balance as of this time. Provide exactly one of time, datetime, or slot.
x >= 0Datetime string. Accepted formats: 2025-01-10 (UTC midnight), 2025-01-10 19:20:00,
2025-01-10T19:20:00 (seconds optional), or with an explicit timezone
(2025-01-10T19:20:00Z, ...+02:00). Interpreted as UTC unless an explicit
timezone is included. Provide exactly one of time, datetime, or slot.
Slot number. Returns the balance as of this slot. Exact and deterministic. Provide exactly one of time, datetime, or slot.
x >= 0Response
Historical balance retrieved successfully
Echo of the queried wallet address
"5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9"
Echo of the queried mint (the SOL pseudo-mint when native)
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
Whether the result is native SOL
false
Human-readable amount as a decimal string (not a number, so large balances don't lose precision). Trailing zeros are trimmed.
"284961463.392936"
Exact amount in the smallest unit (lamports for SOL), as a string
"284961463392936"
Token decimals (9 for SOL)
6
Echo of the query. When datetime is used, time is also populated with the resolved epoch seconds so the UTC interpretation is visible.
The transaction the balance was read from. null when the wallet had no matching transaction at or before the requested point — meaning the balance is genuinely 0 (the wallet had not held the token by then), not an error.