# ENS Name Lookup (httpay.xyz)

> ENS Name Lookup (httpay.xyz) is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Resolves an ENS name (e.g. vitalik.eth) or Basename (.base.eth / .base) to its Ethereum address and associated profile records, and supports reverse lookups.

## Facts

- Endpoint: POST https://httpay.xyz/api/ens-lookup/vitalik.eth
- 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/httpay-xyz-aa497d54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WuqIx33XCmBipQ7DlYDH4

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 httpay-xyz-aa497d54 -d '<json body>'
```

Example prompt: Look up vitalik.eth and tell me the Ethereum address it resolves to, plus any avatar, Twitter, or GitHub profile records attached to it.

## When to prefer this

Use this endpoint when you need to resolve ENS names or Basenames (.eth, .base.eth, .base) to Ethereum addresses, or when you want the full profile record set (avatar, social handles, email) associated with an ENS identity. Prefer over raw on-chain calls when you need a convenient REST interface that handles both mainnet ENS and Base L2 Basenames in one call.

## Known failure modes

- ENS name does not exist or is unregistered — returns not-found or null address
- Name has expired — may return stale or empty data
- Reverse lookup fails if no ENS name is set for the address
- Base L2 Basename resolution may fail if queried against mainnet ENS resolver
- Rate limit or payment failure (402) if USDC not provided

## How this service works

Resolve ENS name to Ethereum address (and reverse). Works with .eth names and Basenames (.base.eth / .base on Base L2). Returns address, avatar, text records (email, url, twitter, github, description), expiry.

## Output

Returns the resolved Ethereum address for the ENS name or Basename, along with profile metadata including avatar URL, email, website URL, Twitter handle, GitHub handle, human-readable description, and expiry date of the name registration.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-aa497d54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
