{"uid":"cap_ZO_ABdN6e_PLCT-YEi6Wr","slug":"x402-ens-resolver-078f9b82","name":"x402 ENS Resolver","description":"Resolve an ENS name to an address, or reverse-resolve an address to its primary ENS name","url":"https://agentx402pay.com/api/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":"ENS name to resolve, e.g. \"vitalik.eth\""},"address":{"type":"string","description":"EVM address to reverse-resolve to its primary ENS name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-rOjvNhKExDJE70gsKmSp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves an ENS name to an Ethereum address, or reverse-resolves an EVM address to its primary ENS name","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? And can you also do the reverse — take this address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 and find its primary ENS name?","exampleUseCases":[{"title":"Resolve ENS name before payment","prompt":"Before I send funds, can you look up what wallet address ens-name.eth actually resolves to so I can verify it's correct?"},{"title":"Identify wallet owner by ENS name","prompt":"I have the address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B — does it have a primary ENS name registered so I know who it belongs to?"},{"title":"Enrich on-chain transaction data","prompt":"I'm building a report of recent transactions — can you reverse-resolve each of these wallet addresses to their ENS names so the report is human-readable?"}],"resultDescription":"Returns either the resolved Ethereum address for a given ENS name (forward lookup) or the primary ENS name associated with a given EVM address (reverse lookup). If no record is found, the response will indicate the name or address could not be resolved.","failureModes":["ENS name not registered or has no resolver set — returns null or error","Address has no primary ENS name set — returns null","Invalid ENS name format — returns validation error","Invalid EVM address format — returns bad request error","ENS registry temporarily unreachable — returns upstream timeout","Neither 'name' nor 'address' query param provided — returns missing parameter error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call ENS resolution without running your own node or maintaining an RPC connection. Ideal for agents that occasionally need to resolve ENS names or reverse-lookup addresses in the context of blockchain workflows, user identification, or transaction enrichment, without the overhead of a full Ethereum RPC setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T10:39:11.098Z","isFirstParty":false,"canonicalSlug":"x402-ens-resolver-078f9b82"}