E

ENS Resolver · Resolve

by ENS Resolver

POSTBaseSolana

$0.01

per call · USD Coin on Base

Look up an ENS name or an Ethereum address and get back the matching one, automatically figuring out which direction you need.

Endpoint

POST https://ens-resolver.underscoredone.com/resolve

5

Calls / 30d

3

Unique payers / 30d

Sep 1

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://ens-resolver.underscoredone.com/resolve", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "query": "vitalik.eth"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://ens-resolver.underscoredone.com/resolve" \
  -H "Content-Type: application/json" \
  -d '{"query":"vitalik.eth"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "api_version": "1.0.0"
}

Payment details

Pay to0xe9740820225b3918b4ddd1292c7ca4ca0e2c2f08
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