{"uid":"cap_3iIwhnyaKqSbDLySaT32n","slug":"baselens-name-resolution-basename-ens-resolve-1fdb30c3","name":"BaseLens Name Resolution (Basename/ENS Resolve)","description":"Base address, ERC-20 balance, token price, recent transfers, Basename/ENS resolve, contract verification, tx summaries and gas over x402 and MCP. $0.001–$0.004 USDC per call, no API key.","url":"https://baselens-api.vercel.app/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","description":"ENS or Basename, e.g. jesse.base.eth or vitalik.eth"},"address":{"type":"string","description":"Alternative: 0x address to reverse-resolve"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"type":"forward","query":"jesse.base.eth","avatar":"https://…","address":"0x2211d1D0020DAEA8039E46Cf1367962070d77DA9","resolved":true,"baseAddress":"0x2211…7DA9"}},"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_q2ah-21B8y76JdpWURkWJ","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 or Basename (e.g. jesse.base.eth) to its corresponding Ethereum/Base wallet address and avatar, or reverse-resolves a 0x address to its name.","exampleAgentPrompt":"What's the wallet address for jesse.base.eth on Base? Resolve it so I can send a transaction.","exampleUseCases":[{"title":"Resolve Basename before sending crypto","prompt":"Before I send ETH to jesse.base.eth, can you resolve that Basename to an actual 0x wallet address so I know where the funds are going?"},{"title":"Reverse-lookup address to identity","prompt":"I have the address 0x2211d1D0020DAEA8039E46Cf1367962070d77DA9 — can you check if it has a Basename or ENS name registered to it?"},{"title":"Fetch avatar for a Base profile","prompt":"Can you look up vitalik.eth and get me the wallet address and avatar associated with that ENS name on Base?"}],"resultDescription":"Returns a JSON object with the resolved 0x wallet address, the Basename/ENS query string, the resolution type (forward or reverse), the avatar image URL if one is set, and a boolean indicating whether resolution succeeded.","failureModes":["Name not found or unregistered — resolved: false returned","Invalid ENS/Basename format causes a 400-level error","Address provided for reverse-resolve has no associated name, returning null name","Network issues with Base RPC cause lookup failure","Payment (x402) failure if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need to resolve a human-readable blockchain name (Basename or ENS) to a 0x address, or reverse-resolve an address to a name, specifically on the Base L2 network. Prefer this over generic ENS resolvers when working within the Base ecosystem, as it natively handles .base.eth names. It requires no API key and charges a tiny $0.001 USDC per call via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:35:54.211Z","isFirstParty":false,"canonicalSlug":"baselens-name-resolution-basename-ens-resolve-1fdb30c3"}