AgentFeed
ERC20 and native ETH wallet balance on Base or Ethereum mainnet, for a 0x address or an ENS name. decimals() and symbol() are read from the contract at request time rather than assumed, because assuming 18 reports a USDC balance a trillion times too large. Use when you need to answer: What does this EVM address hold? ENS is resolved through two independent resolvers and the answer is used only…
- Price per call
- $0.005
- Chain
- Solana
- Method
- GET
- Paid calls · 30 days
- 4
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://x402.ochinimus.app/api/base-balance", { method: "GET" });
console.log(await res.json());https://x402.ochinimus.app/api/base-balance