# ENS Resolver

> ENS Resolver is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Resolves an ENS name or Ethereum address to its canonical Ethereum address and avatar URL using the ENS Ideas API

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/stormy_walrus/ens-resolver
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ens-resolver-10ddca61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_di6J4gREwgb_DaoIgjIvG

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-resolver-10ddca61 -d '<json body>'
```

Example prompt: What Ethereum address does vitalik.eth resolve to, and does it have an avatar set?

## When to prefer this

Use this endpoint when you need a lightweight, no-account, pay-per-call ENS resolution without setting up a web3 provider or wallet connection. Ideal for agents that need to quickly resolve ENS names or reverse-lookup Ethereum addresses within an automated workflow.

## Known failure modes

- ENS name not registered or expired returns empty or null address
- Ethereum address with no reverse ENS record returns no name
- Invalid ENS name format or non-existent TLD returns an error
- Avatar not set for the ENS profile returns null avatar URL
- Network or ENS Ideas API downtime causes timeout or 5xx error

## How this service works

ENS Resolver - Call when you have an ENS name and need the canonical Ethereum address it points at, before sending funds or labelling a transaction. Send the name or an address. Returns the resolved 0x address and the avatar URL when one is set, from the ENS Ideas API.

## Output

Returns the canonical Ethereum address (hex format) and avatar URL associated with the provided ENS name or Ethereum address, sourced from the ENS Ideas API.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "The instruction or prompt for the AI agent"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "string",
       "description": "The agent's response text"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ens-resolver-10ddca61/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.amnt.io](https://www.zero.xyz/host/www.amnt.io/llms.txt)
