# SperaxOS Flash Loan Arbitrage Scanner

> SperaxOS Flash Loan Arbitrage Scanner is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-03).

Scans DeFi protocols across chains for profitable flash loan arbitrage opportunities, returning ranked opportunities with confidence scores and estimated net profit.

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/flash-loan-scanner/scanArbitrageOpportunities?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-flash-loan-arbitrage-scanner-32c6c74f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KagZ-ErIH-wwkn0aWH9K6

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-arbitrage-scanner-32c6c74f -d '<json body>'
```

Example prompt: Scan Ethereum and Arbitrum for flash loan arbitrage opportunities on the top 50 tokens — max 3 hops, minimum $20 net profit, and only show results with at least 70 confidence. Include cross-chain opportunities too.

## When to prefer this

Choose this endpoint when you need real-time, AI-scored flash loan arbitrage opportunity detection across DeFi protocols on EVM chains. It is ideal for autonomous trading agents, DeFi researchers, or bots that need ranked, confidence-scored arb routes without building their own price-feed aggregation. It's pay-per-call with no API key required, making it well-suited for infrequent or on-demand scans.

## Known failure modes

- No opportunities found meeting the specified thresholds — try lowering minProfitUsd or minConfidence
- Invalid chain name provided — check supported chain identifiers
- Payment failure via x402 protocol — insufficient USDC balance or payment not accepted
- maxHops value out of acceptable range — use a value between 1 and a platform maximum
- Network timeout if scanning many chains simultaneously

## 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 flash loan arbitrage opportunities, each with the token path, protocols involved, number of hops, estimated net profit in USD, confidence score, and chain(s) involved. Results are filtered by the caller's minimum profit and confidence thresholds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Chains to scan (e.g. [\"ethereum\", \"arbitrum\"]). Default: all major chains."
  },
  "tokens": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Specific tokens to scan. Use \"top50\" for top tokens by volume."
  },
  "maxHops": {
   "type": "number",
   "description": "Maximum hops in multi-hop arb. Default: 3."
  },
  "minProfitUsd": {
   "type": "number",
   "description": "Minimum net profit threshold in USD."
  },
  "minConfidence": {
   "type": "number",
   "description": "Minimum confidence score (0-100). Default: 50."
  },
  "includeCrossChain": {
   "type": "boolean",
   "description": "Include cross-chain arbitrage opportunities. Default: false."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-flash-loan-arbitrage-scanner-32c6c74f/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)
