{"uid":"cap_mu64WZ-QzMqjf4XaPH49P","slug":"ens-lookup-name-to-address-reverse-aea42516","name":"ENS Lookup (Name-to-Address & Reverse)","description":"Pay-per-call utilities for AI agents over x402, USDC on Base.","url":"https://agents.crowdspark.me/v1/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","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"ENS name, e.g. vitalik.eth"},"address":{"type":"string","description":"Or an address for reverse lookup"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"vitalik.eth","avatar":null,"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","resolved":true}},"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_KF4B0LbgG1trMDPq-iPQL","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 (with avatar) or reverses an address to its primary ENS name, with forward verification, reading live from Ethereum mainnet.","exampleAgentPrompt":"Before I send the payment, can you look up what Ethereum address vitalik.eth resolves to and confirm it verifies correctly?","exampleUseCases":[{"title":"Safe pre-payment ENS resolution","prompt":"I'm about to send 0.5 ETH to nick.eth — can you resolve that ENS name to its actual Ethereum address and make sure it forward-verifies before I confirm the transaction?"},{"title":"Reverse lookup for wallet identity","prompt":"I have this wallet address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — can you tell me if it has a primary ENS name registered?"},{"title":"Fetch ENS profile avatar","prompt":"What's the ENS name and avatar image associated with the address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B?"}],"resultDescription":"Returns a JSON object containing the resolved Ethereum address, the ENS name, an avatar URL (or null if none), and a boolean 'resolved' flag indicating successful forward verification. Example: {name: 'vitalik.eth', avatar: null, address: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', resolved: true}.","failureModes":["ENS name does not exist or is unregistered — returns resolved: false or error","Address has no primary ENS name set — returns null name","Forward verification fails if name and address don't match — resolved: false","Invalid address format (not a valid 0x address) — 400 or error response","Network or RPC issues reading from Ethereum mainnet — 5xx or timeout","Expired ENS registration — name may no longer resolve correctly"],"whenToPreferThis":"Use this endpoint whenever an agent needs to resolve a human-readable ENS name to an Ethereum address before executing any on-chain action such as sending funds, interacting with a contract, or verifying identity. It includes forward verification (confirming the name actually points back to the address), making it safer than naive resolution. Prefer this over generic RPC calls when you need a single, reliable, pre-built ENS resolution with avatar metadata in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:46.568Z","isFirstParty":false,"canonicalSlug":"ens-lookup-name-to-address-reverse-aea42516"}