Api Endpoint

www.oracleinsight.xyz

Pre-trade safety check: oracle-immune-system verdict for one trade, with verifiable EIP-712 attestation support. BLOCK verdicts are complete checks and are charged.

Open interactive test console

Offering

Provider
www.oracleinsight.xyz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://www.oracleinsight.xyz/api/v1/safety/pre-trade
MIME type
application/json
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
oracle-safety, DeFi, pre-trade, X402, Agent

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
20000 atomic units
Atomic price: 20000 · Network: eip155:999 · Asset: 0xb88339CB7199b77E23DB6E890353E22632Ba630f · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:999",
    "asset": "0xb88339CB7199b77E23DB6E890353E22632Ba630f",
    "amount": "20000",
    "payTo": "0x5FBbbCbF2Ade44F5c604E5E55f11945E1ADdD231"
  }
]

Observed health

Status
Healthy
Latest latency
2221 ms
Average latency
2170 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "asset": {
          "type": "string",
          "description": "Asset symbol, e.g. ETH, BTC, USDC"
        },
        "chainId": {
          "type": "number",
          "description": "Chain ID, e.g. 1=Ethereum, 0=chain-agnostic"
        },
        "action": {
          "type": "string",
          "enum": [
            "swap",
            "borrow",
            "lend",
            "liquidate",
            "repay"
          ],
          "description": "Type of DeFi operation"
        },
        "tradeAmountUsd": {
          "type": "number",
          "description": "Trade size in USD"
        },
        "targetProviders": {
          "type": "string",
          "description": "Comma-separated list of oracle providers to restrict the check to"
        },
        "protocolId": {
          "type": "string",
          "description": "Optional lending protocol id to evaluate against (e.g. aave-v3-ethereum)"
        },
        "schemaVersion": {
          "type": "number",
          "enum": [
            1,
            2,
            3
          ],
          "description": "Attestation schema version: 1 (default, 11-field), 2 (26-field, CAIP-19 + quorum gate), or 3 (27-field: v2 + the signed independence threshold, so the gate is self-verifying)"
        },
        "destinationAsset": {
          "type": "string",
          "description": "Optional destination asset symbol (v2 binds it as destinationAssetId)"
        }
      },
      "required": [
        "asset",
        "chainId",
        "action",
        "tradeAmountUsd"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "action": {
              "description": "Type of DeFi operation",
              "enum": [
                "swap",
                "borrow",
                "lend",
                "liquidate",
                "repay"
              ],
              "type": "string"
            },
            "asset": {
              "description": "Asset symbol, e.g. ETH, BTC, USDC",
              "type": "string"
            },
            "chainId": {
              "description": "Chain ID, e.g. 1=Ethereum, 0=chain-agnostic",
              "type": "number"
            },
            "destinationAsset": {
              "description": "Optional destination asset symbol (v2 binds it as destinationAssetId)",
              "type": "string"
            },
            "protocolId": {
              "description": "Optional lending protocol id to evaluate against (e.g. aave-v3-ethereum)",
              "type": "string"
            },
            "schemaVersion": {
              "description": "Attestation schema version: 1 (default, 11-field), 2 (26-field, CAIP-19 + quorum gate), or 3 (27-field: v2 + the signed independence threshold, so the gate is self-verifying)",
              "enum": [
                1,
                2,
                3
              ],
              "type": "number"
            },
            "targetProviders": {
              "description": "Comma-separated list of oracle providers to restrict the check to",
              "type": "string"
            },
            "tradeAmountUsd": {
              "description": "Trade size in USD",
              "type": "number"
            }
          },
          "required": [
            "asset",
            "chainId",
            "action",
            "tradeAmountUsd"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}