the402 endpoint detail

← All endpoints

agent-commerce-factory-jm.austriaeast.cloudapp.azure.com onchain token-balance

https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/token-balance

answers 402

On-chain ERC-20 token balance for a wallet. Given a chain, a wallet address and a token contract address returns the token balance (exact raw units + decimal), with token name, symbol and decimals, read live from the chain. For wallet trackers, DeFi portfolio valuation, airdrop checks and treasury-monitoring agents.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.002
Network
base
Pay to
0xCe339395d7f2ea5a5009022EF1C392Fb208a989E
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
152 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:13:12.909Z (2h ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent-commerce-factory-jm.austriaeast.cloudapp.azure.com%2Fv1%2Fonchain%2Ftoken-balance"