# LensCrypt DeFi Yield Rebalance Advisor

> LensCrypt DeFi Yield Rebalance Advisor is a paid API for AI agents from lensscrypt.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Returns yield rebalancing recommendations for a specified DeFi protocol at or above a target APY threshold

## Facts

- Endpoint: GET https://lensscrypt.vercel.app/api/yields/rebalance
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lenscrypt-defi-yield-rebalance-advisor-c5399e34
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p1LGZMNbU7w9JHAMYNLP-

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 lenscrypt-defi-yield-rebalance-advisor-c5399e34
```

Example prompt: Check LensCrypt's yield rebalancer for Aave and tell me the best rebalancing moves available with at least 8% APY.

## When to prefer this

Use this endpoint when you need actionable rebalancing suggestions for a specific DeFi protocol and have a minimum APY threshold in mind. Prefer this over generic yield listing endpoints when the goal is specifically to optimize or reallocate existing positions rather than just browsing yields.

## Known failure modes

- Missing required 'protocol' query parameter returns validation error
- Missing required 'apy' query parameter returns validation error
- Unsupported or misspelled protocol name may return empty results or error
- Payment failure via x402 if wallet has insufficient USDC on Base
- Rate limiting if called too frequently
- Protocol data temporarily unavailable returning 503 or empty data

## How this service works

81 paid REST endpoints covering wallet analytics, DeFi yields, token safety, smart money tracking, whale alerts, sniper detection, GMX perps, Solana tools, protocol stats, gas tracking, DEX quotes, NFT analytics, social signals, and 8 AI-powered endpoints (MiMo V2.5). Pay USDC via x402 protocol on Base.

## Output

Returns rebalancing recommendations for the specified DeFi protocol, filtered to opportunities meeting or exceeding the requested APY target, including suggested pool or position moves to optimize yield.

## 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",
     "required": [
      "protocol",
      "apy"
     ],
     "properties": {
      "apy": {
       "type": "string"
      },
      "protocol": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lenscrypt-defi-yield-rebalance-advisor-c5399e34/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lensscrypt.vercel.app](https://www.zero.xyz/host/lensscrypt.vercel.app/llms.txt)
