Skip to content
Fourohtwo

Resolve ENS on Ethereum mainnet from a full node

402rpc.com/v1/eth/ens

Resolve ENS on Ethereum mainnet from a full node: name to address (e.g. vitalik.eth) or address to primary name (reverse record, verified forward). Use it to turn human-readable names into payment addresses and to label addresses. Give either name or address.

BasePolygonArbitrumUnchecked
GEThttps://402rpc.com/v1/eth/ens

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://402rpc.com/v1/eth/ens?name=vitalik.eth");
console.log(await res.json());

Example input

{
  "name": "vitalik.eth"
}

More from 402rpc