# ENS Address Resolver (skills.onesource.io)

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

Resolves an Ethereum address to its ENS primary name, or an ENS name to its address, along with chain-related metadata.

## Facts

- Endpoint: GET https://skills.onesource.io/api/chain/ens/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/skills-onesource-io-e47a8d69
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YDPFLNNpHA0E1hoAM7mFR

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 skills-onesource-io-e47a8d69
```

Example prompt: What's the ENS primary name for the Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on mainnet?

## When to prefer this

Use this endpoint when you need to resolve an Ethereum address to a human-readable ENS name (or vice versa) on mainnet or supported testnets/L2s including Base, Avalanche, and MegaETH. Prefer this over generic ENS libraries when you need a paid, hosted, always-on resolution service with multi-network support accessible via HTTP without running your own node.

## Known failure modes

- Address has no registered ENS primary name — returns null or empty name field
- Invalid Ethereum address format — 400 error due to schema mismatch
- ENS name not found or unregistered — empty or null address in response
- Unsupported network specified — error if network not in enum
- RPC or on-chain lookup timeout — 500 or gateway error
- Payment failure (x402) — 402 response if USDC not provided

## How this service works

Resolves an Ethereum address to its ENS name and chain-related info.

## Output

Returns the ENS primary name associated with the given Ethereum address (or the resolved address for a given .eth name), along with chain-related metadata such as network and resolution details.

## Example request

```json
{
 "network": "ethereum"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "oneOf": [
    {
     "type": "string",
     "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    {
     "type": "string",
     "pattern": ".+\\.eth$"
    }
   ]
  },
  "network": {
   "enum": [
    "ethereum",
    "sepolia"
   ],
   "type": "string",
   "default": "ethereum"
  }
 }
}
```

## More

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