{"uid":"cap_bmzIXiMCi8iUTXB0U7_-8","slug":"ens-resolver-62df972e","name":"ENS Resolver","description":"Forward + reverse ENS resolution on Ethereum mainnet: turn vitalik.eth into an address, or an address into its primary ENS name. Complements the Basename resolver for Base.","url":"https://402.com.tr/api/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"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["query"],"properties":{"query":{"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.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_r6FyEYUaGNWRK_BTlH3k-","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 (forward) or Ethereum addresses to their primary ENS name (reverse) on mainnet.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? Also, can you reverse-lookup 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 and tell me its primary ENS name?","exampleUseCases":[{"title":"Resolve ENS name before sending funds","prompt":"Before I send ETH to nick.eth, can you look up what Ethereum address that ENS name actually points to so I can confirm it's correct?"},{"title":"Identify wallet owner by ENS name","prompt":"I have this wallet address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B — does it have a primary ENS name registered to it?"},{"title":"ENS name validation in dApp onboarding","prompt":"A user typed 'mywallet.eth' as their identifier — can you resolve it to an Ethereum address so I can verify it's a valid, registered ENS name before proceeding?"}],"resultDescription":"Returns the resolved Ethereum address for a given ENS name (forward resolution), or the primary ENS name associated with a given Ethereum address (reverse resolution). Includes the query input, resolution type, and the resolved value.","failureModes":["ENS name not registered — returns null or empty address","Address has no primary ENS name set — returns empty or null name","Invalid ENS name format — returns error","Invalid Ethereum address format — returns validation error","ENS resolution temporarily unavailable due to RPC issues — returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need ENS resolution on Ethereum mainnet — both forward (name→address) and reverse (address→name) in a single endpoint. Prefer this over building your own ENS resolution when you need a quick, pay-per-call lookup without managing your own Ethereum RPC node. Complement with the Basename resolver (also on 402.com.tr) when Base L2 name resolution is needed instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:09:22.909Z","isFirstParty":false}