# Blockscout Address Token Balances

> Blockscout Address Token Balances is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns all token balances (ERC-20, ERC-721, ERC-1155) held by a specific address on a given blockchain network

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/addresses/%7Baddress_hash_param%7D/token-balances
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-address-token-balances-38907099
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0vmXtyrZXqZN7NTkKh9Pg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockscout-address-token-balances-38907099
```

Example prompt: Can you pull all token balances for the wallet address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet (chain ID 1) using Blockscout?

## When to prefer this

Choose this endpoint when you need a comprehensive list of all tokens held by a specific wallet address on a particular blockchain, especially for multichain exploration via Blockscout's unified API. It is ideal when you need both fungible (ERC-20) and non-fungible (ERC-721/ERC-1155) token balances in a single call, and when you want on-chain data from a trusted open-source block explorer rather than a centralized exchange or wallet provider.

## Known failure modes

- Invalid or malformed address hash returns 404 or empty result
- Unsupported chain_id returns an error or no data
- Address with no token holdings returns an empty array
- Rate limiting or payment failure returns 402 or 429 error
- Network timeout on heavily queried chains

## How this service works

Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data

## Output

Returns an array of token balance objects, each containing token metadata (name, symbol, type, contract address), the balance value as a string, and for NFTs, a token ID and token instance details including image and attributes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string"
      },
      "address_hash_param": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": [
  {
   "token": {},
   "value": "string",
   "token_id": "string",
   "token_instance": {}
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-address-token-balances-38907099/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
