{"uid":"cap__XnqIjFhArN1KYzw-1yqp","slug":"api-strale-io-b82bfa46","name":"Wallet Token Approval Security Check","description":"Check a wallet's token approvals for security risks. Identifies unlimited or risky approvals that could allow funds to be drained. Covers Ethereum, BSC, Base, and other EVM chains via GoPlus Security.","url":"https://api.strale.io/x402/approval-security-check?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Wallet address to check approvals for (0x...)"},"chain_id":{"type":"string","description":"Chain ID (1=Ethereum, 56=BSC, 8453=Base). Default: 1"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"address":"0x1234567890123456789012345678901234567890","chain_id":"1"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0x32592c2d0e31ab7be3034f1e7c4b6037b1aaca0af4be740ab8cccf9d2c856890"},"capability":"approval-security-check","latency_ms":1656,"provenance":{"source":"api.gopluslabs.io","fetched_at":"2026-06-13T04:25:17.473Z"}},"address":"0x1234567890123456789012345678901234567890","chain_id":"1","approvals":[],"risk_level":"none","risky_approvals":0,"total_approvals":0}},"exampleRequest":{"address":"0x1234567890123456789012345678901234567890","chain_id":"1"},"tags":["x402"],"displayCostAmount":"0.0216","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_APD8TRJNdtY4tc4a7Llxs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a wallet address for risky or unlimited ERC-20 token approvals that could allow funds to be drained, across Ethereum, BSC, Base, and other EVM chains via GoPlus Security.","exampleAgentPrompt":"Can you check my wallet 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B for any risky or unlimited token approvals on Ethereum (chain ID 1) that could allow contracts to drain my funds?","exampleUseCases":[{"title":"Wallet security audit before major trades","prompt":"I'm about to approve a large amount of tokens for a new DeFi protocol. Can you scan my wallet address across Ethereum and Base to see if I already have any unlimited approvals that could put my funds at risk?"},{"title":"Multi-chain approval cleanup after breach","prompt":"I think one of my wallets might have been compromised. Can you check 0x742d35Cc6634C0532925a3b844Bc9e7595f5bEb4 across Ethereum, BSC, and Base to find all the dangerous token approvals so I know which ones to revoke immediately?"},{"title":"Risk assessment for inherited wallet access","prompt":"My friend gave me temporary access to manage some of their crypto assets. Before I interact with their wallet on multiple chains, can you audit it for unlimited ERC-20 approvals and tell me which spender contracts pose the biggest security risk?"}],"resultDescription":"Returns a list of token approvals associated with the wallet, flagging unlimited or high-risk approvals along with the spender contract addresses, approved token amounts, and a risk assessment indicating whether the approvals are potentially dangerous.","failureModes":["Invalid wallet address format returns an error","Unsupported chain ID returns an error or empty result","Wallet with no approvals returns an empty list","GoPlus Security backend unavailable causes timeout or 503","Rate limiting or payment failure returns 402 or 429"],"whenToPreferThis":"Use this endpoint when you need to audit a specific wallet's token approval exposure across EVM chains, particularly to identify unlimited approvals that could be exploited by malicious contracts. Prefer this over generic blockchain explorers when you need structured, security-focused risk analysis rather than raw transaction data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:48:54.688Z","isFirstParty":false,"canonicalSlug":"api-strale-io-b82bfa46"}