{"uid":"cap_TRROj7LhuYZsqwzTSV9YC","slug":"swift-bot-labs-ens-resolver-7eafc997","name":"Swift Bot Labs ENS Resolver","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/evm/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","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":[],"properties":{"name":{"type":"string"},"address":{"type":"string"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"ens-resolve","result":{"name":"vitalik.eth","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","namehash":"0xee6c4522aab0003e8d14cd40a6af439055fd2577951148c14b6cea9a53475835","resolver":"0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YePeW2DYM8PR0akx11Xrg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 to its Ethereum address and metadata, or reverse-resolves an Ethereum address to its ENS name, paying per call in USDC via x402.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? Also give me its namehash and which resolver contract it's using.","exampleUseCases":[{"title":"Wallet identity lookup for a dApp","prompt":"Can you resolve friend.eth to its Ethereum address so I can send them a payment?"},{"title":"Verify ENS name ownership before transfer","prompt":"Look up the ENS name registered to 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 and confirm it's still pointing to that address."},{"title":"Display human-readable name in a portfolio dashboard","prompt":"I have the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — what ENS name is it registered under, and what resolver is being used?"}],"resultDescription":"Returns a JSON object with ok status, the ENS name, the resolved Ethereum address (0x hex), the namehash (32-byte hex string used internally by ENS), and the resolver contract address responsible for the mapping.","failureModes":["ENS name not found or unregistered — returns ok:false or empty result","Invalid ENS name format — may return error or empty response","Address has no reverse ENS record — reverse resolution returns null name","Resolver contract unreachable or misconfigured — may return partial data","x402 payment failure — call blocked before reaching ENS lookup"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call ENS resolution without setting up an account or managing API keys. Ideal for AI agents that need on-demand ENS lookups as part of a larger workflow, especially when already operating in an x402 payment context. Prefer this over ethers.js or viem library calls when you need a simple REST interface without running an Ethereum node or RPC provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:34:24.649Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-ens-resolver-7eafc997"}