Solana Accounts

List Solana accounts

Changed on

Lists the Solana accounts belonging to the developer. The response is paginated, and by default, returns 20 accounts per page.

If a name is provided, the response will contain only the account with that name.

get/v2/solana/accounts

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP bearer

Query parameters

pageSize, integer

The number of resources to return per page.

pageToken, string

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

Response

Successfully listed Solana accounts.

intersection required
object
accounts, SolanaAccount[] required

The list of Solana accounts.

Example response

{
  "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=="
}

Changes

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status