Skip to content
Fourohtwo

ERC-20 balance and wallet token balances API

beggar-bot-demand.beggarbot.workers.dev/v1/erc20-balance

ERC-20 balance and wallet token balances API: give up to 25 wallet addresses and up to 25 ERC-20 token contracts, get every token balance (USDC, USDT or any token) plus native balance, with symbol, decimals, formatted amounts and per-token totals in one call. Multi-chain EVM, keyless. Payment settles only after a successful (2xx) response; input errors are never charged.

BaseAnswering
GEThttps://beggar-bot-demand.beggarbot.workers.dev/v1/erc20-balance

Uptime100% of 1 check 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://beggar-bot-demand.beggarbot.workers.dev/v1/erc20-balance?addresses=0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7&tokens=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913");
console.log(await res.json());

Example input

{
  "addresses": "0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7",
  "tokens": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}