POST /v1/yield/discover
Discover and rank yield vaults. Returns scored vault candidates with APY, risk, TVL, and Sharpe data. Use this endpoint to browse available vaults before committing to a deposit. Pass the returnedvaultId to POST /v1/yield/prepare to deposit into a specific vault.
Parameters
Target chain key. Must be active in configuration.Default:
"base"Filter by underlying asset symbol (e.g.
"USDC", "WETH"). Omit for all assets.Scoring strategy that determines vault ranking weights.Allowed values:
maximize_apy, minimize_risk, balancedDefault: "balanced"Filter vaults by risk level.
"low" excludes moderate/high risk vaults.Allowed values: low, medium, highMinimum current APY filter (e.g.
10 for 10%).Maximum number of vaults to return (1-20).Default:
5Example
Response
Workflow
- Call
POST /v1/yield/discoverto browse vaults - Pick a vault from the results
- Call
POST /v1/yield/preparewith the chosenvaultIdto prepare execution calldata - Sign and submit via
POST /v1/yield/execute