Directory / Crypto & onchain data
ENS resolve
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
not checked yetBaseGETx402 v2
- Price per call
- $0.005
- Endpoint
- https://api.onesource.io/api/chain/ens/:input
- Provider
- api.onesource.io
- Paid calls (30 days)
- 431
- Unique payers (30 days)
- 430
- Last paid call
- 8 days ago
- Health check
- pending
- Pays to
- 0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea
- Listed here since
- 2026-11-23 (source: bazaar)
Input
{
"method": "GET",
"pathParams": {
"input": "vitalik.eth"
},
"queryParams": {
"network": "ethereum"
},
"type": "http"
}
Example output
{
"example": {
"data": {
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"is_forward": true,
"is_reverse": false,
"name": "vitalik.eth",
"resolver": "0x231b0ee14048e9dccd1d247744d114a4eb5e8e63"
},
"meta": {
"cost_usdc": "0.001",
"endpoint": "/api/chain/ens/vitalik.eth",
"payment_chain": "base",
"payment_token": "USDC",
"request_id": "00000000abcdef01"
}
},
"type": "json"
}
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);
const res = await paidFetch("https://api.onesource.io/api/chain/ens/:input", { method: "GET" });
console.log(await res.json()); // costs $0.005 in USDC on Base
Machine-readable: /api/tools/7fdcd1342346. Listings are informational; check a provider before sending large amounts.
Similar tools
| Tool | Price / call |
|---|---|
| Pay the send-token execution fee (ERC-20 transfer) Pay the send-token execution fee (ERC-20 transfer) Crypto & onchain datakeyring-agent.blockchhub.linkBase | $0.05 |
| Pay the send-native execution fee (native coin transfer) Pay the send-native execution fee (native coin transfer) Crypto & onchain datakeyring-agent.blockchhub.linkBase | $0.05 |
| ERC20 token balance for any Ethereum wallet ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC Crypto & onchain dataapi.onesource.ioBase | $0.003 |
| Latest Ethereum block height Latest Ethereum block height - current chain tip via eth_blockNumber Crypto & onchain dataapi.onesource.ioBase | $0.001 |
| Live wallet balance Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens in one bounded RPC batch Crypto & onchain dataapi.onesource.ioBase | $0.003 |