{"uid":"cap_lmXwj3vIQ-uhd6Inbp7De","slug":"agenticfi-portfolio-rebalance-advisor-ebab11f7","name":"AgenticFi Portfolio Rebalance Advisor","description":"Suggested portfolio rebalance based on current holdings + yield opportunities","url":"https://defi-api.agenticfi.wtf/api/agent/portfolio-rebalance/:address","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_nPRM7Jxrzs3zkwlOgrWo3","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 a suggested portfolio rebalance plan based on a wallet's current DeFi holdings and available yield opportunities","exampleAgentPrompt":"Can you analyze my DeFi portfolio at 0x742d35Cc6634C0532925a3b844Bc454e4438f44e and suggest how I should rebalance it to maximize yield — I have a medium risk tolerance?","exampleUseCases":null,"resultDescription":"A structured rebalance recommendation including the wallet's current token holdings breakdown, suggested target allocations, identified yield opportunities across DeFi protocols, and specific trade suggestions to move from current to optimal allocation, optionally tailored to the specified risk tolerance level.","failureModes":["Invalid or malformed wallet address returns 400 error","Wallet address with no on-chain DeFi holdings may return empty or minimal recommendations","Unsupported blockchain network for the given address returns error","Payment failure via x402 protocol results in 402 Payment Required","Service unavailable or DeFi data provider outage returns 503"],"whenToPreferThis":"Use this endpoint when an AI agent needs to proactively suggest portfolio optimizations for a DeFi user based on their actual on-chain holdings. Ideal when the user wants actionable rebalancing steps rather than just raw position data. Prefer over generic token price endpoints when the goal is holistic portfolio strategy with yield context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:46:58.429Z","isFirstParty":false}