{"uid":"cap_cuXk92DSz7Qcrk8uhOzS1","slug":"agentstoolshub-ens-resolver-91e8c2db","name":"AgentsToolsHub ENS Resolver","description":"Resolve ENS names to addresses and look up reverse records (address → ENS name) via viem against Ethereum mainnet public RPCs. ENS data lives on Ethereum L1 regardless of where the wallet is active. Use this when an agent needs to eNS name ↔ address, bidirectional on Ethereum mainnet.","url":"https://agentstoolshub.com/api/v1/crypto/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","required":["value"],"properties":{"op":{"enum":["resolve","lookup"],"type":"string","description":"Operation"},"value":{"type":"string","description":"ENS name or address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Odcz2GtnM_ybjVAXXvqWc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 and performs reverse lookups (address to ENS name) against Ethereum mainnet via viem and public RPCs","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? Use ENS resolve on Ethereum mainnet.","exampleUseCases":[{"title":"Resolve ENS name before sending crypto","prompt":"I want to send ETH to alice.eth — can you look up what Ethereum address that ENS name resolves to so I can confirm before sending?"},{"title":"Identify wallet owner by address","prompt":"I have this Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — can you do a reverse ENS lookup and tell me what ENS name is registered to it?"},{"title":"Verify ENS name in dApp integration","prompt":"Before we display the user's profile, check whether the ENS name 'cooluser.eth' actually resolves to the wallet address 0xAbc123... on Ethereum mainnet so we know it's valid."}],"resultDescription":"Returns the resolved Ethereum address for a given ENS name (resolve operation), or the ENS name associated with a given Ethereum address (lookup/reverse operation), pulled live from Ethereum L1 via viem and public RPCs.","failureModes":["ENS name not registered or has no resolver — returns null or empty result","Address has no reverse ENS record set — returns null","Invalid ENS name format or malformed 0x address — returns validation error","Ethereum mainnet RPC temporarily unavailable — returns timeout or service error","ENS record exists but points to zero address — returned as-is"],"whenToPreferThis":"Use this endpoint when an agent needs to bidirectionally resolve between ENS names and Ethereum addresses on mainnet. Prefer this over building custom viem/ethers.js logic when you need a simple, paid-per-call REST interface without managing your own RPC keys. Especially useful when the agent is already handling x402 micropayments and needs a lightweight ENS lookup without spinning up blockchain infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:48.368Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-ens-resolver-91e8c2db"}