{"uid":"cap_zbH-xW_t93K1V8b4xGDOP","slug":"onesource-ens-resolver-841cf9f0","name":"OneSource ENS Resolver","description":"ENS resolve - turn a .eth name into an address, or an address into its primary .eth name, via eth_call on OneSource live Ethereum RPC","url":"https://api.onesource.io/api/chain/ens/:input","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"input":"vitalik.eth","network":"ethereum"},"response":{"data":{"name":"vitalik.eth","address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","resolver":"0x231b0ee14048e9dccd1d247744d114a4eb5e8e63","is_forward":true,"is_reverse":false},"meta":{"endpoint":"/api/chain/ens/vitalik.eth","request_id":"1f7b6c789138b4ff"}}},"exampleRequest":{"input":"vitalik.eth","network":"ethereum"},"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_gwZD-MWyraoUzLXn9imCT","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 .eth name to its Ethereum address, or reverse-resolves an Ethereum address to its primary .eth name, via live eth_call on the Ethereum network.","exampleAgentPrompt":"What Ethereum wallet address does vitalik.eth resolve to on mainnet? And can you also look up whether 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 has a primary .eth name?","exampleUseCases":[{"title":"Wallet identity lookup for transaction verification","prompt":"Before I send this payment, can you check what .eth name is registered for the recipient address 0x1234567890123456789012345678901234567890? I want to make sure it matches who I think I'm paying."},{"title":"Convert human-readable names to wallet addresses","prompt":"I have a list of ENS names from our community members—vitalik.eth, austingriffith.eth, and ens.eth. Can you resolve each one to their Ethereum addresses so I can airdrop tokens to them?"},{"title":"Verify primary ENS identity for user profiles","prompt":"Our app is showing user profiles for several Ethereum addresses. Can you look up the primary .eth name for 0x225f137127d9067798653ba4ffa578a7c6d8cf21 and 0x5aAeb6053ba3EEdb6A475A1c2a93b66ff7b3D6c8? We want to display their ENS names instead of raw addresses."}],"resultDescription":"Returns the resolved Ethereum address for a given .eth name, or the primary ENS .eth name associated with a given 0x address. Includes the network used (ethereum or sepolia) and the resolved value, or null/empty if no record exists.","failureModes":["ENS name does not exist or has no resolver — returns null or empty result","Ethereum address has no primary ENS name set — returns empty reverse record","Invalid input format (not a valid 0x address or .eth name) — 400 error","RPC node unavailable or timeout — 5xx error","Requested on unsupported network — validation error"],"whenToPreferThis":"Use this endpoint when you need a simple, single ENS forward or reverse lookup via a live Ethereum RPC node. Prefer it over running your own node or using a general-purpose RPC when you want a pay-per-call REST API that abstracts eth_call complexity. Especially useful in agentic workflows that need to resolve human-readable .eth names to addresses before signing transactions or displaying identity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:33:18.395Z","isFirstParty":false}