Avalanche ERC-20 balance
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
ERC-20 token balance of a wallet on Avalanche (USDC or USDT by ticker, any token by address, via balanceOf): raw amount, decimals, symbol and the human-readable amount, live from the token contract. Use to check stablecoin or token holdings before a transfer or trade; for the native coin use avax_balance. The token is a ticker such as USDC or USDT or its 0x address; no contract or a non-ERC-20 contract returns 422, uncharged.
Inputs
| Name | Type | Description |
|---|---|---|
token (required) | string | Token: a ticker such as USDC or USDT, or the 0x ERC-20 contract address |
address (required) | string | 0x wallet address |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/avax/token-balance?token=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E&address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
Node.js
const r = await fetch("https://glyphtools.com/avax/token-balance?token=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E&address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/avax/token-balance?token=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E&address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/avax/token-balance?token=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E&address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"chain": "Avalanche",
"chainId": 43114,
"token": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
"symbol": "USDC",
"decimals": 6,
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"raw": "2500000",
"balance": "2.5"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is avax_token_balance, and the first 10 successful calls are free:
https://glyphtools.com/mcp