# ENS Name Lookup (rockndefi.xyz)

> ENS Name Lookup (rockndefi.xyz) is a paid API for AI agents from rockndefi.xyz:8443, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-22).

Resolves an ENS name to its Ethereum address (or performs reverse lookup from address to ENS name), paid per-call via USDC on Base using x402.

## Facts

- Endpoint: GET https://rockndefi.xyz:8443/v1/chain/ens?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ens-name-lookup-rockndefi-xyz-697c40e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B7nWJTqqpCbH6I_w_ujBQ

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 ens-name-lookup-rockndefi-xyz-697c40e6
```

Example prompt: What Ethereum address does vitalik.eth resolve to? Use an ENS lookup to get the 0x address.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-as-you-go ENS resolution without requiring an account or API key. Ideal for AI agents or automation workflows that need occasional ENS lookups billed in USDC on Base. Prefer over self-hosted resolvers when you want zero infrastructure overhead and cost is acceptable at $0.002 per call.

## Known failure modes

- ENS name not found or not registered — returns empty or null address
- Invalid ENS name format — may return error response
- Address has no reverse ENS record set — reverse lookup returns null name
- Network or upstream ENS resolver unavailable — returns 5xx or timeout
- Payment not fulfilled via x402 — returns 402 Payment Required before processing

## How this service works

Pay-per-call website uptime/latency/TLS checks and fetch-to-Markdown, measured from US Central (St. Louis). USDC on Base via x402. No account or API key.

## Output

Returns a JSON object containing the resolved ENS name and its corresponding Ethereum address (e.g. {"name": "vitalik.eth", "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}). Supports both forward (name → address) and reverse (address → name) lookups.

## 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": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "example": "vitalik.eth",
       "description": "ENS name like vitalik.eth (or pass address= for reverse lookup)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "vitalik.eth",
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ens-name-lookup-rockndefi-xyz-697c40e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rockndefi.xyz:8443](https://www.zero.xyz/host/rockndefi.xyz%3A8443/llms.txt)
