# SperaxOS Liquidity Position Rebalance Alert

> SperaxOS Liquidity Position Rebalance Alert 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).

Monitors a wallet's DeFi liquidity positions across specified chains and triggers alerts when impermanent loss or fee APR decline exceeds configured thresholds

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/liquidity-advisor/getRebalanceAlert?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-liquidity-position-rebalance-alert-fe99842f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_snSUmG8veJ7Tf5kRv98bI

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-liquidity-position-rebalance-alert-fe99842f -d '<json body>'
```

Example prompt: Monitor my wallet 0xAbC123... on Base and Ethereum for DeFi liquidity rebalance alerts — let me know if impermanent loss hits 7% or if fee APR drops by more than 25%.

## When to prefer this

Use this endpoint when an AI agent needs to proactively monitor a DeFi liquidity provider's wallet for risk signals — specifically impermanent loss accumulation or fee revenue decline — rather than just fetching static position data. Ideal for agents managing LP portfolios autonomously or for users who want threshold-based rebalancing triggers without running their own monitoring infrastructure. The pay-per-call x402 model makes it suitable for on-demand checks without subscription overhead.

## Known failure modes

- Invalid or unresolvable wallet address returns an error
- Unsupported chain identifier causes a validation error
- Payment of 0.005 USDC via x402 not completed results in 402 Payment Required
- Wallet has no liquidity positions on specified chains returns empty or no-alert response
- Network timeout or RPC errors for specified chains may cause partial results

## 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 an alert payload indicating whether the wallet's liquidity positions have breached the specified impermanent loss threshold or fee APR decline threshold, along with details about which positions triggered the alert and the current metrics for each monitored position.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Chains to monitor."
  },
  "walletAddress": {
   "type": "string",
   "description": "Wallet address to monitor."
  },
  "ilThresholdPercent": {
   "type": "number",
   "description": "IL threshold for alerts. Default: 5."
  },
  "feeDeclineThresholdPercent": {
   "type": "number",
   "description": "Alert when fee APR declines by this percentage. Default: 30."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-liquidity-position-rebalance-alert-fe99842f/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)
