{"uid":"cap_jZNNR2WGdYYPdFFvW9BRQ","slug":"ens-basename-resolver-e1fce88d","name":"ENS / Basename Resolver","description":"Generate an AI_POLICY.md and a pull request template with an AI-disclosure section for your open-source repo. Free, runs in your browser.","url":"https://ai-policy-kit.moneymaker-ai.workers.dev/api/ens-resolve?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","required":[],"properties":{"name":{"type":"string","description":"ENS name or Basename, e.g. vitalik.eth or jesse.base.eth"},"address":{"type":"string","description":"or: 0x address for reverse lookup"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"jesse.base.eth","text":{"url":"jesse.xyz","com.twitter":"jessepollak","description":"base.eth builder #001"},"resolved":true,"resolver":"0xde9049636F4a1dfE0a64d1bFe3155C0A14C54F31","address_evm":"0x2211d1D0020DAEA8039E46Cf1367962070d77DA9","address_base":"0x2211d1D0020DAEA8039E46Cf1367962070d77DA9","reverse_matches":true,"reverse_primary_name":"jesse.base.eth","reverse_primary_name_base":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n5ki9UdQ5H7X0t69Svzc3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 on-chain address and profile records, or performs reverse lookup from an EVM address to its primary name.","exampleAgentPrompt":"What wallet address does vitalik.eth resolve to, and does it have any profile info like a Twitter handle or website linked?","exampleUseCases":[{"title":"Resolve Basename to wallet address","prompt":"Look up jesse.base.eth for me — I need the actual 0x wallet address it resolves to and any social profile info attached to it."},{"title":"Reverse lookup from address to ENS name","prompt":"I have this Ethereum address 0x2211d1D0020DAEA8039E46Cf1367962070d77DA9 — can you find out if it has a primary ENS or Basename set?"},{"title":"Fetch ENS profile metadata for payments","prompt":"Before I send crypto, look up alice.eth and confirm the address it points to, plus grab any website or description they have on their ENS profile."}],"resultDescription":"Returns a JSON object containing the resolved EVM address, Base-specific address, primary reverse name, whether the reverse lookup matches, text records (URL, Twitter handle, description), resolver contract address, and a boolean indicating whether resolution succeeded.","failureModes":["Name not registered or expired — resolved:false returned","Address has no primary ENS name set — reverse_primary_name is null","Invalid ENS name format — query parameter rejected","ENS resolver contract unreachable — upstream RPC error","Basename not yet indexed — may return stale or empty text records"],"whenToPreferThis":"Choose this endpoint when you need to resolve ENS names or Basenames (*.eth, *.base.eth) to on-chain addresses or retrieve rich profile metadata including social handles and URLs. It supports both forward (name → address) and reverse (address → name) lookups and returns structured JSON including text records. Prefer this over raw RPC calls when you want a clean REST API without managing Web3 provider connections.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:41:23.874Z","isFirstParty":false,"canonicalSlug":"ens-basename-resolver-e1fce88d"}