get_yield_premium
Why one opportunity pays more than a reference: the APY gap in percentage points, explained by risk dimensions, incentives and extra dependencies. Useful for judging whether a higher yield is worth its extra risk. The id comes from the free /api/v1/opportunities. Unknown ids answer 404 and invalid arguments 400 before any payment; 503 while data refreshes; charged only for a 200. Price: $0.01 USDC on Base (x402), charged only for a successful answer. In this MCP server, ids come from search_opportunities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Opportunity id, as returned by the free /api/v1/opportunities route. | |
| benchmark | No | Reference opportunity id (optional); by default a low-risk lending market on the same asset. |