{"uid":"cap_YwUG0NtwQpxN4Xtzct1Ai","slug":"minia2a-x402-swap-safety-fb16eb8d","name":"minia2a x402-swap-safety","description":"minia2a service: x402-swap-safety","url":"https://minia2a.uk/x402/swap-safety","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_clVPrevw8BVvgvaNDFAyl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks the safety of a token or asset swap operation before execution","exampleAgentPrompt":"Before I execute this ETH-to-USDC swap, can you run a safety check on it — use the x402-swap-safety endpoint to tell me if the swap looks risky or safe to proceed?","exampleUseCases":[{"title":"Pre-trade DeFi swap validation","prompt":"I want to swap 1 ETH for USDC on a DEX — can you check if this swap is safe before I confirm it?"},{"title":"Automated swap safety in trading bot","prompt":"My trading bot is about to execute a token swap — run a safety check on the swap parameters first and only proceed if it comes back safe."},{"title":"Risk assessment before large swap","prompt":"I'm about to do a large WBTC-to-DAI swap, can you assess the safety of this swap operation and flag any risks before I go ahead?"}],"resultDescription":"Returns a safety assessment for a given swap operation, indicating whether the swap is considered safe or risky based on the provided parameters such as swap type, method, and query params.","failureModes":["Missing required 'input' field returns validation error","Invalid or unsupported swap type may return an error or empty result","Network timeout if the underlying safety check service is slow","Malformed query parameters may cause unexpected results or errors","Payment failure (HTTP 402) if USDC payment is not properly attached"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost ($0.05 USDC) pre-flight safety check on a token swap before execution. Prefer it over manual review when automating DeFi workflows or operating a trading bot that needs programmatic swap risk signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:04:57.148Z","isFirstParty":false}