# ChainRay ENS Resolve

> ChainRay ENS Resolve is a paid API for AI agents from chainray.online, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Resolves an ENS name to its Ethereum address (or vice versa) using on-chain data

## Facts

- Endpoint: GET https://chainray.online/ens-resolve/:var1
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-ens-resolve-e9b6c98c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hsCtKuDDhW4Q0PxgvcLm7

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 chainray-ens-resolve-e9b6c98c
```

Example prompt: What Ethereum address does vitalik.eth resolve to? Use ChainRay to look it up on-chain.

## When to prefer this

Use this endpoint when you need to resolve ENS names to Ethereum addresses (or reverse) as part of a blockchain workflow — e.g., before sending a transaction, verifying an identity, or displaying human-readable names for wallet addresses. Prefer this over generic ENS libraries when you need a hosted, pay-per-call API with no local node required.

## Known failure modes

- ENS name not registered or has no resolver — returns null or 404
- Invalid Ethereum address format — returns 400 bad request
- ENS name expired — may return stale or no result
- Network or RPC node unavailable — returns 503
- nameOrAddress query param missing — returns 400

## How this service works

ChainRay /ens-resolve

## Output

Returns the resolved Ethereum address for a given ENS name, or the ENS name associated with a given Ethereum address, pulled from on-chain data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "nameOrAddress"
     ],
     "properties": {
      "nameOrAddress": {
       "type": "string",
       "description": "ENS name or Ethereum address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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