# Liquidation Oracle — DeFi Liquidation Levels API

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

Returns on-chain liquidation price levels and at-risk collateral positions across major DeFi lending protocols, filterable by asset, protocol, and minimum USD value.

## Facts

- Endpoint: GET https://klymax402.com/api/liquidation-oracle/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-defi-liquidation-levels-api-ffb3de73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lFlD8jFDreAlZvt4tGeGV

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-defi-liquidation-levels-api-ffb3de73
```

Example prompt: Show me the current liquidation levels for ETH collateral on Aave — I want to see any positions at risk with at least $50,000 USD exposure, up to 50 results.

## When to prefer this

Use this endpoint when you need structured, aggregated DeFi liquidation price level data across multiple protocols (Aave, Compound, Morpho, Venus) without building your own on-chain indexer. Prefer this over raw RPC calls or block explorer scraping when you want normalized, multi-protocol data with USD value filtering in a single API call. Best suited for liquidation risk monitoring, market analysis bots, or DeFi dashboards.

## Known failure modes

- Invalid asset symbol returns empty results or 400 error
- Unknown protocol name may return no data or an error
- Limit exceeding 100 is rejected or clamped
- minValueUsd set too high may return zero results
- Payment failure (402) if USDC balance is insufficient on Base
- Service unavailability returns 5xx error

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

A JSON object containing an array of liquidation levels grouped by asset and protocol, aggregate statistics summarizing total at-risk value and pool count, the number of results returned, and metadata fields for asset symbol and protocol name. The response also includes the total number of lending pools analyzed.

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset": "example",
  "levels": [],
  "results": 1,
  "protocol": "example",
  "aggregate": {},
  "total_pools_analyzed": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/liquidation-oracle-defi-liquidation-levels-api-ffb3de73/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klymax402.com](https://www.zero.xyz/host/klymax402.com/llms.txt)
