81trust / 100

Cascade

by AgentFeed in Markets & finance

x402 APIPassing, checked 1 h ago

Liquidation cascade detector, live: clustered same-side liquidations happening NOW on SOL, BTC, ETH, XRP and DOGE across Bybit, OKX and Binance, with side, USD total, prints, duration and severity. Use when you need to answer: Is a cascade running on the majors right now? For every perp we record use /api/cascade-scan.

GET https://x402.ochinimus.app/api/cascade

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
58 ms typical, 58 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ochinimus.app/api/cascade?window=300"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ochinimus.app%2Fapi%2Fcascade
const res = await pay("https://x402.ochinimus.app/api/cascade?window=300");
console.log(await res.json());

Example input

{
  "window": 300
}

Example output

{
  "data": {
    "active": true,
    "cascades": [
      {
        "duration_sec": 150,
        "events": 10,
        "max_single_usd": 85774.4,
        "price_range": [
          2680.45,
          2684.72
        ],
        "severity": "minor",
        "side_liquidated": "longs",
        "symbol": "ETHUSDT",
        "total_usd": 111215.57
      },
      {
        "duration_sec": 75,
        "events": 11,
        "max_single_usd": 33188.9,
        "price_range": [
          1.5537,
          1.5642
        ],
        "severity": "minor",
        "side_liquidated": "longs",
        "symbol": "XRPUSDT",
        "total_usd": 62367.59
      }
    ],
    "checked_at": 1790355176441,
    "count": 2,
    "params": {
      "min_events": 4,
      "min_usd": 50000,
      "window_sec": 300
    },
    "scope": "core"
  },
  "paid": true,
  "tool": "get_cascade_alert"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402166 ms$0.01
4 h agoPassed40258 ms$0.01
9 h agoPassed40255 ms$0.01