# x402-web-Extract EVM Wallet Balance

> x402-web-Extract EVM Wallet Balance is a paid API for AI agents from x402-web-extract.senpi-agent.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Returns native token and USDC balances for any EVM wallet address on supported chains, paid per-call via x402 micropayments

## Facts

- Endpoint: GET https://x402-web-extract.senpi-agent.workers.dev/balance?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-extract-evm-wallet-balance-8dbd214f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RxIoqE7kGwJ16CQzn8gNG

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-web-extract-evm-wallet-balance-8dbd214f
```

Example prompt: What's the USDC and native ETH balance for wallet 0xAbC123...def on Base mainnet?

## When to prefer this

Choose this endpoint when you need a lightweight, no-account, pay-per-call lookup of both native and USDC balances for any EVM address across Base, Ethereum, Polygon, Arbitrum, or Optimism. Ideal for AI agents that need on-chain balance checks as part of automated workflows without API key provisioning. Prefer over block explorer APIs or full node RPC calls when simplicity, micropayment billing, and multi-chain coverage in a single call are priorities.

## Known failure modes

- Invalid or malformed EVM address returns an error response
- Unsupported chain ID returns an error or empty result
- Payment not satisfied (HTTP 402 not resolved) blocks the call
- Network or RPC timeout may result in a failed or stale response
- Zero balances returned legitimately if wallet holds no funds

## How this service works

Pay-per-call API for AI agents on Base mainnet (USDC via CDP x402 facilitator). Three endpoints: /fetch returns clean markdown or JSON from any public URL, /price returns real-time USDC spot prices for EVM tokens, /balance returns native + USDC balances for any EVM wallet. Each call returns HTTP 402 with an exact payment requirement; agents pay automatically via x402. No API keys, no accounts.

## Output

Returns a JSON object with three fields: 'chain' (the chain ID queried), 'native' (balance of the chain's native token, e.g. ETH, MATIC), and 'usdc' (USDC balance), both as decimal strings with 4 decimal places. Example: {"usdc":"0.00","chain":"base","native":"0.0000"}

## 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",
      "chain"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain id: base, ethereum, polygon, arbitrum, optimism."
      },
      "address": {
       "type": "string",
       "description": "EVM wallet address."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "usdc": "0.00",
  "chain": "base",
  "native": "0.0000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-extract-evm-wallet-balance-8dbd214f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-web-extract.senpi-agent.workers.dev](https://www.zero.xyz/host/x402-web-extract.senpi-agent.workers.dev/llms.txt)
