Skip to main content
GET
/
api
/
v1
/
customer
/
solana
/
1s
/
balances
/
account
/
{account_address}
SOL Balance (1-Second)
curl --request GET \
  --url https://api-gateway.sonarx.com/api/v1/customer/solana/1s/balances/account/{account_address} \
  --header 'apikey: <api-key>'
{ "as_of_datetime": "2026-02-15 01:23:45.000", "account": "116HTnNMXBLL6LCQ1qAQEZ7E9bDXSJjV6hnZsziospk", "balance": 123.456789012, "balance_source": 123456789012, "datetime_last_updated": "2026-02-15 01:23:44", "block_slot_last_updated": 318472910 }

Authorizations

apikey
string
header
required

API key for authentication

Path Parameters

account_address
string
required

The Solana account address (base58 encoded, 32-44 characters)

Example:

"116HTnNMXBLL6LCQ1qAQEZ7E9bDXSJjV6hnZsziospk"

Query Parameters

datetime_filter
string
required

Point-in-time datetime with timezone. Returns the most recent balance before this time. Any second-level value is valid (no 10-minute interval restriction). Must be ≥ 2026-01-01T00:00:00Z and ≤ UTC now − 5 minutes. Format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS+00:00.

Example:

"2026-02-15T01:23:45Z"

Response

SOL balance at the specified point-in-time

SOL balance for the account

as_of_datetime
string

The datetime of the balance snapshot

account
string

The Solana account address

balance
number

The SOL balance in human-readable format (converted from lamports)

balance_source
integer

Raw balance in smallest units (lamports for SOL, raw token units for SPL tokens) before decimal conversion

datetime_last_updated
string

When this balance was last updated

block_slot_last_updated
integer

The block slot when this balance was last updated