# Base DeFi Liquidation Telemetry

> Base DeFi Liquidation Telemetry is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns decoded LiquidationCall event telemetry from Base lending protocols, including counts, USD debt repaid and collateral seized, estimated liquidation bonus, and per-protocol/per-asset breakdowns.

## Facts

- Endpoint: GET https://api.agentstools.dev/lending/liquidations
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-defi-liquidation-telemetry-8631d6f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tNX9K7I8R9rQsyG6F7mD3

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 base-defi-liquidation-telemetry-8631d6f5
```

Example prompt: Pull the liquidation telemetry for Base lending protocols over the last 6 hours — I want the total debt repaid, collateral seized, estimated liquidation bonuses, and a breakdown by asset, focusing on aave-v3.

## When to prefer this

Use this endpoint when you need decoded, aggregated liquidation event data specifically from the Base blockchain's lending protocols (especially Aave v3), including USD-denominated summaries and per-asset breakdowns — without having to decode raw event logs yourself. Prefer it over generic blockchain explorers when you need ready-to-use telemetry rather than raw transaction data.

## Known failure modes

- Invalid window parameter (e.g. beyond ~12h max) returns an error or empty result
- Unknown protocol enum value returns a validation error
- No liquidation events in the requested window returns zero counts
- Rate limiting or payment failure (x402) if USDC payment is not provided
- Temporary unavailability of Base event log data source causes partial or empty response

## How this service works

On-chain DeFi liquidation telemetry for Base lending protocols: recent LiquidationCall events decoded by us from public Base event logs — count, total debt repaid and collateral seized (USD), estimated liquidation bonus, per-protocol and per-asset breakdown, and the recent events (user, liquidator, collateral, debt).

## Output

A structured JSON response containing: total count of LiquidationCall events, total debt repaid and collateral seized in USD, estimated liquidation bonus, breakdown by protocol and by asset, and a list of recent individual liquidation events with fields for user, liquidator, collateral asset, and debt asset.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "window": {
       "type": "string",
       "description": "Look-back window, e.g. 1h / 6h / 12h (default 6h, max ~12h)"
      },
      "protocol": {
       "enum": [
        "aave-v3"
       ],
       "type": "string",
       "description": "Lending protocol to scan (default all sources)"
      }
     }
    }
   },
   "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/base-defi-liquidation-telemetry-8631d6f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
