EVM Token Balances

List EVM token balances

Changed on

Lists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page.

Calls to the base and base-sepolia networks offer:

  • 99.5% < 2 second freshness from chain tip for new tokens on an address.
  • 99.5% < 2 second freshness from chain tip for balance data.

Calls to the ethereum network offer:

  • 99% < 30 second freshness from chain tip for new tokens on an address.
  • 99% < 2 second freshness from chain tip for balance data.
get/v2/evm/token-balances/{network}/{address}

Request

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

Path parameters

address, string required

The 0x-prefixed EVM address to get balances for. The address does not need to be checksummed.

network, 'base' | 'base-sepolia' | 'ethereum' | 'arbitrum' | 'polygon' | 'optimism' required

The name of the supported EVM networks in human-readable format.

Example:base

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

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 token balances.

intersection required
object
balances, TokenBalance[] required

The list of EVM token balances.

Example response

{
  "balances": [
    {
      "amount": {
        "amount": "1250000000000000000",
        "decimals": 18
      },
      "token": {
        "network": "base",
        "symbol": "ETH",
        "name": "ether",
        "contractAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
      }
    },
    {
      "amount": {
        "amount": "123456",
        "decimals": 6
      },
      "token": {
        "network": "base",
        "symbol": "USDC",
        "name": "USD Coin",
        "contractAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
      }
    }
  ],
  "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

    2 more changes in this revision