{"uid":"cap_E_dpueNctpimvfZ7L71CM","slug":"onesource-ens-name-resolution-8625e5f6","name":"OneSource ENS Name Resolution","description":"Two data families for AI agents: live Ethereum mainnet, Sepolia testnet, and Robinhood Chain RPC reads, plus Deepstate on-chain market data (order books, trades, candles, and analytics). Pay per call or use batch/session mode: USDC on Base via x402, or pathUSD/USDC.e on Tempo via MPP. No API key required to start; a flat-rate monthly subscription is also available.","url":"https://api.onesource.io/api/chain/ens/%7Binput%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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["input"],"properties":{"input":{"oneOf":[{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},{"type":"string","pattern":"^[^./\\s]+(?:\\.[^./\\s]+)+$"}]}}},"queryParams":{"type":"object","properties":{"network":{"enum":["ethereum","sepolia","robinhood"],"type":"string","default":"ethereum"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"name":{"type":"string"},"address":{"type":"string"},"resolver":{"type":"string"},"is_forward":{"type":"boolean"},"is_reverse":{"type":"boolean"}},"description":"Endpoint-specific response payload"},"meta":{"type":"object","required":["endpoint","request_id"],"properties":{"endpoint":{"type":"string"},"cost_usdc":{"type":"string"},"request_id":{"type":"string"},"payment_chain":{"type":"string"},"payment_token":{"type":"string"}}},"error":{"type":["object","null"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}}}}},"responseSchema":{"type":"json","example":{"data":{"name":"vitalik.eth","address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","resolver":"0x231b0ee14048e9dccd1d247744d114a4eb5e8e63","is_forward":true,"is_reverse":false},"meta":{"endpoint":"/api/chain/ens/{input}","cost_usdc":"0.001","request_id":"00000000abcdef01","payment_chain":"base","payment_token":"USDC"}}},"example":{"request":{"input":"vitalik.eth"},"response":{"data":{"name":"vitalik.eth","address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","resolver":"0x231b0ee14048e9dccd1d247744d114a4eb5e8e63","is_forward":true,"is_reverse":false},"meta":{"endpoint":"/api/chain/ens/vitalik.eth","request_id":"04b0a00490c689c0"}}},"exampleRequest":{"input":"vitalik.eth"},"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IPACPpiBssvSWzC4-FapE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 (e.g. vitalik.eth) or Ethereum address to its canonical Ethereum address on mainnet or Sepolia testnet","exampleAgentPrompt":"What Ethereum address does vitalik.eth resolve to on mainnet?","exampleUseCases":null,"resultDescription":"A JSON object containing the resolved Ethereum address (0x-prefixed hex), the original input (ENS name or address), and the resolution mode used. Example: {mode: 'forward', input: 'vitalik.eth', address: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'}","failureModes":["ENS name does not exist or has no resolver — likely returns null address or error","Invalid ENS name format — 400 or error response","Network not supported or node unavailable — 5xx error","ENS name exists but has no address record set — null or empty address returned","Payment failure via x402 — 402 response requiring USDC payment","Rate limit exceeded — 429 response"],"whenToPreferThis":"Use this endpoint when you need to resolve a human-readable .eth ENS name to its underlying Ethereum wallet address, or when you have an address and need to confirm its ENS mapping. Prefer this over generic Ethereum RPC calls when you want a clean, single-purpose ENS lookup without constructing raw eth_call payloads. Ideal for AI agents that need to translate user-provided ENS identities into addresses before making payments, querying balances, or interacting with contracts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T12:43:04.146Z","isFirstParty":false}