{"uid":"cap_z79w2EPsUxcnp35tTgeqf","slug":"apex-basename-lookup-ea2da6b9","name":"APEX Basename Lookup","description":"Basename lookup: name.base.eth to address, or an address to its verified primary name, with profile records. Base name lookup: a Basename (name.base.eth) to its address, owner and public profile records (avatar, url, X, GitHub), or an address to its primary Basename, forward-verified so a spoofed reverse record is never trusted. Read on Base from the Basenames registry. Paid in USDC on Base.","url":"https://apexfaucet.xyz/api/x402/basename?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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"A Basename (alice or alice.base.eth) or a 0x address."}}}}},"output":{"type":"object"}}},"responseSchema":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_BEw9rksNnf6UBf4MLVImy","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 a Basename (name.base.eth) to its Ethereum address and profile records, or reverse-resolves an address to its verified primary Basename on Base.","exampleAgentPrompt":"What Ethereum address does jesse.base.eth resolve to, and can you also grab their avatar and GitHub from the Basenames registry?","exampleUseCases":[{"title":"Resolve Basename to wallet address","prompt":"I need to send USDC to vitalik.base.eth — can you look up what wallet address that Basename maps to on Base?"},{"title":"Reverse lookup wallet to Basename","prompt":"What is the primary verified Basename for the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?"},{"title":"Fetch social profile from Basename","prompt":"Pull up the full profile for jesse.base.eth — I want their avatar, website, X handle, and GitHub if they've set them."}],"resultDescription":"Returns the resolved Ethereum address, owner address, and public profile records (avatar, URL, X/Twitter handle, GitHub) for a given Basename, or the verified primary Basename for a given 0x address. Forward verification ensures spoofed reverse records are never trusted.","failureModes":["Basename not found or not registered — returns empty or null result","Address has no primary Basename set — reverse lookup returns null","Invalid input format (neither valid Basename nor 0x address) — may return an error","Profile fields missing if owner hasn't set them — partial record returned","Payment failure if USDC balance is insufficient on Base"],"whenToPreferThis":"Use this endpoint when you need to resolve Base-native identities (name.base.eth) to wallet addresses or vice versa, especially when you also want profile metadata like avatar or social links. It reads directly from the Basenames registry on Base L2 with forward-verification to prevent spoofed reverse records, making it more trustworthy than a naive reverse lookup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:45:10.098Z","isFirstParty":false,"canonicalSlug":"apex-basename-lookup-ea2da6b9"}