{"uid":"cap_97AqvECodS1FuFl8iXZL5","slug":"ens-basename-resolver-verifier-a71e74e9","name":"ENS / Basename Resolver & Verifier","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/v1/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":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"name":{"type":"string","examples":["vitalik.eth","jesse.base.eth"],"maxLength":255,"description":"ENS name or Basename, e.g. vitalik.eth, jesse.base.eth"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","examples":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],"description":"Address for reverse lookup"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"vitalik.eth","next":["/crypto/contract-info?address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045","/crypto/wallet-snapshot?wallet=0xd8da6bf26964af9d7eed9e03e53415d37aa96045"],"input":"vitalik.eth","address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","records":{"url":"https://vitalik.ca","avatar":"eip155:1/erc1155:0xb32979486938aa9694bfc898f35dbed459f44424/10063"},"summary":"vitalik.eth -> 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 (reverse matches: verified)","verified":true,"direction":"forward","checked_at":"2026-10-30T05:40:00Z","is_basename":false,"reverse_name":"vitalik.eth","safe_to_send":true,"contract_check":{"chain":"base","is_contract":false,"eip7702_delegated":false}}},"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_mu5_i3UGI8uLyN9G5L2wF","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 ENS names or Basenames to Ethereum addresses (and reverse), verifies bidirectional match, and returns associated records and safety signals.","exampleAgentPrompt":"Before I send 0.5 ETH, can you resolve vitalik.eth to its Ethereum address and confirm the forward and reverse records match so it's safe to send?","exampleUseCases":[{"title":"Pre-payment ENS safety check","prompt":"I'm about to send USDC to jesse.base.eth — can you resolve that Basename to its address and tell me if forward and reverse records are verified and it's safe to send?"},{"title":"Reverse lookup for wallet display","prompt":"I have the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — does it have a verified ENS name I can display instead, and what avatar and URL are in its records?"},{"title":"Agent counterparty identity check","prompt":"Before my agent pays out a reward, check whether 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 is a contract or has EIP-7702 delegation on Base, and whether its ENS reverse name verifies cleanly."}],"resultDescription":"Returns the resolved Ethereum address, reverse name, verification status (bidirectional match confirmed), safe-to-send boolean, ENS text records (avatar, URL), whether the name is a Basename, and a contract check (is_contract, eip7702_delegated) on Base — plus suggested next-call paths for deeper wallet analysis.","failureModes":["Name not found: ENS name does not resolve to any address","Reverse mismatch: forward and reverse records do not match, verified=false","Invalid address format: address fails 0x hex pattern, 400 error","Payment required: x402 USDC micropayment not completed, 402 response","Rate or network error: upstream ENS resolver temporarily unavailable","Address is a contract: contract_check.is_contract=true, agent should treat as non-EOA"],"whenToPreferThis":"Use this endpoint when an AI agent needs to resolve a human-readable ENS or Basename to an Ethereum address (or vice versa) before executing an onchain payment or interaction, and needs bidirectional verification plus safety signals (is_contract, eip7702, safe_to_send). Prefer over raw RPC calls when you also want pre-packaged next-step hints and a pay-per-call model with no API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:17.715Z","isFirstParty":false,"canonicalSlug":"ens-basename-resolver-verifier-a71e74e9"}