# ENS Name Resolver

> ENS Name Resolver is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Resolves an ENS name (e.g. vitalik.eth) to its corresponding Ethereum wallet address on mainnet

## Facts

- Endpoint: GET https://agent402.tools/api/ens-resolve?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ens-name-resolver-e84cd7e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U96C1xYvmiR-hjiyfhkPz

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-resolver-e84cd7e5
```

Example prompt: What Ethereum address does vitalik.eth resolve to? I need to send a payment to that wallet.

## When to prefer this

Use this endpoint when an agent needs to convert a human-readable ENS name (*.eth) into a valid Ethereum address before constructing a transaction or payment. Ideal for pre-payment address resolution workflows where the user supplies an ENS name rather than a raw 0x address.

## Known failure modes

- ENS name does not exist or is unregistered — returns an error or null address
- ENS name has no address record set — resolver returns empty
- Invalid ENS name format — query rejected
- Network timeout reaching Ethereum mainnet resolver
- ENS name recently transferred and cache not yet updated

## How this service works

Resolve an ENS name (e.g. vitalik.eth) to its Ethereum address - so an agent can turn a human-readable recipient into a payable address. Read-only on Ethereum mainnet.

## Output

Returns the resolved Ethereum wallet address (0x…) corresponding to the given ENS name on Ethereum mainnet, enabling the agent to use it as a payable recipient 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": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "an ENS name, e.g. name.eth"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "name",
      "address",
      "found"
     ],
     "properties": {
      "name": {
       "type": "string"
      },
      "found": {
       "type": "boolean"
      },
      "address": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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