{"uid":"cap_XMsN2v98jWZcKOak1WAdA","slug":"automaton-sovereign-token-approval-risk-api-ce2d5c3c","name":"Automaton-Sovereign Token Approval Risk API","description":"Automaton-Sovereign Value API call","url":"https://api.automaton-sovereign.workers.dev/v2/token/approval-risk?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kSDmW0cDqfaMQSMkR6bpB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Assesses the risk level of a token approval transaction to help users and agents identify potentially dangerous or malicious smart contract approvals","exampleAgentPrompt":"Before I sign this token approval, can you check the approval risk for this transaction and tell me if it looks safe or suspicious?","exampleUseCases":[{"title":"Pre-approval safety check for DeFi","prompt":"I'm about to approve a new DeFi protocol to spend my USDC — can you run an approval risk check on this token approval before I sign it?"},{"title":"Detect malicious contract approvals","prompt":"This wallet interaction is asking me to approve a token spend — can you evaluate the approval risk and flag if this looks like a phishing or drainer contract?"},{"title":"Automated risk gate in trading bot","prompt":"My trading agent is about to submit a token approval — check the approval risk score first and only proceed if it comes back as low risk."}],"resultDescription":"Returns a risk assessment object for the queried token approval, likely including a risk level or score and supporting data indicating whether the approval appears safe, suspicious, or malicious.","failureModes":["Missing required query parameters returns an error or empty result","Invalid token or approval data may return a null or indeterminate risk score","Service unavailability or Cloudflare Workers timeout returns a 5xx error","Payment not received (x402) results in a 402 Payment Required response before data is returned"],"whenToPreferThis":"Use this endpoint when an agent or user needs a quick, pay-per-call risk signal on a token approval before signing a blockchain transaction, especially in DeFi workflows where smart contract drain attacks are a concern. Prefer this over general blockchain analytics tools when you need a focused approval-specific risk score via a lightweight GET request with micropayment access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:34:33.830Z","isFirstParty":false,"canonicalSlug":"automaton-sovereign-token-approval-risk-api-ce2d5c3c"}