{"uid":"cap_e-IyJi4gTlj7JAQ_USdGS","slug":"ens-resolve-a9e981e0","name":"ENS Resolve","description":"ENS resolve on Ethereum: a .eth name to its address (?name=vitalik.eth), or an address to its primary ENS name (?address=0x...), forward-verified so a reverse record pointing elsewhere is never returned as the name.","url":"https://apexfaucet.xyz/api/x402/ens-resolve?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"name":{"type":"string","description":"An ENS name to resolve to an address. Pass name OR address."},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An address to look up its ENS name (forward-verified). Pass name OR address."}}}}},"output":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UWeGKgUajlNcirK7PwGrE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves an ENS .eth name to its Ethereum address, or reverse-resolves an Ethereum address to its primary ENS name with forward-verification.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? And while you're at it, what's the forward-verified ENS name for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?","exampleUseCases":[{"title":"Resolve ENS name before sending funds","prompt":"Before I send ETH to vitalik.eth, can you look up what Ethereum address that ENS name actually resolves to so I can double-check it's correct?"},{"title":"Identify wallet owner by ENS name","prompt":"I have this wallet address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — does it have a primary ENS name set? Make sure the reverse record is actually forward-verified."},{"title":"Enrich transaction data with ENS names","prompt":"I have a list of Ethereum addresses from recent transactions — can you look up their ENS names so I can display human-readable labels instead of raw 0x addresses in my dashboard?"}],"resultDescription":"Returns either the resolved Ethereum address (0x...) for a given ENS name, or the forward-verified primary ENS name for a given Ethereum address. Forward verification ensures the reverse record actually points back to the queried address, preventing spoofed or mismatched ENS names from being returned.","failureModes":["ENS name does not exist or has no resolver set — returns null or error","Address has no primary ENS name set — returns empty/null name","Reverse record exists but fails forward verification (points elsewhere) — not returned as a valid name","Invalid address format (not a valid 0x... hex address) — input validation error","Neither name nor address parameter provided — returns error about missing required parameter","Both name and address provided simultaneously — ambiguous input error","Network/RPC issues preventing ENS resolution — upstream timeout or error"],"whenToPreferThis":"Use this endpoint when you need to resolve ENS names to Ethereum addresses or reverse-resolve addresses to their primary ENS names with forward-verification guarantee. It is particularly valuable when you need verified, trustworthy ENS resolution (no spoofed reverse records) at a low per-call cost of $0.002 USDC. Prefer this over raw RPC calls when you need a simple HTTP API without managing your own Ethereum node or ENS library setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:35:25.176Z","isFirstParty":false,"canonicalSlug":"ens-resolve-a9e981e0"}