# SperaxOS Flash Loan Scanner – Find Liquidation Targets

> SperaxOS Flash Loan Scanner – Find Liquidation Targets is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Scans DeFi lending protocols across specified chains to identify undercollateralized positions that are at or near liquidation, filtered by health factor and minimum profit threshold.

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/flash-loan-scanner/findLiquidationTargets?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-flash-loan-scanner-find-liquidation-targets-e029c724
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Scq3EDfVJ7XX6I1FqnAW

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 speraxos-flash-loan-scanner-find-liquidation-targets-e029c724 -d '<json body>'
```

Example prompt: Scan Aave and Compound on Base and Ethereum for undercollateralized positions with a health factor below 1.1 and at least $50 potential profit — show me only the ones that are currently liquidatable right now.

## When to prefer this

Choose this endpoint when you need real-time, cross-protocol liquidation opportunity scanning with flexible filters (health factor, profit threshold, chain) and want to pay per-use without an API key. Prefer it over manual on-chain queries or static data feeds when you need actionable, up-to-date liquidation targets across multiple DeFi protocols simultaneously.

## Known failure modes

- Unsupported chain or protocol name returns an error or empty results
- No positions found matching the minProfitUsd or maxHealthFactor criteria — returns empty array
- Network or RPC issues on the specified chain cause partial or failed scans
- Payment failure via x402 (insufficient USDC balance) prevents the request from being processed
- Invalid parameter types (e.g. string instead of number for minProfitUsd) cause a 400-level error

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

Returns a list of at-risk or liquidatable borrower positions across the specified chains and protocols, including each position's health factor, estimated liquidation profit in USD, the protocol it belongs to, and wallet/position identifiers to target for liquidation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Chains to scan."
  },
  "protocols": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Lending protocols to scan (e.g. [\"aave\", \"compound\"])."
  },
  "minProfitUsd": {
   "type": "number",
   "description": "Minimum profit threshold in USD."
  },
  "maxHealthFactor": {
   "type": "number",
   "description": "Maximum health factor to consider (e.g. 1.1 for positions near liquidation)."
  },
  "onlyLiquidatable": {
   "type": "boolean",
   "description": "Only show positions that are currently liquidatable. Default: false."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-flash-loan-scanner-find-liquidation-targets-e029c724/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
