GET
/
v2
/
solana
/
token-balances
/
{network}
/
{address}
List Solana token balances
curl --request GET \
  --url https://api.cdp.coinbase.com/platform/v2/solana/token-balances/{network}/{address} \
  --header 'Authorization: Bearer <token>'
{
  "balances": [
    {
      "amount": {
        "amount": "1250000000",
        "decimals": 9
      },
      "token": {
        "network": "solana",
        "symbol": "SOL",
        "name": "Solana",
        "mintAddress": "So11111111111111111111111111111111111111111"
      }
    },
    {
      "amount": {
        "amount": "123456000",
        "decimals": 6
      },
      "token": {
        "network": "solana",
        "symbol": "USDC",
        "name": "USD Coin",
        "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"
      }
    }
  ],
  "nextPageToken": "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
}

Authorizations

Authorization
string
header
required

A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.

Path Parameters

address
string
required

The base58 encoded Solana address to get balances for.

network
enum<string>
required

The human-readable network name to get the balances for.

Available options:
solana,
solana-devnet
Example:

"solana"

Query Parameters

pageSize
integer
default:20

The number of balances to return per page.

pageToken
string

The token for the next page of balances. Will be empty if there are no more balances to fetch.

Response

200
application/json

Successfully listed token balances.

The response is of type object.