# DeFi Pre-Check Composite Safety Scanner

> DeFi Pre-Check Composite Safety Scanner is a paid API for AI agents from organiccryptoyyc.com:8443, paid per call via x402, $0.028/call, status unknown (last checked 2026-09-15).

Runs a composite DeFi safety pre-check for a given chain or protocol, returning red flags, yield pool data, stablecoin depeg alerts, and an overall verdict before a user commits funds.

## Facts

- Endpoint: GET https://organiccryptoyyc.com:8443/v1/defi/precheck
- Price: $0.028/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-pre-check-composite-safety-scanner-390b8b85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vUWO4c66Qw6C0en6u4lOc

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 defi-pre-check-composite-safety-scanner-390b8b85
```

Example prompt: Before I put money into Lido, run a DeFi pre-check on Ethereum — flag any red flags, check if any stablecoins are depegging, and show me yield pools with at least $500k TVL.

## When to prefer this

Use this endpoint when an AI agent or user wants a quick, composite go/no-go safety assessment before interacting with a DeFi protocol or chain — particularly when stablecoin depeg risk, protocol red flags, and yield pool TVL filtering are all needed in a single call. Prefer this over raw on-chain RPC calls when a summarized verdict plus structured flags are more useful than raw block data.

## Known failure modes

- Missing required 'type' or 'method' fields returns a 400 validation error
- Unknown chain or protocol name may return empty results or a generic error
- Payment not settled in USDC triggers x402 payment-required response before data is returned
- On-chain RPC timeout for a specific chain may result in partial data or an error flag
- Depeg check with unsupported stablecoin symbol returns empty depeg array

## How this service works

Real-device, multi-region site verification with screenshot proof, live Pocket Network Shannon relay-demand/tokenomics/validator-security data, and on-chain RPC snapshots across 38 chains -- Ethereum, Solana, BSC, and peaq natively, plus 34 more EVM chains via Pocket Network's free public gateway (Arbitrum, Base, Optimism, Polygon, Avalanche, zkSync, Linea, Scroll, Gnosis, and more) -- 54 metered x402 routes, priced and settled per call in USDC. Migrating to Acurast decentralized cloud compute for censorship-resistant hosting -- stay tuned.

## Output

A JSON object containing a 'flags' array listing any detected red flags (e.g. depeg events, low TVL, protocol anomalies), a 'source' field identifying the composite check source, and a 'verdict' string summarizing whether it is safe to proceed — e.g. 'no red flags -- looks safe to proceed'.

## 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",
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain name, e.g. 'Ethereum' (chain-aggregate mode + yields filter; ignored for health scoring if protocol is set)"
      },
      "limit": {
       "type": "string",
       "description": "Max yield pools to return (default 20)"
      },
      "symbols": {
       "type": "string",
       "description": "Comma-separated stablecoin symbols for the depeg check (default: all supported)"
      },
      "protocol": {
       "type": "string",
       "description": "Protocol name or slug, e.g. 'lido', 'aave' (single-protocol mode)"
      },
      "minTvlUsd": {
       "type": "string",
       "description": "Minimum pool TVL in USD for the yields list (default 100000)"
      },
      "thresholdPct": {
       "type": "number",
       "description": "Depeg deviation threshold percent (default 0.5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "flags": [],
  "source": "defi-precheck-composite",
  "verdict": "no red flags -- looks safe to proceed"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-pre-check-composite-safety-scanner-390b8b85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from organiccryptoyyc.com:8443](https://www.zero.xyz/host/organiccryptoyyc.com%3A8443/llms.txt)
