# Bot Bazaar Contract Inspector

> Bot Bazaar Contract Inspector is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Inspects a Base EVM address for contract type, bytecode size, proxy patterns (EIP-1967/EIP-1167), outgoing tx count, and OFAC SDN sanctions screening

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/contract-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bot-bazaar-contract-inspector-ba46fc4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xiwSPlu1GQxX9WV5E57WN

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 bot-bazaar-contract-inspector-ba46fc4f
```

Example prompt: Can you check the Base address 0xAbCd1234...EfGh for me — tell me if it's a contract or an EOA, what proxy pattern it uses if any, and whether it's on the OFAC sanctions list?

## When to prefer this

Choose this endpoint when you need a combined on-chain forensic + compliance check on a Base address in a single call. It uniquely bundles proxy pattern detection (EIP-1967 and EIP-1167), bytecode analysis, EOA classification, outgoing tx count, and OFAC SDN screening together, saving multiple separate RPC calls and compliance lookups. Prefer this over raw RPC calls when building compliance workflows, pre-interaction audits, or agent-to-agent trust checks on the Base network.

## Known failure modes

- Invalid address format (not 0x + 40 hex chars) returns validation error
- Address not found or never deployed on Base returns EOA classification with zero bytecode
- OFAC screening service unavailable may result in incomplete sanctions data
- RPC node timeout or Base network issues may cause delayed or failed responses
- Non-Base chain addresses will return incorrect or misleading results

## How this service works

Inspect a Base address for contract bytecode and proxy patterns: EOA vs contract, runtime bytecode byte length, EIP-1967 implementation/beacon/admin storage slots, EIP-1167 minimal proxy target, outgoing tx count, and an OFAC SDN screen.

## Output

Returns a structured report for the queried Base address including: whether it is an EOA or smart contract, the runtime bytecode byte length, EIP-1967 implementation/beacon/admin proxy slot values, EIP-1167 minimal proxy target address if applicable, the outgoing transaction count, and an OFAC SDN sanctions screening result.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "EVM address on Base (0x + 40 hex)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bot-bazaar-contract-inspector-ba46fc4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
