{"uid":"cap_4nmT1Pq4EJCnHimD5v1o0","slug":"lenscrypt-defi-yield-rebalance-suggestions-7e59362a","name":"LensCrypt DeFi Yield Rebalance Suggestions","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://tolens.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_VcOk0VbAVKW3MITxVpVZd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns rebalancing recommendations for DeFi yield positions given a target protocol and minimum APY threshold","exampleAgentPrompt":"Check if I should rebalance my DeFi yield position on Aave — I want at least 8% APY. Give me LensCrypt's rebalancing recommendations.","exampleUseCases":null,"resultDescription":"Returns rebalancing suggestions indicating whether the user should move funds to a different protocol to achieve the specified APY target, likely including current vs. available yield rates and recommended actions.","failureModes":["Missing required 'protocol' or 'apy' query parameters returns a 400 or validation error","Unknown or unsupported protocol name may return empty results or an error","Payment not sent or insufficient USDC results in a 402 Payment Required response","APY value formatted incorrectly (e.g. non-numeric string) may cause a parsing error","Protocol data temporarily unavailable returns a 503 or empty dataset"],"whenToPreferThis":"Use this endpoint when you need specific rebalancing guidance for a named DeFi protocol against a minimum APY target. Prefer this over generic yield lookups when the user wants actionable move/stay advice rather than just a list of yields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:59:45.486Z","isFirstParty":false}