{"uid":"cap_B2HYQpU_00LVqMRVwJocw","slug":"ens-basename-name-resolver-1a6b7a33","name":"ENS / Basename Name Resolver","description":"41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.","url":"https://x402-micro-pay.com/api/skills/name-resolve?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","maxLength":200,"minLength":1,"description":"ENS/Basename or 0x address"},"direction":{"enum":["auto","forward","reverse"],"type":"string","default":"auto"},"request_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]+$","maxLength":64,"minLength":1,"description":"Optional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once."}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"name":"vitalik.eth","block":22000000,"query":"vitalik.eth","avatar":null,"source":"ens","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","forward_verified":true},"next":["address_validate","erc20_meta"],"skill":"name_resolve","charged":true,"service":"name_resolve","sources":[{"url":"https://etherscan.io/address/0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e","name":"ENS Registry","fetched_at":"2026-10-24T14:00:00Z"},{"url":"https://basescan.org/address/0xc6d566a56a1aff6508b41f6c90ff131615583bcd","name":"Basename L2 Resolver","fetched_at":"2026-10-24T14:00:00Z"}],"summary":"vitalik.eth → vitalik.eth = 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 (ens)","version":"1.0.0","warnings":[],"confidence":0.95,"data_as_of":"2026-10-24T14:00:00Z","generated_at":"2026-10-24T14:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nWlTRWuV83R9yW0V2wypP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves ENS names and Basenames to Ethereum addresses (and vice versa) with forward-verification, avatar, and source metadata.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to, and is the forward lookup verified?","exampleUseCases":[{"title":"ENS name to wallet address","prompt":"Can you resolve coinbase.eth to its Ethereum address and confirm the forward verification is good?"},{"title":"Reverse-resolve wallet to ENS name","prompt":"I have the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — what ENS or Basename does it reverse-resolve to?"},{"title":"Basename lookup for Base wallet","prompt":"Look up the Basename registered for 0x1234abcd...5678 on Base and tell me the name and any avatar it has."}],"resultDescription":"Returns a JSON object with the resolved Ethereum address, the canonical name (ENS or Basename), the block number at resolution time, source identifier, forward_verified boolean, avatar URL (if set), confidence score, data provenance sources with URLs and fetch timestamps, a plain-English summary, and suggested next skills to call.","failureModes":["Name not registered or expired → ok:false with error message","Address has no reverse record → ok:false or empty name","Invalid ENS/0x input format → validation error","ENS resolver contract unreachable → upstream fetch error","Name resolves but forward-verification fails → forward_verified: false returned (not an error)"],"whenToPreferThis":"Use this endpoint when you need to translate between human-readable ENS/Basename identifiers and raw 0x Ethereum addresses in either direction, especially when you also need forward-verification, avatar metadata, or source provenance. Prefer this over on-chain RPC calls when you want a single JSON API with no key management and pay-per-call pricing via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:45:02.926Z","isFirstParty":false,"canonicalSlug":"ens-basename-name-resolver-1a6b7a33"}