{"uid":"cap_UQ8p6lDcympFxVzbY9DZk","slug":"defi-shield-hazel-vercel-app-1f729ff0","name":"DeFi Shield Approval Scanner","description":"","url":"https://defi-shield-hazel.vercel.app/api/defi/approval-scanner","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"properties":{"chain":{"type":"string","description":"Chain (default: base)"},"wallet_address":{"type":"string","description":"Wallet address to scan approvals for (0x + 40 hex chars)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"chainId":1,"wallet_address":"0x1234567890123456789012345678901234567890","includeRevocationRecommendations":true},"response":{"chain":"base","analyzed_at":"2026-06-17T04:10:54.990Z","wallet_address":"0x1234567890123456789012345678901234567890","risky_approvals":[],"total_approvals":0,"response_time_ms":56,"revoke_recommendations":[]}},"exampleRequest":{"chainId":1,"wallet_address":"0x1234567890123456789012345678901234567890","includeRevocationRecommendations":true},"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mU0GnVlz7W6WlXCi3STwR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a wallet's ERC-20/token approval history to detect dangerous unlimited approvals and unverified spenders, and recommends which approvals to revoke","exampleAgentPrompt":"Scan my wallet 0xAbc123...def for dangerous or unlimited token approvals — flag any unverified spenders and tell me which approvals I should revoke to secure my funds.","exampleUseCases":null,"resultDescription":"Returns a list of detected token approvals categorized by risk level, identifying unlimited allowances and unverified spender contracts, along with prioritized revoke recommendations for each risky approval.","failureModes":["Invalid or malformed wallet address returns validation error","Unsupported chain or network returns scope error","Rate limiting or upstream RPC failure returns 503 or timeout","No approvals found returns empty result set","Unrecognized spender contract flagged as unverified by default"],"whenToPreferThis":"Choose this endpoint when an agent needs to audit a wallet's token approval exposure for security purposes — especially when the user wants to find unlimited ERC-20 approvals, identify unknown or unverified spender contracts, or get actionable revoke recommendations. Prefer over generic blockchain explorers when structured risk analysis and revoke guidance are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:39:47.336Z","isFirstParty":false}