# Otto AI Market Risk — Global Stablecoin Depeg & Base DEX Liquidity Health

> Otto AI Market Risk — Global Stablecoin Depeg & Base DEX Liquidity Health is a paid API for AI agents from x402.ottoai.services, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns a composite AI-generated market risk score covering global USD-stablecoin depeg health and Base network DEX exit-liquidity conditions, with risk level, confidence, and a plain-English risk summary.

## Facts

- Endpoint: GET https://x402.ottoai.services/market-risk
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/otto-ai-market-risk-global-stablecoin-depeg-base-dex-liquidity-health-1120c155
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9Rx3_GSSTm-gJl75a1hr6

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 otto-ai-market-risk-global-stablecoin-depeg-base-dex-liquidity-health-1120c155
```

Example prompt: What's the current market risk level — give me the composite risk score, stablecoin depeg health, and a plain-English summary of any thin-liquidity stress on Base DEX right now.

## When to prefer this

Choose this endpoint when you need a single composite signal combining both stablecoin peg stability and on-chain DEX exit liquidity on Base, with an AI-written risk narrative — particularly useful for pre-trade risk checks, DeFi portfolio monitoring, or alerting workflows that need a human-readable risk verdict rather than raw price data.

## Known failure modes

- Degraded confidence if some stablecoins are unpriced (blind spots noted in degradedReasons field)
- DEX mover sample skewed to high-volume names if DexScreener boosts are empty, understating small-cap exit stress
- Stale data if upstream price or liquidity feeds are delayed (check meta.stalenessSec)
- Empty or partial legs if one data source is down (coverage.legsReporting < legsExpected)
- Payment failure if USDC balance is insufficient or x402 payment header is malformed

## How this service works

Is anything breaking right now? Composite crypto market-stress digest: a 0-100 score (low/moderate/elevated/high) blended from GLOBAL USD-stablecoin depeg health (DefiLlama) and BASE on-chain DEX exit-liquidity, with a per-leg breakdown and an AI risk line. Covers stablecoin systemic risk + Base liquidity microstructure (NOT derivatives or sentiment). Both legs required. A read older than an hour regenerates inline. $0.002 per call.

## Output

A JSON object containing a composite risk score (0-100), a stablecoin depeg sub-score with worst offender symbol and supply-at-risk figures, a Base DEX liquidity sub-score with thin-liquidity percentage and volume stats, an overall risk level label (e.g. 'moderate'), a confidence rating (e.g. 'degraded'), an AI-generated one-line risk narrative, a list of degraded-data warnings, and a coverage/legs-reporting summary — all timestamped.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "depeg": {
    "score": 29,
    "worstSymbol": "USDX",
    "depeggedCount": 2,
    "totalSupplyUsd": 224731008451,
    "pricedSupplyPct": 99.6,
    "supplyAtRiskPct": 0.55,
    "supplyAtRiskUsd": 1240000000,
    "supplyFlow7dPct": 0.84,
    "worstDeviationBps": -69,
    "unpricedMaterialPct": 0.452,
    "materialDepeggedCount": 1,
    "unpricedMaterialCount": 5,
    "unpricedMaterialSymbols": [
     "USDX",
     "M",
     "USDM",
     "MNEE",
     "SUSD"
    ],
    "unpricedMaterialSupplyUsd": 1410000000
   },
   "scope": "Global USD-stablecoin depeg health + Base on-chain DEX exit-liquidity. Stablecoin systemic + Base liquidity microstructure only — derivatives/sentiment not included.",
   "coverage": {
    "legsExpected": 2,
    "legsReporting": 2
   },
   "riskLevel": "moderate",
   "aiRiskLine": "Market stress is moderate and led by the Base liquidity leg: a third of analyzed Base movers run on thin exit liquidity, while global stablecoin pegs are broadly intact aside from one small-cap 69bps below peg. Aggregate stablecoin supply is still expanding 0.84% over 7d - watch the thin-liquidity Base names for slippage.",
   "confidence": "degraded",
   "generatedAt": "2026-06-29T12:00:00.000Z",
   "dexLiquidity": {
    "score": 33,
    "network": "base",
    "moverSource": "top-volume",
    "moversSampled": 15,
    "moversAnalyzed": 12,
    "thinLiquidityPct": 33.3,
    "baseDexVolume24hUsd": 412000000,
    "thinLiquidityMovers": 4
   },
   "legsAvailable": [
    "depeg",
    "dexLiquidity"
   ],
   "degradedReasons": [
    "depeg leg blind to 5 unpriced material stablecoin(s) (0.452% of supply: USDX, M, USDM, MNEE, SUSD) — a depeg there would be invisible to the score",
    "Base exit-liquidity sampled from the top-volume universe (DexScreener boosts empty) — skews to higher-liquidity names, so thin-% may understate small-cap exit stress"
   ],
   "compositeRiskScore": 31
  },
  "meta": {
   "degraded": false,
   "validUntil": "",
   "generatedAt": "",
   "stalenessSec": 0
  },
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/otto-ai-market-risk-global-stablecoin-depeg-base-dex-liquidity-health-1120c155/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ottoai.services](https://www.zero.xyz/host/x402.ottoai.services/llms.txt)
