{"uid":"cap_uM20-OI1VbZs-f6b4a8c7","slug":"losbeto-ens-resolution-on-chain-4401bce7","name":"Losbeto ENS Resolution (On-Chain)","description":"OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.","url":"https://api.losbeto.xyz/chain-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","properties":{"queryParams":{"type":"object","required":["address","name"],"properties":{"name":{"type":"string","description":"Entity name to screen against OFAC-SDN"},"address":{"type":"string","description":"Wallet address — Solana base58 or EVM 0x"}}}}},"output":{"type":"object","properties":{"example":{"type":"object","description":"ENS resolution done on-chain: forward (name → address, with owner) or reverse (address → primary name) via the ENS registry on Ethereum mainnet. Keccak-256 namehash computed in-process — zero trusted third parties beyond public RPCs."}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mKwAjB8jbJm_x8Y-KDd2q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves ENS names to Ethereum addresses (forward) or Ethereum addresses to ENS primary names (reverse) using the ENS registry on Ethereum mainnet with keccak-256 namehash computed in-process.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to on-chain, and who is the owner of that ENS name?","exampleUseCases":[{"title":"Forward ENS name to wallet address","prompt":"Resolve the ENS name vitalik.eth to its Ethereum address — I need to know the actual 0x wallet it points to and who owns it."},{"title":"Reverse resolve wallet to ENS name","prompt":"What is the primary ENS name registered for the Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?"},{"title":"Verify ENS ownership before payment","prompt":"Before I send funds, can you confirm what address the ENS name ens-recipient.eth points to and verify who the current owner is on-chain?"}],"resultDescription":"Returns a JSON object including the ENS name, the keccak-256 namehash node, the resolved Ethereum address, the owner address, the data source (ENS registry on Ethereum mainnet), the number of upstream RPC calls made, and a timestamp.","failureModes":["ENS name does not exist or is unregistered — returns null or empty resolution","Address has no reverse record set — reverse lookup returns empty primary name","Invalid ENS name format — malformed input may cause resolution failure","Public RPC node unavailability — upstream call failures could cause timeouts or errors","Non-Ethereum addresses (e.g. Solana base58) provided for ENS lookup — not applicable to ENS"],"whenToPreferThis":"Choose this endpoint when you need trustless, on-chain ENS resolution without relying on third-party ENS resolvers or centralized APIs. Ideal when verifying ENS name ownership or resolving names/addresses for Ethereum-based workflows where data integrity matters and you want the namehash computed in-process.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:40:19.662Z","isFirstParty":false,"canonicalSlug":"losbeto-ens-resolution-on-chain-4401bce7"}