{"uid":"cap_YQ3ekPlawCuai1viS1kL6","slug":"chainray-ens-resolve-7cec6c1b","name":"ChainRay ENS Resolve","description":"The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.","url":"https://chainray.online/ens-resolve/%7BnameOrAddress%7D","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["nameOrAddress"],"properties":{"nameOrAddress":{"type":"string","description":"ENS name or Ethereum address"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"nameOrAddress":"0x1234567890123456789012345678901234567890"}}},"response":{"note":"No reverse record set","query":"0x1234567890123456789012345678901234567890","_proof":{"chain":"base","dataHash":"b601e5b2798693dde979cd7920f620b45b27beafffdb6015d12a0bd1fccb218e","blockHash":"0x9760b980823f98e2d82f54c52ee0a4dedbb8c3d533882fb7526130655a3abad2","chainName":"Base","blockNumber":47487045,"proofVersion":"3.0","blockTimestamp":1781763437,"proofTimestamp":1781763438805},"resolved":false,"timestamp":1781763438711}},"exampleRequest":{"nameOrAddress":"0x1234567890123456789012345678901234567890"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_z4MD0bMDVch2PBh8HjVm4","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 an ENS name to its associated Ethereum address, or reverse-resolves an Ethereum address to its ENS name","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to? Use ChainRay to look it up on-chain.","exampleUseCases":[{"title":"Verify wallet identity for transaction verification","prompt":"I need to confirm this wallet address 0x1234... actually has the ENS name my user claimed. Can you reverse-resolve it with ChainRay to verify they own that domain?"},{"title":"Build an address book with ENS names","prompt":"I'm collecting wallet addresses from our community members who've given me their ENS names. Use ChainRay to resolve all these ENS domains to their actual Ethereum addresses so I can organize them properly."},{"title":"Route DeFi transactions to named wallets","prompt":"Our agent needs to send funds to a user who provided their ENS name instead of a raw address. Resolve that ENS domain with ChainRay first so we can route the transaction correctly."}],"resultDescription":"Returns the resolved Ethereum address for a given ENS name, or the ENS domain name associated with a given Ethereum address, based on on-chain ENS registry data.","failureModes":["ENS name not registered or has expired — returns not found or null","Ethereum address has no reverse ENS record — returns empty result","Invalid ENS name format or malformed 0x address — returns 400 validation error","ENS resolver contract unreachable or chain RPC outage — returns 503 or timeout","Payment not attached or insufficient USDC — returns 402 payment required"],"whenToPreferThis":"Use this endpoint when you need to resolve ENS names to Ethereum addresses (or vice versa) as part of a blockchain workflow, wallet lookup, or identity verification task. Prefer it over generic RPC calls when you want a pay-per-request, infrastructure-free resolution with no node setup required. Ideal for agents handling Web3 identity, address book enrichment, or DeFi transaction routing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T18:50:01.444Z","isFirstParty":false}