# Beggar Bot Liquidations Feed (Base Mainnet)

> Beggar Bot Liquidations Feed (Base Mainnet) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Fetches recent DeFi liquidation events on Base mainnet, with configurable lookback window and result limit.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/liquidations?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-liquidations-feed-base-mainnet-fc1015ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K_Z_mtl1WZCza_bRBNn78

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 beggar-bot-liquidations-feed-base-mainnet-fc1015ad
```

Example prompt: Pull the last 12 hours of DeFi liquidation events on Base mainnet, up to 50 results, so I can see which positions got liquidated recently.

## When to prefer this

Use this endpoint when you need a quick, structured feed of recent Base mainnet liquidation events without setting up your own blockchain indexer. It's ideal for DeFi monitoring agents, risk dashboards, or research workflows that need liquidation history with configurable time windows. Prefer it over generic block explorers when you want pre-parsed liquidation data ready for analysis.

## Known failure modes

- hours parameter exceeds max of 24 — returns error or clamped result
- limit parameter exceeds allowed maximum — returns error
- payment not received via x402 — returns 402 Payment Required
- network unavailable or RPC error — returns 5xx
- invalid query parameter types — returns 400 Bad Request

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

A JSON list of recent on-chain liquidation events from Base mainnet, each including details such as liquidated address, collateral, debt, protocol, and timestamp, filtered by the requested lookback window and capped at the specified limit.

## 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",
     "properties": {
      "hours": {
       "type": "string",
       "description": "lookback hours (default 6, max 24)"
      },
      "limit": {
       "type": "string",
       "description": "max events (default 30)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-liquidations-feed-base-mainnet-fc1015ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
