# Rooms by Aurmada — On-Chain Address Lookup

> Rooms by Aurmada — On-Chain Address Lookup is a paid API for AI agents from rooms.aurmada.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Fetches native ETH balance, USDC balance, contract status (including EIP-7702 delegation), code size, and nonce for any address on Base or Ethereum at the latest block.

## Facts

- Endpoint: GET https://rooms.aurmada.com/x402/v1/onchain/address?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rooms-by-aurmada-on-chain-address-lookup-590c88a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zru5MVaxFdyJHdgjzu-61

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 rooms-by-aurmada-on-chain-address-lookup-590c88a3
```

Example prompt: What's the ETH and USDC balance for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum, and is it a smart contract or a regular wallet?

## When to prefer this

Choose this endpoint when you need a quick, all-in-one snapshot of an address's on-chain state — balances, contract status, EIP-7702 delegation, code size, and nonce — in a single call on Base or Ethereum. It is ideal for pre-flight checks before sending transactions, auditing wallet states, or detecting smart contract accounts without needing to set up your own RPC infrastructure.

## Known failure modes

- Invalid address format (not a valid 0x hex address) returns a 400 error
- Unsupported chain value returns an error — only 'base' and 'ethereum' are accepted
- RPC node downtime or latency may cause timeouts or stale reads
- Payment failure via x402 protocol results in a 402 response and no data returned
- Address with no on-chain history may return zero balances and zero nonce

## How this service works

Rooms is one shared space for you, your people, and everyone's AI.

## Output

Returns the native ETH balance, USDC balance, a boolean indicating whether the address is a contract, whether it is an EIP-7702 delegated account, the bytecode size in bytes, and the current transaction nonce — all read live from public RPC nodes at the latest block on either Base or Ethereum.

## 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": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "Chain (default base)."
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "0x address."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "usdc": {
   "raw": "2500000",
   "balance": "2.5",
   "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "decimals": 6
  },
  "block": "52400000",
  "chain": "base",
  "nonce": 12,
  "native": {
   "wei": "1500000000000000000",
   "symbol": "ETH",
   "balance": "1.5"
  },
  "address": "0x3304E22DDaa22bCdC5fCa2269b418046aE7b566A",
  "chain_id": 8453,
  "is_contract": false,
  "code_size_bytes": 0,
  "eip7702_delegated_to": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rooms-by-aurmada-on-chain-address-lookup-590c88a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rooms.aurmada.com](https://www.zero.xyz/host/rooms.aurmada.com/llms.txt)
