{"uid":"cap_9FpiUOnxwCTedJL3aQE9C","slug":"webacy-token-approvals-with-risk-flags-b56eba2f","name":"Webacy Token Approvals with Risk Flags","description":"Paginated list of active token approvals granted by a wallet address, with risk flags for risky spenders.","url":"https://api.webacy.com/addresses/:address/approvals?utm_source=zero.xyz","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"},"pathParams":{"type":"object","properties":{"address":{"type":"string","description":"Wallet address to inspect"}}},"queryParams":{"type":"object","required":["chain"],"properties":{"page":{"type":"integer","description":"Page number, 1-indexed"},"chain":{"type":"string","description":"Blockchain network, e.g. eth, bsc, pol, arb, opt, base, sol"},"pageSize":{"type":"integer","description":"Results per page"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TdxM4Ahv39F9PJwlKIeMs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paginated list of active ERC-20/token approvals granted by a wallet address, annotating each spender with risk flags.","exampleAgentPrompt":"Can you pull up all the active token approvals for the Ethereum wallet 0xAbc123...def on the eth chain and flag any that have risky spenders?","exampleUseCases":[{"title":"DeFi wallet approval audit","prompt":"Show me every token approval my wallet 0xDeFi...beef has granted on Ethereum — I want to know if any of the spenders are flagged as risky so I can revoke them."},{"title":"Pre-transaction security check","prompt":"Before I connect this wallet 0xUser...1234 to a new DeFi protocol, check all its existing token approvals on the Polygon chain and tell me if anything looks dangerous."},{"title":"Portfolio risk monitoring on Arbitrum","prompt":"List all active token spending permissions for wallet 0xTrader...5678 on Arbitrum and highlight any that Webacy marks as high-risk spenders."}],"resultDescription":"A paginated JSON list of active token approvals for the given wallet, including the approved spender address, token details, allowance amount, and risk flags indicating whether each spender is considered risky or potentially malicious.","failureModes":["Invalid or malformed wallet address returns a 400 or empty result","Unsupported chain identifier returns an error","Missing required 'chain' query parameter returns a validation error","Wallet with no approvals returns an empty list","Rate limit or payment failure returns a 402 or 429 error","Network timeout for slow chain RPC responses"],"whenToPreferThis":"Use this endpoint when you need to enumerate all active token allowances/approvals for a specific wallet and want built-in risk scoring on each spender — ideal for DeFi security audits, pre-transaction checks, or building revoke-approval workflows. Prefer over generic blockchain explorers when you need structured risk annotations rather than raw on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:30:15.500Z","isFirstParty":false,"canonicalSlug":"webacy-token-approvals-with-risk-flags-b56eba2f"}