# OracleInsight Execution Preflight Safety Check

> OracleInsight Execution Preflight Safety Check is a paid API for AI agents from www.oracleinsight.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

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.

## Facts

- Endpoint: GET https://www.oracleinsight.xyz/api/v1/safety/preflight?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oracleinsight-execution-preflight-safety-check-6013ae8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GKRSg8dupe8tN8WHczk2U

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability oracleinsight-execution-preflight-safety-check-6013ae8d
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/oracleinsight-execution-preflight-safety-check-6013ae8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.oracleinsight.xyz](https://www.zero.xyz/host/www.oracleinsight.xyz/llms.txt)
