# kair-os.trade Base Contract Inspector

> kair-os.trade Base Contract Inspector is a paid API for AI agents from kair-os.trade, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Inspects a Base mainnet contract address to return bytecode fingerprint, EIP-1967 proxy storage slots, reported owner, and ERC-165 interfaces as raw on-chain evidence.

## Facts

- Endpoint: POST https://kair-os.trade/base-contract/inspect?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kair-os-trade-base-contract-inspector-edff28fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CT-mxOIeux7Bys-Kia_fy

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 kair-os-trade-base-contract-inspector-edff28fd -d '<json body>'
```

Example prompt: Can you inspect the Base contract at 0x4200000000000000000000000000000000000006 and tell me its bytecode fingerprint, whether it's an EIP-1967 proxy, who the reported owner is, and which ERC-165 interfaces it supports?

## When to prefer this

Choose this endpoint when you need raw, structured on-chain facts about a Base mainnet contract — specifically bytecode identity, proxy architecture (EIP-1967), ownership, and interface support — without needing a trust score or security audit. Prefer it over block explorers when you need machine-readable JSON output suitable for agent pipelines. Best used as a reconnaissance step before interacting with an unknown contract.

## Known failure modes

- Address does not exist on Base mainnet — returns empty or null bytecode fields
- Address is an EOA (not a contract) — bytecode fingerprint is empty, proxy/interface fields absent
- Invalid address format — rejected by pattern validation before call
- Network or RPC timeout — call fails with a service error
- Block finalization delay — data reflects most recent finalized block, not latest pending state

## How this service works

Inspect a Base address at a finalized block: bytecode fingerprint, EIP-1967 storage candidates, reported owner and ERC-165 interfaces. Returns raw evidence and unknowns; no security score or safety guarantee.

## Output

Returns raw on-chain evidence including a bytecode fingerprint (hash/selector summary), EIP-1967 proxy storage slot candidates and their values, the reported owner address (if any), detected ERC-165 interface IDs, and any unknowns or unrecognized fields. Explicitly provides no security score or safety guarantee.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "Base mainnet address to inspect; no user RPC URL or explorer URL."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kair-os-trade-base-contract-inspector-edff28fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kair-os.trade](https://www.zero.xyz/host/kair-os.trade/llms.txt)
