{"uid":"cap_pE_WAY_wZ5FYcLzxksAYi","slug":"speraxos-liquidity-advisor-recommend-migration-d16bc8b3","name":"SperaxOS Liquidity Advisor – Recommend Migration","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/tools/liquidity-advisor/recommendMigration?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"positionId":{"type":"string","description":"Specific position ID to migrate."},"walletAddress":{"type":"string","description":"Wallet address to analyze all positions."},"riskPreference":{"type":"string","description":"Risk preference: \"conservative\", \"moderate\", or \"aggressive\"."},"preferredChains":{"type":"array","items":{"type":"string"},"description":"Preferred chains for migration targets."},"maxMigrationCostUsd":{"type":"number","description":"Max acceptable migration cost in USD."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w-knyp7V0TGP3vZgLQ7td","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes DeFi liquidity positions and recommends optimal migration targets based on risk preference, preferred chains, and cost constraints.","exampleAgentPrompt":"Look at all my liquidity positions for wallet 0xAbC123... and recommend where I should migrate them — I have a moderate risk preference, I prefer Base and Arbitrum, and I don't want to spend more than $5 on migration costs.","exampleUseCases":[{"title":"Yield optimization for conservative DeFi investor","prompt":"Analyze my wallet 0xDeF456... and recommend where I should move my liquidity — I'm conservative with risk and only want to consider Base, and please keep migration costs under $2."},{"title":"Aggressive yield hunter seeking best migration","prompt":"I want to squeeze the most yield out of my liquidity position ID pos_789xyz — I'm fine with aggressive risk, any chain is okay, and migration cost up to $20 is acceptable."},{"title":"Cost-constrained migration for moderate risk user","prompt":"Check my wallet 0xGhI012... for any liquidity positions worth migrating with a moderate risk preference — I'd like to stay on Arbitrum or Optimism and keep total migration costs under $8."}],"resultDescription":"Returns AI-generated migration recommendations for DeFi liquidity positions, including suggested target pools or protocols, expected APY improvements, estimated migration costs, risk ratings, and preferred chain options — enabling agents to present actionable rebalancing strategies to users.","failureModes":["Invalid or unrecognized position ID returns an error or empty recommendation set","Wallet address with no active liquidity positions returns no recommendations","riskPreference value outside accepted enum causes validation error","Payment not provided or rejected via x402 protocol results in 402 Payment Required response","Preferred chains not supported by the advisor may result in limited or no results","maxMigrationCostUsd set too low to find any viable migrations returns empty results"],"whenToPreferThis":"Choose this endpoint when an agent needs AI-driven, cross-chain DeFi liquidity migration recommendations without requiring a traditional API key — especially when the agent has a wallet and can pay per-request via x402/USDC on Base. Prefer this over generic DeFi aggregators when the user wants personalized, risk-adjusted migration advice for specific wallet positions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:36:35.816Z","isFirstParty":false,"canonicalSlug":"speraxos-liquidity-advisor-recommend-migration-d16bc8b3"}