{"uid":"cap_K511xaDHLI6tB0PJHx1Ii","slug":"api-x402node-dev-d6e0204f","name":"ENS + Basename Bidirectional Resolver","description":"Bidirectional ENS + Basename resolution: POST { name } (e.g. vitalik.eth or jesse.base.eth) to resolve its address, or POST { address } to resolve its primary name (checks both Base basename and Ethereum .eth). Uses the L1 ENS Universal Resolver with ENSIP-19, CCIP-read, which a Base-only RPC cannot do. For AI agents resolving human-readable names to addresses and labeling counterparties before transacting. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/wallet/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"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"ENS name e.g. vitalik.eth (required)"},"address":{"type":"string","description":"EVM/chain address (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5GEOzs_uHIz1zLSHMefXQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves ENS names (e.g. vitalik.eth) to Ethereum addresses and reverse-resolves addresses to their primary ENS or Base basename, using L1 ENS Universal Resolver with CCIP-read support.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? Also, does the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 have a registered primary ENS name or Base basename?","exampleUseCases":[{"title":"Identify wallet before sending crypto","prompt":"Before I send any ETH, can you look up what address jesse.base.eth resolves to? I want to make sure I have the right destination before confirming the transaction."},{"title":"Label counterparty by wallet address","prompt":"I just received a transfer from 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B — do they have a registered ENS name or Base basename I can use to identify them?"},{"title":"Validate human-readable ENS name","prompt":"Someone sent me coinbase.base.eth as their payment address. Can you resolve it to the actual on-chain Ethereum address so I can verify it before adding it to my contacts?"}],"resultDescription":"Returns the resolved Ethereum address for a given ENS or Base basename, or the primary ENS/.base.eth name registered for a given address. Handles both forward and reverse resolution including CCIP-read for off-chain ENS records used by Base basenames.","failureModes":["Name not registered or expired — returns null or error indicating no resolver found","Address has no primary name set — returns null for reverse lookup","Invalid ENS name format — returns validation error","CCIP-read gateway timeout for off-chain records — returns resolution failure","Unsupported name format — only .eth and .base.eth are handled"],"whenToPreferThis":"Use this endpoint when you need to resolve ENS names or Base basenames to addresses (or vice versa) and require full L1 ENS Universal Resolver support with CCIP-read/ENSIP-19, which a Base-only RPC cannot provide. Ideal for labeling counterparties before transacting, validating human-readable addresses, or enriching wallet data with identity information.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:49:48.722Z","isFirstParty":false}