{"uid":"cap_160EHHKv5QysJm4secBI-","slug":"code402-ens-name-resolution-api-d5c669f6","name":"code402 ENS Name Resolution API","description":"Deterministic compliance verification (IBAN, sanctions, onchain address) with XDR-1 signed receipts, plus Ethereum chain-data endpoints. Paid per call via x402 on Base (USDC).","url":"https://verify.code402.dev/v1/chain/ens/%7Bname%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"result":"string","network":"ethereum-mainnet"}}}}},"responseSchema":{"type":"json","example":{"result":"chain data","network":"ethereum"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iZYjHfw6VCRzWOjliCPU6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves an Ethereum Name Service (ENS) name to its on-chain data via a paid-per-call Ethereum chain-data endpoint.","exampleAgentPrompt":"What Ethereum address does the ENS name vitalik.eth resolve to? I need the on-chain resolution result.","exampleUseCases":[{"title":"Wallet address from ENS handle","prompt":"Can you look up what Ethereum address the ENS name rainbow.eth resolves to? I need to send a payment and want to confirm the address before I proceed."},{"title":"ENS identity verification for dApp","prompt":"My app needs to verify that the ENS name uniswap.eth is currently pointing to a valid Ethereum address — can you fetch the on-chain resolution for it?"},{"title":"Due diligence on ENS domain","prompt":"I'm considering buying the ENS name cryptopunks.eth — can you check what on-chain data is currently registered for it so I know if it's already taken and what address it resolves to?"}],"resultDescription":"A JSON object containing the resolved chain data for the given ENS name, including the result field (resolution data) and the network field (e.g. 'ethereum'), reflecting the current on-chain state of the ENS record.","failureModes":["ENS name does not exist or is unregistered — returns null or error result","ENS name has expired — may return stale or empty data","Network congestion or RPC failures may cause delayed resolution","Invalid ENS name format (e.g. missing .eth suffix) may cause a 400/422 error","Payment failure via x402 on Base USDC prevents call from completing"],"whenToPreferThis":"Use this endpoint when you need a paid, verifiable, on-chain ENS name resolution with receipts, particularly in compliance-sensitive or auditable workflows. Prefer it over free public RPC calls when you need reliable uptime, signed receipts (XDR-1), or are already using the code402 compliance/verification ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:34:24.579Z","isFirstParty":false,"canonicalSlug":"code402-ens-name-resolution-api-d5c669f6"}