# x402 Agent Hub – EVM Address Classifier

> x402 Agent Hub – EVM Address Classifier is a paid API for AI agents from x402-agent-hub.x402-agent-hub.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-14).

Classifies any Ethereum-compatible address on 7 EVM chains as EOA, delegated EOA, or contract, and returns code size, nonce, native balance, and proxy detection details.

## Facts

- Endpoint: GET https://x402-agent-hub.x402-agent-hub.workers.dev/v1/chain/address-info?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-hub-evm-address-classifier-0d75f92b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4IXnspWgIlOCMlL2luKi7

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 x402-agent-hub-evm-address-classifier-0d75f92b
```

Example prompt: Is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 a contract or a wallet on Base, and if it's a proxy, what's the implementation address?

## When to prefer this

Choose this endpoint when you need to classify an EVM address before interacting with it — especially to detect proxy patterns (EIP-1967, ZeppelinOS/USDC-style, EIP-1167 minimal proxies) and EIP-7702 delegations across 7 chains including Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, and Avalanche. It consolidates type detection, proxy resolution, nonce, balance, and code size into a single call and only charges on success.

## Known failure modes

- Invalid or malformed address returns an error without charging
- Unsupported chain name or ID returns an error without charging
- Upstream RPC node unavailability cancels settlement and returns an error
- Address not found or zero-balance EOA with no code returns minimal data but succeeds

## How this service works

Classify any address on 7 EVM chains before interacting with it: EOA, EIP-7702-delegated EOA or contract, code size, nonce, native balance, and proxy detection (EIP-1967 implementation/admin/beacon slots, legacy ZeppelinOS proxies such as USDC, and EIP-1167 minimal proxies). You only pay for successful reads: invalid input, not-found and upstream errors cancel settlement.

## Output

Returns a JSON object with the address type (EOA, CONTRACT), chain, chain ID, nonce, native balance, code size in bytes, EIP-7702 delegation target (if any), and a proxy object containing the detected proxy standard (EIP-1967, ZEPPELINOS, EIP-1167, or null), implementation address, admin address, and beacon address.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default), ethereum, arbitrum, optimism, polygon, bsc or avalanche. Chain IDs also accepted."
      },
      "address": {
       "type": "string",
       "description": "0x-prefixed wallet or contract address."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "CONTRACT",
  "chain": "base",
  "nonce": 1,
  "proxy": {
   "admin": "0x4fc7850364958d97B4d3f5A08f79db2493f8cA44",
   "beacon": null,
   "standard": "ZEPPELINOS",
   "implementation": "0x2Ce6311ddAE708829bc0784C967b7d77D19FD779"
  },
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "chainId": 8453,
  "delegatedTo": null,
  "codeSizeBytes": 1852
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-hub-evm-address-classifier-0d75f92b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-hub.x402-agent-hub.workers.dev](https://www.zero.xyz/host/x402-agent-hub.x402-agent-hub.workers.dev/llms.txt)
