$0.001
per call · USD Coin on Base
Read any wallet balance on 28 EVM chains: native coin (ETH, BNB, MATIC, AVAX) or any ERC-20 token including USDC. Covers Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, zkSync, Linea, Scroll, Blast, Mantle, Celo, Gnosis, Sonic, Unichain, World Chain, Zora and more. Returns the raw and decimal balance with the block it was read at.
Endpoint
POST https://agents.dexl.io/v1/tools/wallet-balance36
Calls / 30d
1
Unique payers / 30d
Sep 10
Last called
upto
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://agents.dexl.io/v1/tools/wallet-balance", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"address": "0x820D61a720963fab63aB6e0aeF4D1779Eb42F6BB",
"chain": "base"
}),
});
const data = await res.json();curl -X POST \
"https://agents.dexl.io/v1/tools/wallet-balance" \
-H "Content-Type: application/json" \
-d '{"address":"0x820D61a720963fab63aB6e0aeF4D1779Eb42F6BB","chain":"base"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"cached": false,
"output": {},
"units": 1
}Payment details
0x820d61a720963fab63ab6e0aef4d1779eb42f6bbUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from DexL Agents & similar services
DexL Agents · Agents RUN
agents.dexl.io
Run a DexL agent: the model reasons, calls tools when it needs them, and returns an answer - paid per run with x402
DexL Agents · Chat Completions
agents.dexl.io
Chat completions for GPT-5.6, DeepSeek V4 and Gemini behind one OpenAI-shaped endpoint. No account, no API key: the request pays for itself in USDC on Base, Polygon, Arbitrum or Solana. Pay with the upto scheme and only what you actually use settles - the unused ceiling comes back.
DexL Agents · Tools Weather
agents.dexl.io
Current weather and a short forecast for anywhere on earth, by place name or by latitude and longitude. Returns temperature, apparent temperature, humidity, precipitation, wind speed and direction, plus a daily high and low for up to seven days. Place names are geocoded for you.