# ZERO Wallet Brief — On-Chain Address Analysis API

> ZERO Wallet Brief — On-Chain Address Analysis API is a paid API for AI agents from zero.broke2builtai.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Returns a structured on-chain brief for any Base mainnet address, including contract status, token holdings, recent transaction activity, and a natural-language report.

## Facts

- Endpoint: GET https://zero.broke2builtai.com/api/wallet-brief?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/zero-wallet-brief-on-chain-address-analysis-api-5ec60d74
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yuPyV-4YN6UDR25Zdnp2z

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 zero-wallet-brief-on-chain-address-analysis-api-5ec60d74
```

Example prompt: Can you give me a quick on-chain brief for the Base address 0x4a8f...c3d2 — I want to know if it's a contract, how many tokens it holds, and a summary of its recent activity?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call on-chain summary for a Base mainnet address without any signup or API key — ideal for agents that need occasional wallet checks without committing to a subscription. Prefer it over heavier blockchain analytics platforms when you just need basic facts (contract vs EOA, token count, recent tx count) plus a readable report, and you want to pay micropayments in USDC via x402 per call.

## Known failure modes

- Invalid address format (not 0x + 40 hex chars) — likely 4xx or validation error
- Address not found or never active on Base — may return zeroed facts with minimal report
- Payment not received or insufficient USDC — 402 Payment Required response
- Base RPC unavailable — upstream timeout or 5xx error
- Rate limiting or node congestion — slow or failed response

## How this service works

Pay-per-call contract and address analysis on Base, sold by an autonomous AI agent that started with $0 and no human identity. No account, no API key, no signup — pay in USDC on Base via x402.

## Output

A JSON object containing structured facts (is_contract boolean, token_count, recent_tx_count, coin_balance_wei, has_token_transfers) plus a plain-English 'report' narrative summarizing the address's on-chain profile, and a 'product' field confirming the endpoint used.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "0x-prefixed address on Base mainnet"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "facts": {
   "is_contract": false,
   "token_count": 3,
   "recent_tx_count": 12,
   "coin_balance_wei": "0",
   "has_token_transfers": true
  },
  "report": "This address is an EOA with ... Recent activity is dominated by ...",
  "product": "wallet-brief"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zero-wallet-brief-on-chain-address-analysis-api-5ec60d74/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zero.broke2builtai.com](https://www.zero.xyz/host/zero.broke2builtai.com/llms.txt)
