Returns Portal’s recommended yield opportunities per chain and token.
By default, returns only the yield IDs (lightweight). Pass
includeOpportunities=true to enrich each entry with live data
(APY, status, mechanics, etc.) from Yield.xyz. Entries with no
recommendation return null for both yieldId and opportunity.
Client API Key or Client Session Token (CST). Pass as a Bearer token in the Authorization header.
Filter by chain in CAIP-2 format (e.g. eip155:1, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp).
Filter by token symbol (e.g. ETH, USDC). Case-insensitive.
Set to true to enrich each entry with live yield opportunity details from Yield.xyz. Omit for a lightweight response with yield IDs only.
true Default yield opportunities retrieved successfully
Object keyed by {caip2ChainId}:{tokenSymbol} (e.g. eip155:1:ETH).
Access entries directly by key — no iteration needed.