{"uid":"cap_MKp50CnxBxDqUxvJAza0-","slug":"lenscrypt-defi-yield-rebalance-advisor-8df77d60","name":"LensCrypt DeFi Yield Rebalance Advisor","description":"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.","url":"https://lemscrypt.vercel.app/api/yields/rebalance","method":"GET","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o9khGwVmz5_iuIlGoLn5D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns rebalancing recommendations for DeFi yield positions based on a specified protocol and target APY threshold","exampleAgentPrompt":"Check LensCrypt's yield rebalance endpoint for Aave and tell me if I should move my position to hit at least 8% APY.","exampleUseCases":[{"title":"Yield optimization for idle stablecoins","prompt":"I have stablecoins sitting in Aave right now — can you check if there's a better protocol I should rebalance to in order to get at least 10% APY?"},{"title":"DeFi portfolio rebalancing check","prompt":"My liquidity is currently in Compound — use LensCrypt to see if I should rebalance to hit a 6% APY target."},{"title":"Automated yield monitoring alert","prompt":"Check if Uniswap's current yields warrant a rebalance for someone targeting 12% APY, and let me know what the recommendation is."}],"resultDescription":"Returns a rebalancing recommendation including current APY data for the specified protocol, comparison against the target APY, and suggested actions or alternative protocols to consider for improved yield.","failureModes":["Missing required query parameters (protocol or apy) returns a 400 error","Unknown or unsupported protocol name returns an empty or error response","Payment failure via x402 protocol results in 402 response before data is returned","Very new or low-liquidity protocols may have incomplete or stale APY data","APY threshold set unrealistically high may return no viable alternatives"],"whenToPreferThis":"Use this endpoint when an agent needs actionable DeFi yield rebalancing advice for a specific protocol against a target APY — particularly useful for automated portfolio management, yield farming bots, or periodic DeFi position reviews. Prefer this over generic yield aggregators when you need a single opinionated rebalancing recommendation rather than a raw list of yields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:36:40.753Z","isFirstParty":false}