# Liquidation Oracle – DeFi Lending Risk Levels

> Liquidation Oracle – DeFi Lending Risk Levels is a paid API for AI agents from liquidation-oracle.api.klymax402.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns current liquidation risk levels for positions across DeFi lending protocols, filterable by asset, protocol, and minimum USD value at risk.

## Facts

- Endpoint: GET https://liquidation-oracle.api.klymax402.com/api/levels
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/liquidation-oracle-api-klymax402-com-7909a485
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AATEnqNwdcL896G9YES6Q

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 liquidation-oracle-api-klymax402-com-7909a485
```

Example prompt: Show me the top 50 liquidation risk levels on Aave for ETH collateral, only positions worth at least $50,000.

## When to prefer this

Use this endpoint when an agent needs real-time or near-real-time liquidation risk snapshots across major DeFi lending protocols, especially when filtering by specific collateral assets or protocols. Prefer this over on-chain RPC calls when you need aggregated multi-protocol risk data without building custom indexing.

## Known failure modes

- Invalid protocol name returns empty results or error
- Asset symbol not recognized returns no matching entries
- Limit exceeds 100 — capped or rejected
- minValueUsd too high returns empty result set
- Network or oracle data unavailability causes stale or missing data

## How this service works

Get liquidation risk levels for DeFi lending protocols

## Output

A list of liquidation risk entries across DeFi lending protocols, each including the protocol name, collateral asset, USD value at risk, and risk level. Results can be filtered by asset (e.g. ETH, WBTC, stETH), protocol (e.g. aave, compound, morpho, venus), and minimum USD threshold, up to 100 entries per call.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "asset": "ETH",
   "limit": 50,
   "protocol": "aave",
   "minValueUsd": 50000
  }
 }
}
```

## 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": [],
     "properties": {
      "asset": {
       "type": "string",
       "description": "Filter by collateral asset symbol (e.g. ETH, WBTC, stETH). Optional — returns all assets if omitted."
      },
      "limit": {
       "type": "number",
       "description": "Number of results to return (default: 20, max: 100)"
      },
      "protocol": {
       "type": "string",
       "description": "Filter by protocol (e.g. aave, compound, morpho, venus). Use 'all' or omit for all protocols."
      },
      "minValueUsd": {
       "type": "number",
       "description": "Minimum at-risk value in USD to include (default: 10000)"
      }
     }
    }
   },
   "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/liquidation-oracle-api-klymax402-com-7909a485/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from liquidation-oracle.api.klymax402.com](https://www.zero.xyz/host/liquidation-oracle.api.klymax402.com/llms.txt)
