{"uid":"cap_2KdSynX3NF28VjATfuyJy","slug":"api-x402node-dev-a982f9e2","name":"ERC20 Token Approval Risk Scanner","description":"Token approval risk scan: lists active ERC20 allowances on a wallet's currently-held tokens and flags unlimited approvals (>= 2^255), especially to unverified spenders. Returns verdict (clean/low_risk/review/high_risk), unlimited count, and per-approval token symbol, spender, spender_label, allowance, is_unlimited. For AI agent wallet security audits and pre-transaction risk checks. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/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":{"address":{"type":"string","description":"EVM/chain address (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GYyfrXC8bs0ngGRhQcWaV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a wallet's active ERC20 token allowances, flags unlimited approvals and unverified spenders, and returns an overall risk verdict with per-approval details.","exampleAgentPrompt":"Can you do a security audit on my Ethereum wallet 0xAbC1234... and check if I have any unlimited or risky ERC20 token approvals granted to unverified spenders?","exampleUseCases":null,"resultDescription":"Returns a JSON object with an overall verdict (clean/low_risk/review/high_risk), a count of unlimited approvals, and an array of per-approval records each containing the token symbol, spender address, spender label, allowance amount, and a boolean is_unlimited flag.","failureModes":["Invalid or malformed wallet address returns an error","Wallet with no token holdings may return an empty approvals list","RPC or upstream data source unavailability causes a 5xx error","Payment of 0.1 USDC not included or invalid causes a 402 payment required error","Unsupported chain or non-ERC20 tokens may not be scanned"],"whenToPreferThis":"Use this endpoint when an AI agent needs to perform a wallet security audit focused on ERC20 token approval risks, especially before executing DeFi transactions or when a user suspects their wallet may have been exposed to malicious contracts. Prefer this over generic blockchain explorers when you need structured risk verdicts with labeled spenders and unlimited approval detection built in.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:22.381Z","isFirstParty":false}