{"uid":"cap_lL58mBBS6wu8K2IM5Px-9","slug":"ens-resolve-eth-name-to-address-and-reverse-5fdf1bff","name":"ENS Resolve — .eth Name to Address (and Reverse)","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/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","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","examples":[{"name":"vitalik.eth"},{"address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"properties":{"name":{"type":"string","description":"ENS name or 0x address"},"address":{"type":"string","description":"Reverse lookup; takes precedence over name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"found":true,"address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","network":"ethereum","product":"scanpay.ens","resolver":"0x231b0ee14048e9dccd1d247744d114a4eb5e8e63","verified":true,"price_usd":0.001,"reverse_name":"vitalik.eth"}},"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_al4LjBNnxfZROTWV_xT4s","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 .eth ENS name to its Ethereum address, or reverse-resolves an Ethereum address to its primary ENS name, via the Ethereum registry and resolver.","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? And can you also reverse-check what ENS name is set as the primary for that address?","exampleUseCases":[{"title":"Wallet address lookup before sending funds","prompt":"Before I send ETH to friend.eth, can you resolve that ENS name to its actual 0x Ethereum address so I can double-check it's correct?"},{"title":"Reverse ENS lookup for wallet identity","prompt":"I have this wallet address 0x71C7656EC7ab88b098defB751B7401B5f6d8976F — can you look up whether it has a primary ENS name set?"},{"title":"ENS name verification in a dApp","prompt":"Check if theproject.eth is a registered ENS name and tell me what Ethereum address it resolves to."}],"resultDescription":"Returns the resolved Ethereum address for a given .eth name, or the primary ENS name for a given Ethereum address, drawn from the live Ethereum ENS registry and resolver contracts.","failureModes":["ENS name not registered or has no resolver set — returns null or error","Address has no primary ENS name set — returns empty/null name","Invalid input format (neither valid .eth name nor valid 0x address) — returns validation error","ENS registry or RPC node temporarily unavailable — returns 5xx error","Rate limiting or payment failure — returns 402 or 429"],"whenToPreferThis":"Use this endpoint when you need to resolve or reverse-resolve ENS .eth names to Ethereum addresses in real time, particularly in Web3 workflows where human-readable names must be converted to wallet addresses before transactions or identity checks. Prefer it over generic blockchain RPC calls when you want a simple pay-per-call API without managing your own Ethereum node or ENS library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:55:25.953Z","isFirstParty":false,"canonicalSlug":"ens-resolve-eth-name-to-address-and-reverse-5fdf1bff"}