{"uid":"cap__ItIMKWR2KFJPsZAcjx_P","slug":"cryptopulse-defi-strategy-builder-b5694b3b","name":"CryptoPulse DeFi Strategy Builder","description":"Personalized DeFi strategy builder — a custom allocation plan with step-by-step entry paths for your capital, risk and goals. For DeFi and investing agents.","url":"https://cryptopulse-xi-five.vercel.app/api/strategy","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"goal":{"type":"string","description":"wealth-preservation | growth | yield | defi | trading"},"risk":{"type":"string","description":"conservative | moderate | aggressive"},"chain":{"type":"string","description":"ethereum | base | solana | bitcoin | multi"},"capital":{"type":"string","description":"10000 (investment amount USD)"},"timeframe":{"type":"string","description":"1yr | 3yr | 5yr | 10yr"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"errors":{"type":"object","description":"Documented error responses, keyed by HTTP status code","additionalProperties":{"type":"object","required":["description"],"properties":{"example":{"type":"object"},"description":{"type":"string"}}}},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"strategy":"DCA weekly into BTC/ETH — no leverage","allocation":{"BTC":40,"ETH":30,"altcoins":10,"USDC_yield":20},"risk_management":"Never invest more than you can afford to lose 100%","yield_component":"USDC on Morpho Base at 8.4% APY"}},"example":{"request":{"goals":"yield farming","capital":5000,"timeHorizon":"12 months","riskTolerance":"moderate"},"response":{"raw":"{\n  \"strategy_name\": \"Steady Pulse: Layered Yield with L2 Efficiency\",\n  \"user_profile\": {\n    \"capital_usd\": 5000,\n    \"risk_profile\": \"moderate\",\n    \"chain_preference\": \"all\",\n    \"goal\": \"yield\",\n    \"timeframe_days\": 180\n  },\n  \"executive_summary\": \"In an Extreme Fear environment (Fear & Greed: 12/100), capital preservation with steady yield generation is paramount. This strategy deploys 65% into battle-tested stablecoin lending across Aave V3 and Morpho Blue on gas-efficient L2s, 20% into liquid ETH staking via Lido for base staking yield, and 15% into a measured Berachain PoL position via Infrared Finance to capture the elevated BGT emission yields during Berachain's growth phase — capped appropriately for a moderate risk profile. The portfolio targets a blended 7–12% APY range over 180 days with a clear emergency exit path and no single protocol exceeding 35% of capital.\",\n  \"allocations\": [\n    {\n      \"tranche\": 1,\n      \"label\": \"Core Stable Yield — Aave V3 USDC (Base)\",\n      \"amount_usd\": 1750,\n      \"pct_of_portfolio\": 35,\n      \"protocol\": \"Aave V3\",\n      \"chain\": \"Base\",\n      \"asset\": \"USDC\",\n      \"expected_apy\": \"5–8% (supply APY + AAVE rewards where active)\",\n      \"rationale\": \"Aave V3 on Base is the highest-confidence stablecoin yield venue — $11.75B TVL, battle-tested contracts, and Base's sub-$0.10 gas costs make this ideal for a $5K portfolio. In Extreme Fear markets, USDC lending rates often spike as leveraged traders repay debt or as demand for stablecoin borrowing rises. This is the capital safety anchor of the portfolio.\",\n      \"entry_path\": [\n        \"1. Acquire $1,750 USDC on Coinbase or a CEX of your choice.\",\n        \"2. Bridge USDC to Base using the official Coinbase/Base Bridge (bridge.base.org) — gas cost ~$0.50 on Base.\",\n        \"3. Navigate to app.aave.com → select 'Base' network in the top-right chain selector.\",\n        \"4. Connect wallet (MetaMask or Coinbase Wallet recommended for Base).\",\n        \"5. Click 'Supply' → select USDC → enter $1,750 → approve USDC spend (one-time approval, ~$0.05 gas).\",\n        \"6. Confirm the supply transaction (~$0.10 gas on Base).\",\n        \"7. You will receive aBasUSDC receipt tokens — hold these; they auto-accrue interest.\",\n        \"8. Optional: Enable 'Use as Collateral' toggle OFF to prevent accidental borrowing against this position.\"\n      ],\n      \"exit_path\": [\n        \"1. Navigate to app.aave.com on Base.\",\n        \"2. Click 'Withdraw' next to your USDC position.\",\n        \"3. Enter full aBasUSDC balance → confirm withdrawal (~$0.10 gas).\",\n        \"4. Bridge USDC back to Ethereum mainnet or directly to a CEX via Base Bridge or Stargate.\",\n        \"5. Full exit possible within 10–15 minutes.\"\n      ],\n      \"risk_factors\": [\n        \"Aave V3 smart contract risk (audited, low historical exploit rate)\",\n        \"USDC depeg risk (Circle-backed, considered minimal but not zero)\",\n        \"Variable APY — rates can compress if utilization drops in a sustained bear market\",\n        \"Base network risk (Optimism-based sequencer centralization)\"\n      ]\n    },\n    {\n      \"tranche\": 2,\n      \"label\": \"Supplemental Stable Yield — Morpho Blue USDC Vault (Base)\",\n      \"amount_usd\": 1500,\n      \"pct_of_portfolio\": 30,\n      \"protocol\": \"Morpho Blue\",\n      \"chain\": \"Base\",\n      \"asset\": \"USDC (Steakhouse or Re7 curated vault)\",\n      \"expected_apy\": \"6–10% (curator-optimized vault, often beats Aave by 1–3%)\",\n      \"rationale\": \"Morpho Blue's curated vaults (MetaMorpho architecture) actively route USDC across the best-performing isolated lending markets, consistently outperforming Aave's pool rate by 1–3% APY. With $6.55B TVL and strong TVL stability (-0.6% 7d vs market-wide red), this is the yield-enhancing complement to the Aave anchor. Keeping both on Base consolidates gas costs — one chain, two protocols, max diversification benefit.\",\n      \"entry_path\": [\n        \"1. Acquire $1,500 USDC — if already on Base from Tranche 1, skip bridging.\",\n        \"2. Navigate to app.morpho.org → connect wallet → select 'Base' network.\",\n        \"3. Click 'Earn' tab → filter by USDC vaults → select the highest-APY curated vault with >$10M TVL (typically Steakhouse USDC or Re7 USDC vault — verify current rates at time of execution).\",\n        \"4. Click 'Deposit' → enter $1,500 USDC → approve spend if first time (~$0.05 gas).\",\n        \"5. Confirm deposit transaction (~$0.10–0.15 gas on Base).\",\n        \"6. Receive vault shares (ERC-4626 token) — hold in wallet; interest accrues continuously.\",\n        \"7. Bookmark the vault address for monitoring.\"\n      ],\n      \"exit_path\": [\n        \"1. Navigate to app.morpho.org → 'Portfolio' tab.\",\n        \"2. Click 'Withdraw' on your vault position → enter full amount.\",\n        \"3. Confirm withdrawal (~$0.10 gas) — USDC returns to wallet immediately.\",\n        \"4. Bridge out via Base Bridge or Stargate as needed.\"\n      ],\n      \"risk_factors\": [\n        \"Morpho vault curator risk — vault strategy depends on curator quality (Steakhouse/Re7 are reputable)\",\n        \"Underlying market concentration risk if curator over-allocates to a single borrower\",\n        \"Morpho Blue is newer architecture than Aave — less battle-tested at scale\",\n        \"USDC depeg risk (same as Tranche 1)\"\n      ]\n    },\n    {\n      \"tranche\": 3,\n      \"label\": \"ETH Staking Base Yield — Lido stETH (Ethereum)\",\n      \"amount_usd\": 1000,\n      \"pct_of_portfolio\": 20,\n      \"protocol\": \"Lido\",\n      \"chain\": \"Ethereum\",\n      \"asset\": \"stETH (via ETH stake)\",\n      \"expected_apy\": \"3.5–4.5% (consensus + execution layer rewards; currently ~3.8% base)\",\n      \"rationale\": \"With ETH at $1,669 and Fear & Greed at 12 (Extreme Fear), this is a strategic accumulation window for ETH-denominated yield. Lido's $14.93B TVL (largest liquid staking protocol), daily rebasing stETH, and deep liquidity make this the lowest-risk ETH yield venue. For a 180-day horizon, the ETH price upside optionality (if fear resolves) is a meaningful bonus. At $1,000, Ethereum mainnet gas is acceptable for a set-and-hold position.\",\n      \"entry_path\": [\n        \"1. Ensure you have $1,000 worth of ETH in a mainnet wallet (~0.599 ETH at $1,669).\",\n        \"2. Navigate to stake.lido.fi → connect wallet.\",\n        \"3. Enter ETH amount → click 'Stake' → confirm transaction (gas ~$5–15 on Ethereum mainnet; check gas at etherscan.io/gastracker and","meta":{"goal":"yield","risk":"moderate","chain":"all","capital":5000,"timeframe_days":180,"protocols_analyzed":15},"parse_error":true,"generated_at":"2026-06-12T04:18:02.488Z"}},"exampleRequest":{"goals":"yield farming","capital":5000,"timeHorizon":"12 months","riskTolerance":"moderate"},"tags":["x402"],"displayCostAmount":"0.2","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2HVp_vViTGMtnCWXncQbs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a personalized DeFi investment strategy with custom capital allocation plan and step-by-step entry paths based on user risk tolerance and goals","exampleAgentPrompt":"Can you build me a personalized DeFi strategy for $5,000 capital with a moderate risk tolerance focused on yield farming — I want a step-by-step allocation plan showing which protocols to enter and in what order?","exampleUseCases":[{"title":"Low-risk DeFi plan for beginners","prompt":"I'm new to DeFi and have $2,000 I want to invest safely — can you put together a beginner-friendly strategy with low risk, showing me exactly which protocols to use and the order I should move my money in?"},{"title":"Aggressive yield farming allocation strategy","prompt":"I have $25,000 and I'm comfortable with high risk — build me an aggressive DeFi strategy focused on maximizing yield farming returns, with a full allocation breakdown and step-by-step entry paths for each protocol."},{"title":"Retirement-focused passive crypto income","prompt":"I want to use $15,000 in crypto to generate steady passive income over the long term without too much volatility — can you create a personalized DeFi plan with conservative allocations and clear instructions on where and how to deploy my capital?"}],"resultDescription":"A structured DeFi strategy document containing a custom capital allocation plan across DeFi protocols, risk-adjusted portfolio weights, and step-by-step entry paths detailing how and where to deploy the user's capital based on their specified goals and risk profile.","failureModes":["Missing required parameters such as capital amount or risk level returns an error","Invalid or unsupported risk tolerance values may result in a generic fallback plan","Vercel cold start may introduce latency on first call","Payment of 0.2 USDC not fulfilled results in 402 response blocking strategy generation","Extremely unusual or contradictory goals may produce a low-confidence generic strategy"],"whenToPreferThis":"Choose this endpoint when a user wants a structured, personalized DeFi investment plan tailored to their specific capital, risk tolerance, and goals — especially when they need actionable step-by-step entry paths rather than just general market analysis or price data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:32:07.597Z","isFirstParty":false}