# 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-10-10).

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

## Facts

- Endpoint: GET https://skills.onesource.io/api/chain/ens/nick.base.eth?utm_source=zero.xyz
- Price: $0.005000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/skills-onesource-io-6ae0d9aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gtNYU71ofTKq3DAzoJkQ7

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-6ae0d9aa
```

Example prompt: What Ethereum address does nick.base.eth resolve to on the Base network?

## When to prefer this

Use this endpoint when you need to resolve or reverse-resolve ENS names against a live Ethereum RPC across multiple networks including Ethereum mainnet, Base, Avalanche, Sepolia, and MegaETH. Prefer this over static registry lookups when you need real-time on-chain accuracy or need to resolve names on non-mainnet networks.

## Known failure modes

- ENS name not registered or expired — returns null or empty resolution
- Address has no reverse ENS record set — no primary name returned
- Unsupported network specified — validation error on network enum
- Malformed input (invalid address format or missing .eth suffix) — 400 bad request
- RPC node unavailable or rate-limited — 5xx error
- Name resolves to zero address — indicates unset or burned registration

## 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 .eth name for a given address, along with chain-related on-chain metadata fetched via a live Ethereum RPC call.

## Example request

```json
{}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {},
 "description": "No body parameters needed. The ENS name is passed as a URL path segment (e.g., /api/chain/ens/nick.base.eth). The network defaults automatically."
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "meta"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "name",
    "is_forward",
    "is_reverse",
    "error"
   ],
   "properties": {
    "name": {
     "type": "string"
    },
    "error": {
     "type": "string"
    },
    "is_forward": {
     "type": "boolean"
    },
    "is_reverse": {
     "type": "boolean"
    }
   }
  },
  "meta": {
   "type": "object",
   "required": [
    "endpoint",
    "request_id"
   ],
   "properties": {
    "endpoint": {
     "type": "string"
    },
    "request_id": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

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