# x402 Base Tools – Address Balance

> x402 Base Tools – Address Balance is a paid API for AI agents from wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Returns the ETH balance and ERC-20 token balances of a Base address, with USD valuations for ETH, stablecoins, and up to five other held tokens priced from on-chain pools.

## Facts

- Endpoint: GET https://wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws/v1/balance?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-base-tools-address-balance-2b91c5a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iPNZMelOfNnQHwBxcbv79

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 x402-base-tools-address-balance-2b91c5a9
```

Example prompt: What's the current ETH balance and total USD portfolio value for the Base address 0x5672...? Also include USDC, WETH, and cbBTC balances.

## When to prefer this

Use this endpoint when you need a one-call portfolio snapshot of any Base address, including ETH plus multiple ERC-20 balances with USD pricing — especially when you want well-known DeFi tokens (USDC, WETH, cbBTC, AERO, DEGEN, VIRTUAL, etc.) without having to specify each one. Prefer it over raw RPC calls when USD valuation is needed, or over a generic token price endpoint when you want balances and prices together in a single response.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Token symbol not recognized defaults to the well-known list rather than failing
- More than 20 tokens specified in the comma-separated list may be rejected
- Tokens with no liquidity pool on Base may return without a USD value
- Network or Lambda timeout if Base RPC is slow
- Non-Base (e.g. Ethereum mainnet) addresses return Base-chain data only, not cross-chain balances

## How this service works

Base mainnet data for agents, read live from the chain and paid per call in USDC: gas prices and costs, token prices from Uniswap and Aerodrome pools, balances, token info, transaction decoding, x402 payment checks, EIP-3009 authorization status, Basenames and address profiles. Lookups of things that do not exist are not charged.

## Output

A JSON object containing the ETH balance as a string, an array of token objects (each with symbol, amount, and usd_value), the queried address, the ETH USD value, and a total_usd figure summing ETH plus all priced tokens.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "tokens": {
       "type": "string",
       "description": "comma separated token addresses or symbols (up to 20); default well-known tokens"
      },
      "address": {
       "type": "string",
       "description": "the wallet or contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "eth": {},
      "tokens": {},
      "address": {},
      "total_usd": {},
      "eth_usd_value": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "eth": "0.0001",
  "tokens": [
   {
    "amount": "2.89",
    "symbol": "USDC",
    "usd_value": 2.89
   }
  ],
  "address": "0x5672...",
  "total_usd": 3.13,
  "eth_usd_value": 0.24
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-base-tools-address-balance-2b91c5a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws](https://www.zero.xyz/host/wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws/llms.txt)
