{"uid":"cap_GKRSg8dupe8tN8WHczk2U","slug":"oracleinsight-execution-preflight-safety-check-6013ae8d","name":"OracleInsight Execution Preflight Safety Check","description":"Execution preflight: a chain-neutral ALLOW/CAUTION/BLOCK data-sufficiency decision for one declared action. A complete BLOCK result is charged; settlement occurs only after a successful response.","url":"https://www.oracleinsight.xyz/api/v1/safety/preflight?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["asset","chainId","action","tradeAmountUsd"],"properties":{"asset":{"type":"string","description":"Asset symbol, e.g. MON, ETH, BTC"},"action":{"enum":["swap","borrow","lend","liquidate","repay"],"type":"string"},"chainId":{"type":"number","description":"Execution chain ID; Monad mainnet is 143"},"tradeAmountUsd":{"type":"number","description":"Trade size in USD"},"targetProviders":{"type":"string","description":"Optional comma-separated provider scope. On Monad, `pyth` uses the pinned Pyth Core fast path; one provider remains insufficient for ALLOW."},"destinationAsset":{"type":"string","description":"Optional destination asset for the route"},"decisionInputCheck":{"enum":["0","1"],"type":"string","description":"Set to 1 with a fresh venue quote and explicit policy to become eligible for ALLOW"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pxZ8ogxpF9aL-3N0b9Sjj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an ALLOW/CAUTION/BLOCK decision on whether sufficient oracle data exists to safely execute a declared on-chain action (swap, borrow, lend, etc.) before committing to it.","exampleAgentPrompt":"Before I execute a $5,000 swap from ETH to USDC on Monad mainnet (chain 143), run a preflight safety check to see if the oracle data is sufficient — use the Pyth fast path and let me know if it's ALLOW, CAUTION, or BLOCK.","exampleUseCases":[{"title":"Pre-swap oracle safety gate","prompt":"I'm about to swap $2,000 worth of MON to ETH on Monad mainnet — can you run a preflight check first to make sure there's enough oracle data to safely go through with it?"},{"title":"Borrow action data-sufficiency check","prompt":"Before I borrow $10,000 USDC on chain 143, check whether oracle coverage is sufficient and tell me if I should proceed, be cautious, or hold off entirely."},{"title":"Liquidation preflight before execution","prompt":"I need to liquidate a position on Monad mainnet for about $50,000 — run an execution preflight check on this liquidate action against ETH to see if the data quality is good enough to safely do it."}],"resultDescription":"A verdict of ALLOW, CAUTION, or BLOCK indicating whether oracle data is sufficiently available and trustworthy to proceed with the declared on-chain action. The response reflects chain-neutral data-sufficiency assessment and may include context about which providers contributed to the decision.","failureModes":["Missing required query parameters (asset, chainId, action, tradeAmountUsd) returns a validation error","Unsupported action type outside the enum returns an error","Chain ID not recognized or unsupported returns an error","BLOCK result is still charged $0.02 USDC — payment is not refunded on BLOCK","Single provider scope (e.g. only 'pyth') is insufficient for an ALLOW verdict on Monad","Network or upstream oracle data unavailability may result in CAUTION or BLOCK"],"whenToPreferThis":"Use this endpoint when an AI agent or automated trading system needs to gate a DeFi action on real-time oracle data quality before committing to execution — especially on Monad mainnet. Prefer it over generic price feeds when you need a structured ALLOW/CAUTION/BLOCK verdict rather than a raw price quote. Ideal for risk-averse execution pipelines where oracle manipulation or data gaps could cause financial harm.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:34:38.453Z","isFirstParty":false,"canonicalSlug":"oracleinsight-execution-preflight-safety-check-6013ae8d"}