# x402 DeFi Intel – Liquidations

> x402 DeFi Intel – Liquidations is a paid API for AI agents from cryptodefidataintel-production.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Returns real-time liquidation data for a crypto asset, including total USD liquidated, long vs. short breakdown, signal classification, and risk insight.

## Facts

- Endpoint: GET https://cryptodefidataintel-production.up.railway.app/api/liquidations
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-defi-intel-liquidations-994d6410
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ilba6DS8smPTu8MQZy7j4

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 x402-defi-intel-liquidations-994d6410
```

Example prompt: Check the current liquidation data for BTCUSDT — I want to know how much has been flushed in longs vs shorts, the overall signal, and whether there's a downside cascade risk. Give me up to 10 results.

## When to prefer this

Use this endpoint when you need real-time, pre-interpreted liquidation intelligence for a specific crypto asset, including both raw numbers (long/short USD) and a human-readable signal and risk insight. Prefer this over raw exchange APIs when you want the signal classification (e.g. 'longs_flushed') and confidence scoring already computed for agent consumption.

## Known failure modes

- Unknown or invalid asset symbol returns empty or error response
- Limit parameter out of range may return default or error
- Exchange data unavailable leads to reduced confidence or missing sources
- Rate limiting or payment failure returns 402 with payment instructions
- No recent liquidation events may return zero counts with low confidence

## How this service works

Crypto-agent toolkit: cross-chain DeFi intelligence + execution helpers + retrieval for agents. 16 endpoints: funding, open interest, long/short, token-safety, yield, prices, gas, tx-simulate, approval-check, bridge-quote, governance-search, lending, liquidations, protocol-search, swap-quote, token-resolve. Pay-per-call via x402.

## Output

Returns a JSON object with liquidation count, total USD liquidated, long liquidation USD, short liquidation USD, a signal label (e.g. 'longs_flushed'), a plain-English risk insight, confidence score, and the data sources used.

## 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"
      },
      "limit": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "count": 12,
   "symbol": "BTCUSDT",
   "totalUsd": 5100000,
   "longLiqUsd": 4200000,
   "shortLiqUsd": 900000
  },
  "signal": "longs_flushed",
  "insight": "Longs being liquidated (downside cascade risk).",
  "sources": [
   "binance"
  ],
  "confidence": 0.7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-defi-intel-liquidations-994d6410/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptodefidataintel-production.up.railway.app](https://www.zero.xyz/host/cryptodefidataintel-production.up.railway.app/llms.txt)
