GET
/
v2
/
solana
/
accounts
List Solana accounts or get account by name
curl --request GET \
  --url https://api.cdp.coinbase.com/platform/v2/solana/accounts \
  --header 'Authorization: Bearer <token>'
{
  "accounts": [
    {
      "address": "HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT",
      "name": "my-account",
      "policies": [
        "123e4567-e89b-12d3-a456-426614174000"
      ],
      "createdAt": "2025-03-25T12:00:00Z",
      "updatedAt": "2025-03-26T12:00:00Z"
    }
  ],
  "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.

Query Parameters

pageSize
integer
default:20

The number of accounts to return per page.

pageToken
string

The token for the next page of accounts, if any.

Response

Successfully listed Solana accounts.

accounts
object[]
required

The list of Solana accounts.

nextPageToken
string

The token for the next page of items, if any.

Example:

"eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="