{"uid":"cap_Cj13_yxxayugqxKRQ4lLT","slug":"freysa-intelligence-approval-risk-analysis-71ce8000","name":"Freysa Intelligence – Approval Risk Analysis","description":"Approval safety check for AI agents. Analyzes approve/approveForAll transactions before you sign. Detects dangerous spenders, unlimited allowance risks, and malicious patterns. Every output cites block evidence.","url":"https://economic-agent-369.freysa.dev/api/approval-risk","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","default":"base","description":"Blockchain"},"token_address":{"type":"string","description":"Token address"},"spender_address":{"type":"string","description":"Spender"}}},"responseSchema":{"type":"object","example":{"approval_risk":{"risk":"high","is_safe":false,"recommendation":"reject"}}},"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_SR6_apqe25B3388-rpnL9","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":"Analyzes the risk level of a token approval or on-chain transaction and returns a safety recommendation (safe/unsafe) with a risk classification.","exampleAgentPrompt":"Before I sign this token approval, run it through Freysa's approval risk check and tell me if it's safe or if I should reject it.","exampleUseCases":[{"title":"DeFi agent pre-approval safety gate","prompt":"I'm about to approve a DeFi protocol to spend my USDC — can you check the approval risk on this transaction schema and tell me if it's high risk or safe to proceed?"},{"title":"Autonomous agent transaction guardrail","prompt":"My agent is trying to sign a token approval on-chain. Before it goes through, analyze the approval risk and block it if the recommendation is to reject."},{"title":"Suspicious airdrop approval screening","prompt":"I got an airdrop and the claim flow is asking for a token approval — run a risk check on this approval and let me know if it's flagged as unsafe."}],"resultDescription":"Returns a JSON object with an approval_risk field containing: a risk level string (e.g. 'high', 'low'), a boolean is_safe flag, and a recommendation string (e.g. 'reject' or 'approve'). Allows an agent or user to make an informed go/no-go decision before signing a transaction.","failureModes":["Malformed or missing schema input returns an error or undefined risk classification","Unknown token contracts may return incomplete risk data","False negatives possible for novel or obfuscated malicious approvals","Payment failure via x402 results in 402 response and no analysis","High-volume repeated calls may be rate-limited"],"whenToPreferThis":"Use this endpoint when an autonomous agent or user is about to sign a token approval and needs a fast, paid-per-call risk verdict before proceeding. Prefer this over generic blockchain explorers when you need a structured safe/unsafe recommendation with a rejection signal, especially for agent automation pipelines where a human is not reviewing every approval manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:35:10.501Z","isFirstParty":false}