← All 40 APIs · Home · Swagger / OpenAPI · x402 Manifest
$0.005 USDC / callBlockchain/DataBase & Polygon x402 v2

GPU-x402 ENS, Basenames & Multi-Chain Web3 Identity Resolver

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).

Endpoint & Settlement Specs

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)

Quickstart (cURL — Returns x402 v2 Invoice + Bazaar Schema)

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}'

TypeScript Autonomous Agent (@x402/fetch)

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());

Example JSON Input

{
  "query": "vitalik.eth",
  "include_text_records": true,
  "include_balances": true
}

Example JSON Output

{
  "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
    }
  }
}