{"uid":"cap_O1JLZTYdIa3C4GRgPlA6D","slug":"api-strale-io-1c1808c6","name":"ENS Name Resolver","description":"Resolve an ENS name to its Ethereum address. Supports all ENS names including .eth, DNS names on ENS, and subdomains. Also returns avatar URL and resolver contract.","url":"https://api.strale.io/x402/ens-resolve","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"ENS name to resolve (e.g., 'vitalik.eth')"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"name":"vitalik.eth"},"response":{"name":"vitalik.eth","_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0x90cf0092fbe91d9a928623416e11d8560ead85c71cef0a6d22708ceb2a6a0e14"},"capability":"ens-resolve","latency_ms":60,"provenance":{"source":"ens.domains (via eth RPC)","fetched_at":"2026-06-13T04:25:34.295Z"}},"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","resolved":true,"resolver":"0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63","avatar_url":"https://euc.li/vitalik.eth"}},"exampleRequest":{"name":"vitalik.eth"},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Vyu9u2XH7jodANCh1xdki","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","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 (e.g. vitalik.eth) to its Ethereum address, avatar URL, and resolver contract","exampleAgentPrompt":"What Ethereum wallet address does 'vitalik.eth' resolve to on ENS? Also grab the avatar URL and resolver contract if available.","exampleUseCases":[{"title":"Verify donor wallet before processing donation","prompt":"I need to confirm that the donor's ENS name 'alice.eth' actually maps to their Ethereum address before we finalize this contribution. Can you resolve it and get me the address, avatar, and resolver contract details?"},{"title":"Authenticate user identity in dApp onboarding","prompt":"A user just entered their ENS domain 'bob.eth' during signup. Please resolve that to their actual Ethereum address and fetch their avatar so we can display it on their profile right away."},{"title":"Validate counterparty in DeFi transaction","prompt":"Before we execute this peer-to-peer swap, resolve the counterparty's ENS name 'charlie.eth' to their wallet address and show me their avatar URL and resolver contract so I can verify this is the right person."}],"resultDescription":"Returns the resolved Ethereum address, a boolean indicating whether resolution succeeded, the ENS name itself, and optionally an avatar URL associated with the name and the resolver contract address.","failureModes":["ENS name not found or unregistered — resolved: false returned","Invalid ENS name format — input validation error","ENS name has no address record set — empty address field","Payment not provided or insufficient — 402 Payment Required response","Network or ENS infrastructure timeout — 5xx error"],"whenToPreferThis":"Use this endpoint when you need to programmatically convert a human-readable ENS name (including .eth names, DNS names on ENS, and subdomains) to an Ethereum address, especially when you also need the associated avatar URL or resolver contract in a single call. Prefer this over on-chain calls when you want a simple REST API without managing an Ethereum node or web3 library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:28.050Z","isFirstParty":false}