J

JustaName ENS Resolver · ENS Resolve

by JustaName ENS Resolver

GETBase

$0.005

per call · USD Coin on Base

Resolves an ENS name into its addresses, text records, and content hash, with batch support up to 50 names and per-name chain scoping via interop addresses.

Endpoint

GET https://api.justaname.id/ens/v2/resolve

19

Calls / 30d

10

Unique payers / 30d

Sep 7

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://api.justaname.id/ens/v2/resolve", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.justaname.id/ens/v2/resolve?ens=vitalik.eth" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "fullName": "vitalik.eth",
  "records": {
    "contentHash": {
      "decoded": "ipns://k51qzi5uqu5dgox2z23r6e99oqency055a6xt92xzmyvpz8mwz5ycjavm0u2u8",
      "protocolType": "ipns"
    },
    "texts": [
      {
        "key": "url",
        "value": "https://vitalik.ca"
      },
      {
        "key": "avatar",
        "value": "eip155:1/erc721:0x..."
      }
    ]
  },
  "resolvedAddress": {
    "coinType": "60",
    "value": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  }
}

Payment details

Pay to0xc529edd6d47c60923902514c7c0b3993ae42c2ec
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from JustaName ENS Resolver & similar services