ERC20 Allowance Risk Checker is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).
Returns the exact ERC20 token allowance an owner has granted to a spender and flags whether the approval is unlimited, signaling potential fund-drain risk before a transaction.
Check the exact ERC20 allowance an owner granted a spender and flag unlimited approvals that let a contract drain funds - a pre-transaction safety check agents need that LLMs cannot perform. allowance risk, approval risk, unlimited approval, spender risk, revoke check, token approval safety Accepts payment on Base or Solana — either network works.
Returns the numeric allowance the owner has granted to the spender for the specified ERC20 token, a boolean or flag indicating whether the approval is unlimited (max uint256), and a risk assessment indicating whether the spender could potentially drain the owner's token balance.
GEThttps://api.x402node.dev/chain/allowance-riskUse this endpoint when an AI agent needs to perform a pre-transaction safety check on ERC20 token approvals — specifically to detect unlimited approvals that expose a wallet to full-balance drain risk. Prefer this over generic blockchain explorers when you need a structured, machine-readable risk flag rather than raw on-chain data, and when the agent needs to decide whether to recommend revoking an approval before proceeding with a DeFi interaction.
{
"chain": "ethereum",
"owner": "0x1234567890123456789012345678901234567890",
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"spender": "0x0987654321098765432109876543210987654321"
}| Field | Type | Description |
|---|---|---|
| inputrequired | object |
{
"note": "Exact on-chain allowance. Agents should check this before trusting a spender contract.",
"_hint": "x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)",
"owner": "0x1234567890123456789012345678901234567890",
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"source": "alchemy",
"symbol": "?",
"revoked": true,
"spender": "0x0987654321098765432109876543210987654321",
"allowance": {
"raw": "0",
"formatted": 0
},
"riskLevel": "none",
"unlimited": false,
"recommendation": "No approval (safe)."
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"