{"uid":"cap_hIpPpt5bTdf-0BWgbIfkO","slug":"ens-resolver-d149938b","name":"ENS Resolver","description":"Resolve an ENS name to an address, or an address to its primary ENS name.","url":"https://ens-resolver.pdfextractapi.workers.dev/resolve","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{"name":{"type":"string","description":"An ENS name to resolve to an address."},"address":{"type":"string","description":"An EVM address to reverse-resolve to its primary ENS name. Provide this or 'name', not both."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"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":"registry","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_XwUCmqHwZQe8yOBhwH0Sq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"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? Use ENS resolution to look it up.","exampleUseCases":[{"title":"Identify wallet behind ENS handle","prompt":"Can you look up what Ethereum address nick.eth points to? I want to send funds to the right wallet."},{"title":"Reverse lookup for address labeling","prompt":"I have this Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — does it have a human-readable ENS name I can display instead?"},{"title":"Verify ENS ownership in dApp","prompt":"Before I let this user log in, I need to verify what ENS name is linked to their wallet address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B — can you resolve it?"}],"resultDescription":"Returns either the resolved Ethereum address (hex string) for a given ENS name, or the primary ENS name (e.g. example.eth) for a given EVM address. The response is a JSON object containing the resolved value.","failureModes":["ENS name does not exist or has not been registered — returns null or error","Address has no primary ENS name set — returns null","Invalid ENS name format — input validation error","Both name and address provided simultaneously — rejected by API","Network or DNS resolution failure — HTTP 5xx error","Rate limiting or payment failure for x402 payment — HTTP 402 error"],"whenToPreferThis":"Use this endpoint when you need to programmatically resolve ENS names to Ethereum addresses or perform reverse lookups (address to ENS name) within an automated agent workflow. It's ideal when ENS resolution needs to be embedded in a payment flow, identity verification, or user display logic without requiring an on-chain RPC call or maintaining an ENS library locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:46.902Z","isFirstParty":false}