{"uid":"cap_e_y3Q-hnpSNUpvrq6q6OO","slug":"speraxos-yield-strategy-backtester-d51314ed","name":"SperaxOS Yield Strategy Backtester","description":"SperaxOS is an AI-powered DeFi operating system — track portfolios, execute swaps, analyze on-chain data, and collaborate with intelligent agents that manage your crypto workflow.","url":"https://chat.sperax.io/api/x402/tools/yield-optimizer/backtestStrategy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"Optional chain hint (e.g. \"Arbitrum\")."},"amount":{"type":"number","description":"Investment amount in USD (e.g. 10000)."},"poolId":{"type":"string","description":"DefiLlama pool UUID. If not known, use findOptimalYield first to discover pool IDs."},"endDate":{"type":"string","description":"End date ISO string (e.g. \"2026-03-17\")."},"startDate":{"type":"string","description":"Start date ISO string (e.g. \"2025-09-17\")."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HqmHF88hvhFe2SPbi9Qj0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Backtests a DeFi yield strategy on a specific DefiLlama pool over a historical date range to estimate returns on a given investment amount","exampleAgentPrompt":"Can you backtest a yield strategy for pool ID abc123-def456 on Arbitrum with $10,000 invested from September 17, 2025 to March 17, 2026, so I can see what the historical returns would have been?","exampleUseCases":[{"title":"Evaluating a stablecoin pool's past returns","prompt":"Backtest the USDC-USDT pool on Arbitrum — pool ID is 747c1d2a-c668-4682-b9f8-3e30e5ed8b35 — with $25,000 invested from January 1, 2025 to June 30, 2025. I want to see what my actual yield would have been."},{"title":"Comparing DeFi strategies before committing capital","prompt":"Before I put real money in, can you backtest the ETH-USDC pool on Ethereum — pool ID 9c82fa11-bb3e-4a6c-a3d5-1f09c4e720aa — with $50,000 from March 1, 2025 to September 1, 2025 so I can see the historical performance?"},{"title":"Validating an AI-recommended yield opportunity","prompt":"SperaxOS suggested a yield pool — ID d7e1fc23-0abc-4891-b2a4-8e3c9f1a2b78 on Arbitrum — but I want to backtest it first with $5,000 from September 17, 2025 to December 17, 2025 before actually committing."}],"resultDescription":"Returns historical backtested performance data for the specified DeFi pool and date range, including simulated yield returns, effective APY, and strategy metrics based on the given investment amount","failureModes":["Invalid or unknown pool UUID returns an error — use findOptimalYield first to discover valid pool IDs","Date range outside available historical data returns no results or partial data","Investment amount of zero or negative triggers validation error","Unsupported chain hint may cause lookup failure","Network or payment errors (x402 protocol) result in failed call without charge"],"whenToPreferThis":"Use this endpoint when you need historical simulation of a DeFi yield strategy before committing real capital — specifically when you have a DefiLlama pool UUID and want to evaluate how a fixed investment would have performed over a custom date range. Prefer this over live yield queries when the goal is risk assessment, strategy comparison, or validating AI-generated yield recommendations with real historical data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:38:30.677Z","isFirstParty":false,"canonicalSlug":"speraxos-yield-strategy-backtester-d51314ed"}