{"uid":"cap_9r5RO5stonpOcWchry67d","slug":"base-basename-ens-resolver-d425d301","name":"Base Basename/ENS Resolver","description":"Self-computed Base onchain toolkit for AI agents: ERC-20 safety scan, manipulation-resistant TWAP price oracle, gas/fee oracle, calldata decoder, token/address/contract intel, wallet approval-risk audit, and batch token triage — all computed live from raw Base chain, no third-party data.","url":"https://x402-data-api.bodhinindustries.workers.dev/basename","method":"GET","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"A Basename/ENS name (e.g. jesse.base.eth) to resolve to an address, OR a 0x address to reverse-resolve to its primary name."}}},"responseSchema":{"type":"object","properties":{"name":{"type":"string","description":"resolved/primary Basename (or null)"},"block":{"type":"integer","description":"Base block height"},"query":{"type":"string","description":"raw input"},"avatar":{"type":"string","description":"avatar text record (or null)"},"reason":{"type":"string","description":"why unresolved (or null)"},"address":{"type":"string","description":"resolved/queried address (or null)"},"resolved":{"type":"boolean","description":"a record was found"},"verified":{"type":"boolean","description":"reverse-mode spoof-guard: primary name resolves back to this address (or null in forward mode)"},"direction":{"type":"string","description":"forward | reverse"},"computedAt":{"type":"string","description":"ISO-8601 timestamp"},"thirdPartyDataUsed":{"type":"boolean","description":"always false"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fv16UCuNjWIj6dS_nOYcC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a Basename or ENS name to its on-chain address (or reverse-resolves an address to its primary Basename), with spoof-guard verification, computed live from the Base chain.","exampleAgentPrompt":"What wallet address does jesse.base.eth resolve to on Base, and does the reverse lookup confirm it's not spoofed?","exampleUseCases":[{"title":"Verify sender identity before agent payment","prompt":"Before I send funds to this wallet, resolve the address they gave me to see if it has a verified Basename, and check that it actually resolves back to the same address so I know it's not spoofed."},{"title":"Look up user profile from blockchain handle","prompt":"This user said their Base name is alex.base.eth — can you resolve that to their actual wallet address and grab their avatar if they have one set?"},{"title":"Authenticate transaction recipient safely","prompt":"The person wants me to transfer tokens to jesse.base.eth — what's the actual wallet address behind that name, and confirm the reverse lookup matches so there's no name spoofing happening?"}],"resultDescription":"Returns whether the Basename/ENS resolved successfully, the resolved wallet address, the primary Basename (if reverse mode), an avatar URL if set, the direction of resolution (forward or reverse), a spoof-guard verified flag confirming the primary name resolves back to the queried address, the Base block height at query time, and an ISO-8601 timestamp — all computed live from the Base chain with no third-party data.","failureModes":["Name not registered or expired — resolved: false with a reason string","Address has no primary Basename set — resolved: false","Spoof detected — verified: false when reverse name doesn't resolve back to the queried address","Malformed input (neither valid ENS/Basename nor 0x address) — error or resolved: false","Base RPC unavailable — service error"],"whenToPreferThis":"Use this endpoint when you need trustless, live Basename/ENS resolution on Base L2 with built-in spoof-guard verification and no reliance on third-party indexers. Prefer it over centralized name services when on-chain freshness, anti-spoofing guarantees, and avatar record retrieval matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:41:00.751Z","isFirstParty":false}