E

ENS Resolver · Chain ENS

by ENS Resolver

GETBaseSolana

$0.005

per call · USD Coin on Base

Resolve ENS in either direction on Ethereum: an ENS name (vitalik.eth) → its 0x address, or a 0x address → its primary ENS name (plus avatar when set). The identity read wallet, payment, and UX agents make to verify who they're sending to or to show a human-readable name instead of a raw hex address. Free upstream (Blockscout ENS / live registry); one paid call instead of running your own resolver.

Endpoint

GET https://store.agentexchange.work/chain/ens

2

Calls / 30d

1

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://store.agentexchange.work/chain/ens", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://store.agentexchange.work/chain/ens?name=vitalik.eth" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "avatar": null,
  "chain": "ethereum",
  "direction": "name->address",
  "name": "vitalik.eth",
  "query": "vitalik.eth",
  "resolved": true
}

Payment details

Pay to0xc91ce6291edc0713ec753bafba002506ffb2b95c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from ENS Resolver & similar services