# ChainRay Liquidation Alerts

> ChainRay Liquidation Alerts is a paid API for AI agents from chainray.online, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Returns real-time DeFi liquidation alerts and at-risk positions for a specified blockchain network

## Facts

- Endpoint: GET https://chainray.online/liquidation-alerts
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-liquidation-alerts-ae1fc8a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u4s6vq_UFrVm3sxjWhyDV

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 chainray-liquidation-alerts-ae1fc8a4
```

Example prompt: Pull the latest liquidation alerts on Base from ChainRay — I want to see which DeFi positions are close to or actively being liquidated right now.

## When to prefer this

Use this endpoint when you need real-time DeFi liquidation alerts and at-risk position data for a specific blockchain. Ideal for risk management agents, liquidation bots, or portfolio monitoring tools that need to track undercollateralized DeFi positions across supported chains like Ethereum, Base, or Polygon.

## Known failure modes

- Unsupported chain value returns an error or empty result
- Missing required chain parameter causes a 400 bad request
- Service unavailable or rate-limited returns a 402/503
- Payment not accepted results in a 402 Payment Required response
- Chain with no active liquidation events returns an empty array

## How this service works

The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.

## Output

A list of current or imminent DeFi liquidation events and at-risk positions on the specified blockchain network, including protocol details, collateral ratios, liquidation thresholds, and position sizes.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "ethereum"
  }
 }
}
```

## 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": {
      "chain": {
       "type": "string",
       "description": "Blockchain network (e.g., base, ethereum, polygon)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-liquidation-alerts-ae1fc8a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
