{"uid":"cap_du6AuSJMtzovqWY4dUSu_","slug":"orionkr-xyz-9ba3e69b","name":"Orion Approval Risk Check","description":"Ultra-low-cost approval risk check for Base agents before signing token approvals or swaps. Detects dangerous spender approval, unlimited approval risk, approval-to-router mismatch, unsafe execution, transaction safety issues, and do-not-execute conditions.","url":"https://orionkr.xyz/v1/base/approval-risk","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"chain":{"type":"string","const":"base"},"wallet":{"type":"string"},"address":{"type":"string","description":"Base wallet, token, or contract address."},"amountIn":{"type":"string"},"tokenAddress":{"type":"string","description":"Optional Base token contract address."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":[],"properties":{"success":{"type":"boolean"},"verdict":{"type":"string"},"risk_score":{"type":"number"},"blocking_flags":{"type":"array","items":{"type":"string"}},"required_next_call":{"type":"string"},"verdict_ttl_seconds":{"type":"number"}},"additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NJIisi8hid74u-owX1Zw-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a token approval or swap transaction for dangerous spender, unlimited approval risk, router mismatch, and unsafe execution conditions before signing on Base.","exampleAgentPrompt":"Before I sign this token approval for the DEX swap on Base, run an approval risk check — I want to know if the spender is dangerous, if the approval amount is unlimited, and whether there's a router mismatch or any unsafe execution conditions.","exampleUseCases":[{"title":"Screen swap before signing","prompt":"I'm about to execute a token swap on Base — before I sign anything, run a safety check on the transaction to make sure the spender isn't flagged as dangerous, the approval amount isn't unlimited, and the router matches what I expect."},{"title":"Detect unlimited approval risk","prompt":"I got a prompt to approve a token on Base but I'm worried the allowance might be set to unlimited. Can you run a pre-sign safety check and tell me the risk level and any flags before I go ahead?"},{"title":"Verify spender address safety","prompt":"Before I approve this DeFi contract to spend my tokens on Base, check if the spender address is legitimate, whether there's an approval-to-router mismatch, and flag any unsafe execution conditions — I don't want to sign anything risky."}],"resultDescription":"Returns a JSON object with a list of risk flags (e.g. dangerous spender, unlimited approval, router mismatch, unsafe execution), a verified boolean, a riskLevel string (LOW/MEDIUM/HIGH), and a numeric riskScore (0-100).","failureModes":["Invalid or missing approval transaction data returns 400 bad request","Unrecognized spender address may return empty flags with LOW risk rather than an error","Network timeout or service unavailability returns 5xx","Insufficient USDC payment via x402 returns 402 payment required","Malformed Base address input returns validation error"],"whenToPreferThis":"Use this endpoint when an agent is about to sign a token approval or execute a swap on Base and needs a fast, cheap ($0.005) pre-signing safety gate. Prefer this over generic rug-check endpoints when the specific concern is approval-level risk: unlimited approvals, spender identity, router mismatches, and do-not-execute conditions rather than token liquidity or rug-pull analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:36:22.495Z","isFirstParty":false}