# OneSource ENS Resolver

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

Resolves a .eth ENS name to its Ethereum address, or an Ethereum address to its primary .eth ENS name, via live eth_call on multiple networks

## Facts

- Endpoint: GET https://skills.onesource.io/api/chain/ens/:address
- Price: $0.005000/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-1fa8ff61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rD7Yfyp1FWyJQnWE1QTLj

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-1fa8ff61
```

Example prompt: What Ethereum address does vitalik.eth resolve to on the Ethereum mainnet? And while you're at it, what's the primary ENS name for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?

## When to prefer this

Use this endpoint when you need real-time, on-chain ENS resolution (not cached) for either forward (.eth→address) or reverse (address→.eth) lookups, especially when supporting multiple networks including Ethereum mainnet, Base, Sepolia, Avalanche, and MegaETH. Prefer this over general-purpose blockchain APIs when you need a simple, dedicated ENS resolution call without additional overhead.

## Known failure modes

- ENS name not registered or has no resolver — returns null or empty address
- Address has no primary ENS name set — returns empty result
- Invalid address format (not 0x + 40 hex chars) — schema validation error
- Unsupported network specified — enum validation error
- RPC timeout or network congestion — upstream error
- Name exists but points to zero address — returns 0x000...000

## How this service works

ENS resolve — turn a .eth name into an address, or an address into its primary .eth name, via eth_call on OneSource live Ethereum RPC

## Output

Returns the resolved Ethereum address (when given a .eth name) or the primary .eth ENS name (when given an 0x address), including chain-related identity info from live on-chain eth_call resolution.

## Example request

```json
{
 "address": "vitalik.eth",
 "network": "ethereum"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/skills-onesource-io-1fa8ff61/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)
