Sub-second on-chain ENS (.eth), Basenames (.base.eth) & reverse 0x resolver with ETH+Base EOA/Contract/EIP-7702 detection, text records & balances ($0.005 USDC).
x402 Endpoint: POST https://agentx402.fyi/x402/chain/ens
Remote MCP: POST https://agentx402.fyi/mcp (Streamable HTTP JSON-RPC 2.0)
PayTo Wallet (USDC): 0x71256BBb403B88A347E67b7ADad89ed28b4e16d6 (Gasless via Coinbase CDP Facilitator)
curl -i -X POST https://agentx402.fyi/x402/chain/ens \
-H 'Content-Type: application/json' \
-d '{"query": "vitalik.eth", "include_text_records": true, "include_balances": true}'import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/chain/ens", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"query": "vitalik.eth", "include_text_records": true, "include_balances": true})
});
console.log(await res.json());{
"query": "vitalik.eth",
"include_text_records": true,
"include_balances": true
}{
"query": "vitalik.eth",
"mode": "forward_ens",
"resolved_address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"ens_name": "vitalik.eth",
"base_name": null,
"account_type": {
"ethereum": "eoa",
"base": "eoa"
},
"text_records": {
"url": "https://vitalik.ca"
},
"balances": {
"ethereum": {
"eth": 240.0,
"usdc": 1000.0
},
"base": {
"eth": 0.5,
"usdc": 50.0
}
}
}