# Cross-Chain Liquidation Distress Index

> Cross-Chain Liquidation Distress Index 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-13).

Returns a ranked list of near-liquidation DeFi positions across Aave, Morpho, Comet, and Moonwell on Base, Ethereum, and HyperEVM, scored by proximity-to-liquidation multiplied by position size.

## Facts

- Endpoint: GET https://trade-production-180b.up.railway.app/distress
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cross-chain-liquidation-distress-index-ac40fe3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aSHASjgPIv9mfdseNx_dA

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 cross-chain-liquidation-distress-index-ac40fe3a
```

Example prompt: Show me the top 20 most distressed borrowing positions across all chains the fleet watches — ranked by proximity times size — filtering to only positions with a distress score above 50.

## When to prefer this

Choose this endpoint when you need a composite ranked view of liquidation risk across multiple chains and venues simultaneously, weighted by both proximity to liquidation threshold and position size. It is uniquely valuable compared to per-chain or per-venue health checks because it provides a single prioritized queue across the entire multi-venue fleet (Aave, Morpho, Comet, Moonwell on Base, Ethereum, HyperEVM). Prefer it over the 'liquidatable now' endpoint when you want near-miss positions not yet at health factor ≤ 1, and over the 'top debt' endpoint when you care about liquidation proximity, not just raw size.

## Known failure modes

- Invalid chain parameter returns empty results or validation error
- minScore or limit out of range may return 400 or empty set
- Payment failure (x402) blocks the response if USDC not provided
- Stale data if fleet monitoring lags — updatedAt timestamps may be old
- No positions found matching filters returns count:0 with empty items array

## How this service works

Ranked cross-chain liquidation-distress index — every near-liquidation position the fleet watches (Aave/Morpho/Comet/Moonwell across Base, Ethereum, HyperEVM), scored by proximity×size. Query: ?chain, ?minScore, ?limit.

## Output

A JSON object containing a count of matching positions and an array of position records, each with chain name, chain ID, lending venue (Aave/Morpho/Comet/Moonwell), borrower address, collateral token, debt in USD, health factor, distress score (proximity×size composite), sellable flag, risk flags array, data source, and last-updated timestamp. Also includes a builtAt timestamp for the full snapshot.

## 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/cross-chain-liquidation-distress-index-ac40fe3a/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)
