the402 endpoint detail

← All endpoints

agent402.tools api token-allowance

https://agent402.tools/api/token-allowance

answers 402

How much of an ERC-20 token a spender contract is approved to move from an owner wallet - the approval check an agent runs before a swap, a bridge, or an x402 transferWithAuthorization flow. Returns the allowance as an exact decimal string scaled by the token's decimals, the raw uint256, and an `unlimited` flag for max-uint style approvals.

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
0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
119 ms
Payment options
13 usable of 13
Last checked
2026-09-06T01:16:42.639Z (2h ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Ftoken-allowance"