{"uid":"cap_nR3z7cJOsFSxrufq4IhjL","slug":"x402-silverbackdefi-app-5185604c","name":"SilverbackDeFi Backtest","description":"","url":"https://x402.silverbackdefi.app/api/v1/backtest","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YjuiWDJC1WW3Yh7YFOLKY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a backtest simulation of a DeFi trading strategy against historical on-chain data","exampleAgentPrompt":"Backtest a simple momentum strategy on ETH/USDC on Base chain — buy when price crosses above the 20-period moving average and sell when it drops below — over the last 90 days, and show me the PnL, win rate, and max drawdown.","exampleUseCases":null,"resultDescription":"Returns historical backtest performance metrics for the submitted trading strategy, including total PnL, win rate, maximum drawdown, number of trades executed, and a trade-by-trade history over the specified time range.","failureModes":["Invalid or unsupported token pair returns a 400 error","Time range extends beyond available historical data causing partial or empty results","Malformed strategy parameters result in a validation error","Unsupported chain or DEX returns a 422 error","Payment not received or invalid USDC amount returns a 402 Payment Required error"],"whenToPreferThis":"Use this endpoint when you need to evaluate a DeFi trading strategy's historical performance on Base chain before deploying real capital. Prefer this over live trading endpoints when the goal is risk-free simulation, strategy validation, or comparing parameter variations. Especially useful for quant-style agents optimizing entry/exit rules for on-chain token pairs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:39:21.287Z","isFirstParty":false}