get_history
Daily history of one opportunity's APY, TVL and risk scores. Useful for checking whether a yield is stable or newly inflated, and for trend charts. 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. | |
| days | No | Look-back in days (default 30). |