# DeFi Lending Protocol Solvency & Risk Gauge

> DeFi Lending Protocol Solvency & Risk Gauge is a paid API for AI agents from aeml-x402.zeabur.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-16).

Returns a multi-leg on-chain risk gauge for a single DeFi lending protocol covering exploit/lifecycle status, bad-debt/solvency pressure, and contagion cascade signals with cross-validated narrative.

## Facts

- Endpoint: GET https://aeml-x402.zeabur.app/gauge/defilending-region
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-lending-protocol-solvency-risk-gauge-a24315ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tG0NddRAXF-rYCDQs79Qg

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-lending-protocol-solvency-risk-gauge-a24315ae
```

Example prompt: Pull up the full solvency and contagion risk gauge for Euler v1 — I want to see the bad-debt pressure, any LRT collateral impairment, stablecoin depeg cascade signals, and the cross-validated narrative before I decide whether to keep funds there.

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-dimensional on-chain risk snapshot for a specific DeFi lending protocol — combining lifecycle status, bad-debt, oracle stress, LRT/RWA collateral risk, and stablecoin contagion in one call with verifiable provenance. Prefer it over generic DeFi dashboards when you need cryptographically verifiable, auditable citations and cross-leg narrative for depositor due diligence or yield agent risk gating. Not suitable for real-time trading signals or as sole basis for investment decisions.

## Known failure modes

- Missing or unknown entity param returns error or empty legs
- Stale data flagged via freshness field (stale) when on-chain sources are delayed
- Dead source indicated when upstream data feed is frozen or discontinued
- Oracle or on-chain data unavailable for niche protocols results in partial legs
- Payment failure (x402) returns 402 before any data is served
- Some signals may lack official classification thresholds, returning partial data

## How this service works

[3-LEG] DeFi lending chain, one protocol (?entity=euler-v1): leading utilisation and bad-debt stress -> current current protocol state -> realized lifecycle to exploit, insolvency or deprecation (confirmation gate). A sequential chain, not one reading - confidence = how many legs are lit, in order. Sources: onchain and protocol disclosures. Descriptive only, never a forecast or advice. No data -> 422 no_charge, not billed.

## Output

A structured object with named legs (signal_id, current value, observed_at, data_age, record_hash) covering protocol lifecycle, bad-debt/utilization/oracle stress, LRT/RWA collateral impairment, stablecoin depeg contagion, depositor flight, and cross-protocol cascade. Includes a cross-line narrative, provenance/freshness metadata, verifiable Ed25519-signed citations, and optional decision_points for re-parameterization. Graded as screening-level, not decision-grade.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": false,
     "properties": {
      "entity": {
       "type": "string",
       "description": "required - monitored object id, paired with signal_id; free list at GET /gauge/catalog?signal_id=<signal_id> -> signals[0].entities[]",
       "examples": [
        "aave",
        "compound",
        "morpho",
        "euler-v2",
        "sky-maker",
        "spark"
       ],
       "x-accepted-values": {
        "shown": 6,
        "total": 20,
        "all": "https://api.truthbear.co/schemas/gauge-defilending-region.input.json"
       }
      }
     },
     "required": [
      "entity"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "queryParams"
   ]
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {}
   },
   "required": [
    "type"
   ]
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-lending-protocol-solvency-risk-gauge-a24315ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aeml-x402.zeabur.app](https://www.zero.xyz/host/aeml-x402.zeabur.app/llms.txt)
