{"uid":"cap_OmbUPYe6PX2XxXfrBQ0LO","slug":"wallet-token-approval-auditor-with-unlimited-allowance-risk-flags-93039ed5","name":"Wallet Token Approval Auditor with Unlimited-Allowance Risk Flags","description":"Active token approvals for a wallet with unlimited-allowance risk flags - shows which contracts (spenders) can move which tokens and highlights the unlimited approvals that are the number one wallet-drain risk, so agents can audit and revoke before funds are lost, from data behind an API key. token approvals, approval risk, unlimited approval, revoke approval, wallet security, allowance check, spender risk","url":"https://api.x402node.dev/chain/wallet-approvals","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"eth (default), base, arbitrum, optimism, polygon"},"address":{"type":"string","description":"Wallet address (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nLinG6hIImfnnFFznDCP9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns all active ERC20 token approvals for a wallet address, identifying which spender contracts have allowances and flagging unlimited approvals as high-risk wallet-drain vectors.","exampleAgentPrompt":"Audit my wallet 0xAbC123...def456 for risky token approvals — show me every contract that can spend my tokens and flag any unlimited allowances I should revoke.","exampleUseCases":null,"resultDescription":"A list of active token approval records for the wallet, each showing the spender contract address, the token contract, the current allowance amount, and a risk flag indicating whether the approval is unlimited (i.e., max uint256), enabling the agent to surface dangerous approvals that could allow a malicious contract to drain the wallet.","failureModes":["Invalid or malformed wallet address returns a 400 error","Missing or invalid API key returns a 401 unauthorized error","Unsupported chain identifier returns a 400 or 404 error","No approvals found returns an empty list (not an error)","Rate limiting or quota exceeded returns a 429 error","Upstream node timeout returns a 503 or 504 error"],"whenToPreferThis":"Use this endpoint when an agent needs to audit a specific wallet's ERC20 token approvals for security risk, particularly to identify unlimited allowances that could be exploited by malicious or compromised spender contracts. Prefer this over generic blockchain explorers when you need structured, machine-readable approval data with risk flags already computed, so the agent can immediately surface actionable revocation targets without manual parsing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:00:00.373Z","isFirstParty":false}