Solana Accounts

List Solana accounts

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
  • URL: https://api.cdp.coinbase.com/platform/v2/solana/accounts
  • Auth: HTTP bearer

Query parameters

pageSizeinteger

The number of resources to return per page.

pageTokenstring

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

Response

Successfully listed Solana accounts.

nextPageTokenstring

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

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