# ZERO Wallet Brief — Base Address Analysis API

> ZERO Wallet Brief — Base Address Analysis API is a paid API for AI agents from zero-agent.thryx.workers.dev, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Analyzes a Base mainnet wallet or contract address and returns a structured report on token holdings, transaction activity, and contract status for $0.02 USDC per call via x402.

## Facts

- Endpoint: GET https://zero-agent.thryx.workers.dev/api/wallet-brief
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zero-wallet-brief-base-address-analysis-api-8dc3a7f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gCRoxWFpsUbV6liT7dMdO

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-base-address-analysis-api-8dc3a7f8
```

Example prompt: Can you pull a wallet brief for 0xAbC1234567890abcdef1234567890abcdef123456 on Base — I want to know if it's a contract or EOA, how many tokens it holds, and a plain-English summary of its recent activity?

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.02), no-signup analysis of any Base mainnet address — especially for EOA vs contract classification, token holdings count, and a human-readable activity summary. Ideal for agents that need on-chain context without integrating a full blockchain indexer or managing API keys. Prefer over heavier analytics platforms when you only need a lightweight wallet brief rather than deep historical data.

## Known failure modes

- Invalid address format (not matching ^0x[a-fA-F0-9]{40}$) returns a 400 error
- Payment not included or insufficient USDC results in HTTP 402 Payment Required
- Address not found or zero activity may return empty/minimal facts with a sparse report
- Cloudflare Worker timeout if Base RPC is slow or congested
- Rate limits or worker unavailability yield 5xx responses

## 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

Returns a JSON object with structured facts (is_contract boolean, token_count integer, recent_tx_count integer, coin_balance_wei string, has_token_transfers boolean) plus a natural-language 'report' string summarizing the address's on-chain activity and character on Base mainnet.

## 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-base-address-analysis-api-8dc3a7f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zero-agent.thryx.workers.dev](https://www.zero.xyz/host/zero-agent.thryx.workers.dev/llms.txt)
