{"uid":"cap_M-t2U58UrFT5UYKH4PB1R","slug":"supremeai-x402-pre-flight-check-6ab31390","name":"SupremeAI x402 Pre-flight Check","description":"Pay-per-call tools for AI agents: x402 pre-flight checks (is this endpoint safe to pay?), web pages as clean markdown (with optional JavaScript rendering), Latin American tax-ID validation, npm/PyPI/GitHub lookups, and URL health checks. No API keys, no accounts — pay per request in USDC.","url":"https://agents.supremeai.ca/v1/preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"x402 endpoint you intend to pay"},"body":{"type":"object","description":"JSON body to send with POST probes"},"method":{"type":"string","description":"GET or POST; default tries GET then POST"},"max_price_usd":{"type":"number","description":"highest acceptable price, default 0.50"},"expected_pay_to":{"type":"string","description":"wallet you expect to be paid"}}},"responseSchema":{"type":"json","example":{"url":"https://agents.supremeai.ca/v1/validate","risk":"low","summary":"Looks OK to pay ($0.002 USDC on eip155:8453).","findings":[],"safe_to_pay":true,"payment_options":[{"pay_to":"0xb65c...2ca31","scheme":"exact","network":"eip155:8453","price_usd":0.002,"asset_symbol":"USDC"}],"recommended_option":0}},"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_WLn4TEkOWvCvUSL88AgLh","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 an x402-enabled endpoint before payment to assess safety, price, and wallet legitimacy — returning a risk rating and recommended payment option.","exampleAgentPrompt":"Before I pay, run a pre-flight safety check on https://agents.supremeai.ca/v1/validate — make sure the price is under $0.05 and the pay-to wallet is 0xb65c...2ca31.","exampleUseCases":[{"title":"Safe payment check before agent call","prompt":"Before my agent pays that x402 endpoint at https://api.example.com/v1/search, can you run a pre-flight check to make sure it's safe, the price is under $0.10, and the wallet matches 0xABC123...?"},{"title":"Auditing unknown x402 API in workflow","prompt":"I found this x402 endpoint https://unknown-agent-api.io/v1/data in a third-party workflow — can you check the risk level and tell me what wallet it pays to before I let my agent use it?"},{"title":"Price cap enforcement before payment","prompt":"My agent wants to call https://agents.supremeai.ca/v1/fetch, but I only want to proceed if it costs less than $0.02 USDC — can you do a pre-flight check and confirm the price is within that limit?"}],"resultDescription":"A JSON object containing a risk level (e.g. 'low', 'medium', 'high'), a human-readable summary, a safe_to_pay boolean, a list of findings or red flags, an array of payment options (each with wallet address, scheme, network, price in USD, and asset symbol), and the index of the recommended payment option.","failureModes":["Target URL is unreachable or returns non-402 response — endpoint reports inability to probe","Price exceeds max_price_usd threshold — flagged in findings with safe_to_pay false","Wallet address mismatch with expected_pay_to — flagged as a risk finding","Malformed or non-x402-compliant endpoint — returns error or high-risk rating","Network timeout when probing the target endpoint"],"whenToPreferThis":"Use this endpoint whenever an AI agent is about to make an x402 payment and needs to verify the target is legitimate, within budget, and paying the correct wallet. It is the only purpose-built x402 pre-flight safety check — prefer it over manually inspecting 402 headers or skipping validation entirely, especially when the target endpoint is unknown or third-party.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:31:15.782Z","isFirstParty":false,"canonicalSlug":"supremeai-x402-pre-flight-check-6ab31390"}