# DeFi Whale Borrow Position Monitor

> DeFi Whale Borrow Position Monitor is a paid API for AI agents from trade-production-180b.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the largest at-risk borrow positions across all monitored chains and lending venues, ranked by debt size, with optional filters for minimum USD value, limit, and chain.

## Facts

- Endpoint: GET https://trade-production-180b.up.railway.app/whales
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-whale-borrow-position-monitor-c180bda7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v2qo2UALHkwzNizVJ41OF

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-whale-borrow-position-monitor-c180bda7
```

Example prompt: Show me the top 10 largest at-risk borrow positions across all chains with at least $500,000 in debt — I want to see which whales are closest to liquidation right now.

## When to prefer this

Use this endpoint when you need to identify the largest whale borrow positions at risk of liquidation across multiple DeFi lending venues and chains in a single ranked query. Prefer this over individual protocol APIs when cross-chain, cross-venue aggregation is needed, or when you want to prioritize by debt size rather than health factor proximity. Best suited for liquidation bots, risk dashboards, and systemic DeFi risk monitoring.

## Known failure modes

- Invalid chain parameter returns empty result or 400 error
- minUsd set too high may return empty list if no positions meet threshold
- Payment failure (x402) results in 402 response and no data returned
- Service may have stale data if on-chain indexing is delayed
- limit parameter exceeding maximum allowed may be capped or rejected

## How this service works

The biggest at-risk borrow positions across every chain/venue the fleet watches, ranked by debt size. Query: ?minUsd, ?limit, ?chain.

## Output

A ranked list of the largest at-risk borrow positions across all monitored chains and lending venues, including details such as wallet address, total debt in USD, collateral value, health factor, chain, and lending venue — sorted descending by debt size, filtered by the specified minUsd and chain parameters.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-whale-borrow-position-monitor-c180bda7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trade-production-180b.up.railway.app](https://www.zero.xyz/host/trade-production-180b.up.railway.app/llms.txt)
