{"uid":"cap_Ga5OjfDYnrb_NW3qxNWvC","slug":"402utils-basename-ens-name-resolver-81851868","name":"402utils Basename/ENS Name Resolver","description":"Resolve a Basename or ENS name to an address, or an address to its primary name. Pass ?name=402utils.base.eth (name→address) or ?address=0x… (address→primary name). Basenames resolve on Base L2, other .eth names on Ethereum mainnet. Reverse results are forward-verified. ASCII names only; offchain (CCIP-read) resolvers like cb.id are not supported.","url":"https://402utils.com/v1/wallet-name","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","properties":{"name":{"type":"string","description":"An ENS or Basename, e.g. 402utils.base.eth or vitalik.eth."},"address":{"type":"string","description":"A 0x-prefixed 20-byte address."}},"description":"Exactly one query param: name (ENS/Basename) or address (0x…)."}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["resolved"],"properties":{"name":{"type":"string"},"chain":{"enum":["base","ethereum"],"type":"string"},"reason":{"type":"string","description":"When resolved=false: not_found, no_address_record, no_primary_name, offchain_unsupported, unverified, invalid_input."},"address":{"type":"string","description":"EIP-55 checksummed."},"resolved":{"type":"boolean"},"direction":{"enum":["forward","reverse"],"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"name":"vitalik.eth","chain":"ethereum","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","resolved":true,"direction":"forward"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JMIep69Apg71BxO3Uky-L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves Basename or ENS names to Ethereum addresses, or reverse-resolves addresses to their primary on-chain name, with forward-verification.","exampleAgentPrompt":"What Ethereum address does myname.base.eth resolve to? Also, what's the primary Basename or ENS name for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a resolved boolean, the direction (forward or reverse), the chain used (base or ethereum), and either the resolved address (EIP-55 checksummed) or the primary name. On failure, includes a reason field explaining why resolution failed (e.g. not_found, no_address_record, offchain_unsupported, unverified, invalid_input).","failureModes":["Name not registered or has no address record → resolved:false, reason:not_found or no_address_record","Address has no primary name set → resolved:false, reason:no_primary_name","Offchain (CCIP-read) names like cb.id not supported → resolved:false, reason:offchain_unsupported","Reverse result fails forward verification → resolved:false, reason:unverified","Non-ASCII or malformed name input → resolved:false, reason:invalid_input","Neither name nor address query param provided → error response"],"whenToPreferThis":"Use this endpoint when you need to resolve ENS or Basename (Base L2) identifiers to Ethereum addresses or vice versa. Prefer this over generic RPC calls when you want a simple HTTP-based lookup with forward-verification of reverse results, especially for Basenames on Base L2. Note it does not support offchain CCIP-read resolvers like cb.id.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:47:14.080Z","isFirstParty":false}