{"uid":"cap_5NwmcK0APUl4ggSgqGQWo","slug":"agenticfi-portfolio-rebalance-suggestions-73dfcffd","name":"AgenticFi Portfolio Rebalance Suggestions","description":"Suggested portfolio rebalance based on current holdings + yield opportunities","url":"https://defi-api.agenticfi.wtf/api/agent/portfolio-rebalance/%7Baddress%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","pathParams","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","title":"address (required)","description":"Required. Wallet address Examples: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e, 0x1111111111111111111111111111111111111111"}}},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","title":"address (required)","description":"Required. Wallet address Examples: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e, 0x1111111111111111111111111111111111111111"},"riskTolerance":{"type":"string","title":"riskTolerance (optional)","description":"Optional. low, medium, high"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dMqS88fVIM_BuFyuvVdlY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns AI-driven portfolio rebalancing recommendations for a given wallet address, optionally filtered by risk tolerance","exampleAgentPrompt":"Analyze my wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e and suggest how I should rebalance my crypto portfolio — I have a low risk tolerance.","exampleUseCases":[{"title":"Optimize yield farming portfolio allocation","prompt":"I've been yield farming on multiple protocols but I'm not sure if my token distribution is optimal. Can you look at my wallet and recommend how I should rebalance across my positions to maximize returns while keeping my risk moderate?"},{"title":"Risk-down portfolio after market volatility","prompt":"The market's been crazy lately and I'm getting nervous about my DeFi exposure. Review my holdings and tell me what I should sell or reduce to bring my risk level down significantly."},{"title":"Diversify concentrated token holdings","prompt":"Most of my portfolio is in one token right now and I know that's risky. Analyze my wallet and suggest a more balanced allocation that spreads my risk across different assets while maintaining the same total value."}],"resultDescription":"Returns a set of portfolio rebalancing recommendations for the specified wallet, including suggested target allocations, tokens to buy/sell, and a risk-adjusted strategy based on current on-chain holdings and the specified risk tolerance level.","failureModes":["Invalid or malformed wallet address returns 400 error","Wallet with no on-chain token holdings may return empty or minimal recommendations","Unsupported chain or non-EVM address may return error","Payment failure via x402 returns 402 Payment Required","Network timeout or upstream DeFi data unavailability returns 503","Invalid riskTolerance value (not low/medium/high) may return 400 or be ignored"],"whenToPreferThis":"Use this endpoint when you need AI-generated portfolio rebalancing suggestions for a specific wallet address, especially when you want risk-tolerance-aware recommendations. Prefer this over generic token price or balance endpoints when the user wants actionable allocation guidance rather than raw data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-07T12:39:13.672Z","isFirstParty":false,"canonicalSlug":"agenticfi-portfolio-rebalance-suggestions-73dfcffd"}