{"uid":"cap_Al_z46_wdFXkj3H4E_loC","slug":"402rpc-ens-resolver-cd4d910a","name":"402rpc ENS Resolver","description":"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.","url":"https://402rpc.com/v1/eth/ens?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","pattern":"^[^\\s]{3,255}\\.[a-z]{2,}$","description":"ENS name, e.g. vitalik.eth."},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address for reverse lookup."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__GozTtKrXxK4ELOBY1pf5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves ENS names to Ethereum addresses (forward lookup) or Ethereum addresses to their verified primary ENS names (reverse lookup) using a full Ethereum mainnet node.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? Use a full Ethereum mainnet node for the lookup.","exampleUseCases":[{"title":"Resolve ENS name before sending payment","prompt":"Before I send ETH, look up the wallet address for nick.eth so I have the actual 0x address to send to."},{"title":"Label wallet address with ENS identity","prompt":"I have the Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — does it have a primary ENS name I can use to label it?"},{"title":"Verify ENS name ownership","prompt":"Can you check that alice.eth actually resolves to the address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B and that the reverse record is verified?"}],"resultDescription":"Returns either the resolved Ethereum address for a given ENS name (forward lookup) or the verified primary ENS name for a given address (reverse lookup, with forward-verification confirmed). Includes the canonical mapping between human-readable name and on-chain address.","failureModes":["ENS name does not exist or has no resolver set — returns null or error","Address has no primary ENS name set — returns empty reverse record","Invalid ENS name format — rejected by pattern validation","Invalid Ethereum address format — rejected by pattern validation","Neither name nor address provided — missing required query parameter","Temporary node connectivity issue — returns 5xx error","ENS name exists but forward/reverse mismatch — reverse record not verified"],"whenToPreferThis":"Choose this endpoint when you need a trustworthy, full-node-backed ENS resolution without requiring an API key or account — ideal for agents that need to resolve payment addresses on-the-fly, label addresses in transaction history, or verify ENS identity ownership. Prefer over third-party ENS APIs when on-chain accuracy and decentralization matter, or when you want pay-per-call pricing without subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:37:32.844Z","isFirstParty":false,"canonicalSlug":"402rpc-ens-resolver-cd4d910a"}