← All APIs Network

ENS Resolver API

Look up an ENS name or address and get back the matching one.

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

POSThttps://ens-resolver.underscoredone.com/resolve
Pricing

$0.01 per request — pay via x402/USDC. No account needed.

How to use

Send the query field with either an ENS name ending in .eth or a 0x Ethereum address. The service auto-detects direction: names resolve forward to addresses, addresses resolve backward to their primary ENS name. If nothing is found, resolved will be false and address or name may be null, but this is not an error. Only malformed input causes a 400 error.

Input parameters
NameTypeRequiredDescription
querystringyesAn ENS name like vitalik.eth, or an Ethereum address starting with 0x. The service automatically figures out which one you gave it.
Example response
{
  "api_version": "1.0.0"
}
Error responses
StatusMeaning
400Bad request — your input failed validation or could not be processed. Check the detail field for specifics.
402Payment required. Send a signed USDC payment on Base Mainnet or Solana Mainnet using the x402 protocol.
422Unprocessable — a required field is missing or the wrong type. Check the detail field for specifics.
Links