DeFi Opportunity
Risk-adjusted DeFi yield across 15+ protocols. Raw APR penalized by current market stress and cross-chain contagion risk. Returns the highest opportunity with a full penalty breakdown. $0.75. 60s cache.
What It Does
Calls DeFi yield data (Layer 1) and combines it with MSSI and MSTI (Layer 2) to compute a risk-adjusted APR for each protocol.
The logic: when the market is under stress, the raw APR understates the real risk. High MSSI means protocols face elevated liquidation pressure. High MSTI means cross-chain bridges and multi-chain protocols carry extra contagion exposure. Both reduce the risk-adjusted APR automatically.
Penalty Model
| Signal | Condition | APR Penalty |
|---|---|---|
| MSSI (crypto stress) | CALM | 0% |
| MSSI | ELEVATED | −1.0% |
| MSSI | HIGH | −2.5% |
| MSSI | EXTREME | −4.0% |
| MSTI (contagion) — cross-chain protocols only | COUPLED | −1.0% |
| MSTI — cross-chain protocols only | CONTAGION | −2.0% |
Protocols on Ethereum mainnet or Base only are not penalized for contagion — the cross-chain penalty applies to protocols with meaningful exposure to bridges or multi-chain liquidity pools.
Endpoint
| Endpoint | Description | Price | Cache | Preview |
|---|---|---|---|---|
/oracle/intel/defi/opportunity | Risk-adjusted DeFi yield — full penalty breakdown, top 5 opportunities ranked by risk_adjusted_apr | $0.75 | 60s | /preview ↗ |
Response Format
{
"service": "defi_opportunity",
"layer": "Oracle Intelligence",
"highest_opportunity": {
"protocol": "moonwell_base",
"asset": "USDC",
"chain": "base",
"raw_apr": 4.00,
"stress_penalty": 1.00,
"risk_adjusted_apr": 3.00,
"rationale": "stress penalty -1.0%"
},
"all_opportunities": [
{
"protocol": "moonwell_base",
"chain": "base",
"raw_apr": 4.00,
"risk_adjusted_apr": 3.00
},
{
"protocol": "morpho_blue_base",
"chain": "base",
"raw_apr": 3.85,
"risk_adjusted_apr": 2.85
}
],
"market_context": {
"mssi_value": 45.8,
"mssi_regime": "ELEVATED",
"msti_regime": "COUPLED",
"stress_penalty_applied": 1.0,
"contagion_penalty_applied": 0.0
},
"opportunities_found": 15,
"disclaimer": "This is a risk-adjusted yield classification derived from quantitative signals, not financial advice...",
"signed": true,
"fetched_at": 1781100000
}Preview Endpoint
The preview returns highest_opportunity, mssi_regime, and stress_penalty_applied only — no signature, no full rankings. Useful for checking current stress context before deciding whether to pay for the full response.
curl https://api.myceliasignal.com/oracle/intel/defi/opportunity/preview
Payment
x402 only (USDC on Base). $0.75 per query. 60s background cache — all agents querying within the same 60s window receive the same signed snapshot for the same price.
/oracle/defi/yield/all ($0.05) and apply your own stress model. DeFi Opportunity is for agents that want a pre-computed, signed, regime-aware ranking without building their own aggregation logic.