ERC20 balance of any wallet on Ethereum
agent-data-tools.revmesh2074.workers.dev/erc20/balance
ERC20 balance of any wallet on Ethereum: read a token's balanceOf for USDC, USDT, WETH or any ERC-20 contract, returned as raw amount, decimals, symbol and human-readable balance. Use to check token or stablecoin holdings before a transfer, trade or airdrop. Live from the token contract; a non-ERC-20 address returns an uncharged error.
GET
https://agent-data-tools.revmesh2074.workers.dev/erc20/balanceUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/erc20/balance?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48");
console.log(await res.json());Example input
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}