# Agent Data Tools – Base Wallet & Token Balance Lookup

> Agent Data Tools – Base Wallet & Token Balance Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Looks up ETH balance, token balances, and account type for any wallet or contract address on the Base blockchain

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/wallet?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-base-wallet-token-balance-lookup-ad6dee08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XA34RXUN9EKdVU4Y4AUUG

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 agent-data-tools-base-wallet-token-balance-lookup-ad6dee08
```

Example prompt: Can you check the ETH and USDC balances for the Base wallet at 0x4200000000000000000000000000000000000006 and tell me if it's a regular wallet or a contract?

## When to prefer this

Choose this endpoint when you need a quick, no-account-required lookup of ETH and ERC-20 token balances on the Base network for any wallet or contract address. It is ideal for AI agents that need on-chain balance data without setting up a full node or managing API keys — paying only $0.005 USDC per call via x402. Prefer it over generic blockchain explorers when you want structured JSON output ready for downstream processing.

## Known failure modes

- Invalid or malformed address returns an error
- Address not found on Base returns empty or zero balances
- Requesting more than 20 extra ERC-20 tokens in one call may be rejected
- Payment failure (insufficient USDC or x402 protocol error) blocks the request
- Network or provider downtime results in timeout or 5xx error

## How this service works

Pay-per-call tools for AI agents: web page text extraction and summaries, screenshots, image generation, speech-to-text, image description, domain and email-auth intelligence, and live Base token and wallet lookups. No account or API key; pay per request in USDC on Base via x402.

## Output

A JSON object containing the ETH balance in both raw wei and human-readable format, the account type (wallet or contract), the Base chain identifier, the transaction count, and an array of ERC-20 token balances each with symbol, contract address, raw balance, decimals, and formatted balance.

## 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": "Optional comma-separated extra ERC-20 addresses to check (max 20)"
      },
      "address": {
       "type": "string",
       "description": "Wallet or contract address on Base (0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "eth": {
   "wei": "286016330790748434767802",
   "formatted": "286016.330790748434767802"
  },
  "type": "contract",
  "chain": "base",
  "tokens": [
   {
    "symbol": "USDC",
    "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "balance": "167551481",
    "decimals": 6,
    "balanceFormatted": "167.551481"
   }
  ],
  "address": "0x4200000000000000000000000000000000000006",
  "transactionCount": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-base-wallet-token-balance-lookup-ad6dee08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
