# xx402 Base Chain Contract Inspector

> xx402 Base Chain Contract Inspector is a paid API for AI agents from x402.xx402.icu, paid per call via x402, $0.001/call, status down (last checked 2026-10-27).

Inspects a Base/EVM address to determine if it is a contract, detect proxy patterns, and return risk/decision signals for autonomous agents.

## Facts

- Endpoint: GET https://x402.xx402.icu/api/base-chain/contract?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xx402-base-chain-contract-inspector-3e08f7af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bwTGTeP5KyBdNQIp1d5dD

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 xx402-base-chain-contract-inspector-3e08f7af
```

Example prompt: Can you check whether the Base address 0xba76c7ECa175f67cFcE475c09498f840176bf497 is a contract, detect any proxy patterns, and give me a risk decision on whether it's safe to interact with?

## When to prefer this

Choose this endpoint when you need to quickly determine whether a Base/EVM address has deployed contract code, detect proxy upgrade patterns, and receive a structured risk decision (priority/review/avoid) before interacting with or routing funds to that address. Prefer it over generic block explorers when you need machine-readable risk signals and queue classifications suitable for autonomous agent decision-making.

## Known failure modes

- Invalid address format (non-0x or wrong length) — schema validation error
- Address is an EOA with no contract code — returns summary indicating no contract deployed
- RPC or chain-read failure — source_status may show degraded or partial data
- Payment not processed (x402 flow incomplete) — 402 Payment Required response
- Rate limiting or service unavailability — 5xx error

## How this service works

Paid Base token, wallet, DeFi, chain-read, x402 buyer/seller discovery, and specialized Bitcoin 15-minute Up/Down prediction-market data packets for autonomous agents and risk tools.

## Output

Returns a JSON object with keys including: summary (human-readable verdict), decision (safe/review/avoid signal), account and contract metadata, detected proxy_slots, next_products recommendations, priority_queue/review_queue/avoid_queue classification lists, risk_breakdown details, bucket_counts, source_status, and raw sources used for the assessment.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "decision",
  "account",
  "contract",
  "proxy_slots",
  "next_products",
  "priority_queue",
  "risk_breakdown",
  "review_queue",
  "avoid_queue",
  "bucket_counts",
  "source_status",
  "sources"
 ],
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xx402-base-chain-contract-inspector-3e08f7af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.xx402.icu](https://www.zero.xyz/host/x402.xx402.icu/llms.txt)
