{"uid":"cap_2WDz1CTQdpe63HJAcNNR7","slug":"ens-name-resolver-with-avatar-7638c92d","name":"ENS Name Resolver with Avatar","description":"ENS resolve: name -> address or address -> primary name, with avatar. 0.01 USDC/call on Base.","url":"https://task-radar-x402.vercel.app/api/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":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","properties":{"q":{"type":"string","description":"ENS name (vitalik.eth) or 0x address"}}}}}}},"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_6GNshgWgKkpRSsIuEBVHM","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 ENS names to Ethereum addresses (or reverse-resolves addresses to primary ENS names) and returns avatar metadata, paid via x402 at $0.01 USDC per call on Base.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to, and does it have an avatar set?","exampleUseCases":[{"title":"Resolve ENS before sending crypto","prompt":"I want to send ETH to someone whose address is nick.eth — can you look up the actual 0x wallet address that name points to?"},{"title":"Reverse-lookup address to ENS name","prompt":"I have this Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — does it have a primary ENS name registered?"},{"title":"Fetch ENS avatar for user profile","prompt":"Can you get the ENS profile info for ens.eth, including any avatar image, so I can display it on their profile page?"}],"resultDescription":"Returns the resolved Ethereum address for a given ENS name, or the primary ENS name for a given address, along with the avatar URL if one is set. Response includes the resolution direction and any relevant metadata about the ENS record.","failureModes":["ENS name not registered or has no resolver — returns null or empty address","Address has no primary ENS name set — reverse lookup returns empty","Invalid input format (neither valid ENS name nor 0x address) — likely returns an error","ENS name registered but no address record set — returns null","Payment failure via x402 — call not executed","RPC node timeout or ENS graph unavailability — service error"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call ENS resolution without managing your own RPC infrastructure or ENS SDK. Ideal for agents that occasionally need to resolve .eth names or reverse-lookup addresses on demand, especially when already operating in a Base/x402 payment context. Prefer this over self-hosted solutions when you want zero setup and are comfortable with the $0.01/call pricing model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:52.805Z","isFirstParty":false,"canonicalSlug":"ens-name-resolver-with-avatar-7638c92d"}