{"uid":"cap_QIm7MpX5O-3A14XnKNILx","slug":"ens-basename-resolver-x402-pay-per-call-fdb656d8","name":"ENS / Basename Resolver (x402 Pay-per-Call)","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/name?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_wiD-DyFadNklGr3QMhG7g","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 an ENS name or Basename to its Ethereum address (or reverse-lookup an address to its name), returning verification status, associated records, and safety metadata.","exampleAgentPrompt":"Can you resolve jesse.base.eth to its Ethereum address and confirm whether the reverse lookup is verified and safe to send funds to?","exampleUseCases":[{"title":"Safe address check before sending crypto","prompt":"Before I send 1 ETH, can you resolve vitalik.eth to its address and confirm the forward and reverse lookups both match so I know it's safe?"},{"title":"Reverse lookup wallet identity","prompt":"I have the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — can you tell me what ENS name or Basename it belongs to?"},{"title":"Fetch ENS profile metadata","prompt":"Look up jesse.base.eth and tell me the associated avatar and URL records along with whether it's a Basename or a regular ENS name."}],"resultDescription":"Returns the resolved Ethereum address, direction of resolution (forward/reverse), whether the name is verified (bidirectional match confirmed), ENS records such as avatar and URL, a safe-to-send flag, whether the resolved address is a smart contract on Base, EIP-7702 delegation status, suggested next API endpoints for further onchain data, and a human-readable summary string.","failureModes":["ENS name does not exist or is unregistered — returns null address or error","Reverse lookup does not match forward resolution — verified=false","Payment not received or x402 micropayment fails — 402 response before data is returned","Invalid address format supplied for reverse lookup — schema validation error","Name recently transferred and DNS propagation lag causes stale result"],"whenToPreferThis":"Use this endpoint when an AI agent needs to resolve human-readable ENS or Basename identifiers to Ethereum addresses (or vice versa) without managing API keys, and when paying $0.002 USDC per call via x402 micropayments is acceptable. Prefer this over free public ENS resolvers when operating in an autonomous agent context that already uses x402 for other crypto microdata calls (gas, prices, balances) and needs a unified pay-per-call interface. It is especially valuable when the safe-to-send flag and contract-check metadata are needed alongside the resolution result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:23.945Z","isFirstParty":false,"canonicalSlug":"ens-basename-resolver-x402-pay-per-call-fdb656d8"}