# ENS Name Resolution via OneSource Ethereum RPC

> ENS Name Resolution via OneSource Ethereum RPC 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-15).

Bidirectionally resolves ENS names to Ethereum addresses and Ethereum addresses to their primary ENS names using live eth_call on supported networks

## Facts

- Endpoint: GET https://skills.onesource.io/api/chain/ens/:input
- 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/skills-onesource-io-d4ac121e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j3BDApJ0RpBPmoBLjuXR2

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-d4ac121e
```

Example prompt: What Ethereum address does vitalik.eth resolve to on mainnet? Also, what's the primary ENS name for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?

## When to prefer this

Use this endpoint when you need real-time, live on-chain ENS resolution without running your own Ethereum node. Ideal for agents that need to translate human-readable .eth names to addresses (or vice versa) as part of a wallet lookup, transaction preparation, or identity enrichment flow. Supports multiple networks including mainnet, Sepolia, Base, and Avalanche, making it versatile for multi-chain workflows.

## 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 or null name
- Invalid input format (not a valid 0x address or .eth name) — 400 error
- Network not supported or RPC unavailable — 5xx error
- ENS resolution points to zero address — treated as unregistered

## 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 for a given .eth name, or the primary ENS name associated with a given 0x address, along with chain-related metadata. Response is derived from a live eth_call against the ENS registry on the specified network.

## Example request

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

## More

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