# Grokzilla ENS & Basename Resolver

> Grokzilla ENS & Basename Resolver is a paid API for AI agents from grokzilla.shop, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-30).

Resolves ENS (.eth) and Basenames (.base.eth) names to Ethereum/Base addresses, and reverses 0x addresses back to names, with avatar and forward-verification support.

## Facts

- Endpoint: POST https://grokzilla.shop/api/skills/name-resolve?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grokzilla-ens-basename-resolver-261a3f85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vhg7RBgRWqrIBMH4_wpJC

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 grokzilla-ens-basename-resolver-261a3f85 -d '<json body>'
```

Example prompt: What's the Ethereum wallet address for vitalik.eth? Also tell me if it forward-verifies and grab the avatar if there is one.

## When to prefer this

Use this endpoint when you need to resolve ENS or Basenames identities in a pay-per-call context without maintaining your own Ethereum node or API key. It handles both forward and reverse resolution across Ethereum mainnet (ENS) and Base (Basenames) in one call, and includes forward_verified and avatar fields that would otherwise require multiple RPC calls. Prefer it over raw RPC if you want a simple REST interface at low per-call cost.

## Known failure modes

- Name not registered or expired — returns null address or not-found error
- Address has no reverse record set — reverse lookup returns empty name
- Network timeout reaching ENS or Base resolver nodes — service-level error
- Malformed query (not a valid .eth name or 0x address) — validation error returned
- Forward verification fails if name resolves to a different address than queried

## How this service works

Resolve ENS (.eth) on Ethereum and Basenames (.base.eth) on Base, forward or reverse. Returns address, name, source, forward_verified, optional avatar.

## Output

Returns a JSON object containing the resolved Ethereum or Base address, the canonical name, the resolution source (ENS or Basenames), a forward_verified boolean indicating whether the name and address mutually resolve, and optionally an avatar URL if one is set on the name record.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "maxLength": 200,
   "minLength": 1,
   "description": "ENS/Basename or 0x address"
  },
  "direction": {
   "enum": [
    "auto",
    "forward",
    "reverse"
   ],
   "type": "string",
   "default": "auto"
  },
  "request_id": {
   "type": "string",
   "pattern": "^[A-Za-z0-9._:-]+$",
   "maxLength": 64,
   "minLength": 1,
   "description": "Optional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "name": "vitalik.eth",
   "block": 22000000,
   "query": "vitalik.eth",
   "avatar": null,
   "source": "ens",
   "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
   "forward_verified": true
  },
  "next": [
   "address_validate",
   "erc20_meta"
  ],
  "skill": "name_resolve",
  "charged": true,
  "service": "name_resolve",
  "sources": [
   {
    "url": "https://etherscan.io/address/0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
    "name": "ENS Registry",
    "fetched_at": "2026-10-24T14:00:00Z"
   },
   {
    "url": "https://basescan.org/address/0xc6d566a56a1aff6508b41f6c90ff131615583bcd",
    "name": "Basename L2 Resolver",
    "fetched_at": "2026-10-24T14:00:00Z"
   }
  ],
  "summary": "vitalik.eth → vitalik.eth = 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 (ens)",
  "version": "1.0.0",
  "warnings": [],
  "confidence": 0.95,
  "data_as_of": "2026-10-24T14:00:00Z",
  "generated_at": "2026-10-24T14:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grokzilla-ens-basename-resolver-261a3f85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from grokzilla.shop](https://www.zero.xyz/host/grokzilla.shop/llms.txt)
