{"uid":"cap_Qd6XsvNinLDwMsACwyH5B","slug":"scriptmasterlabs-backtest-run-api-aeb461a3","name":"ScriptMasterLabs Backtest Run API","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-discovery.onrender.com/x402/backtest-run","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string"},"queryParams":{"type":"object","properties":{"days":{"type":"string","description":"days"},"venue":{"type":"string","description":"venue"},"symbol":{"type":"string","description":"symbol"},"fee_bps":{"type":"string","description":"fee_bps"},"interval":{"type":"string","description":"interval"},"strategy":{"type":"string","description":"strategy"},"allow_short":{"type":"string","description":"allow_short"},"slippage_bps":{"type":"string","description":"slippage_bps"}}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-ZmrE4OO3MqVHs6h2Zf1T","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a trading strategy backtest over historical data for a given symbol, venue, and time horizon, settled via x402 USDC micropayment.","exampleAgentPrompt":"Run a backtest on a momentum strategy for BTC over the last 90 days on Coinbase with 10 bps fees and 5 bps slippage, allowing short positions, using daily intervals.","exampleUseCases":[{"title":"Crypto momentum strategy validation","prompt":"Backtest a momentum strategy on ETH over the past 60 days on Binance using 1-hour intervals, with 8 bps fees and 3 bps slippage — and allow shorting."},{"title":"Long-only mean reversion test","prompt":"Can you run a mean reversion backtest on SOL for the last 30 days on Kraken with 15 bps fees, 5 bps slippage, no short selling, and daily intervals?"},{"title":"Multi-day fee sensitivity analysis","prompt":"Test a trend-following strategy on BTC over 180 days on Coinbase with 20 bps fees and 10 bps slippage, daily interval, with short selling enabled, so I can see how fees eat into returns."}],"resultDescription":"Returns backtest performance output for the specified symbol, strategy, venue, and parameters — likely including metrics such as returns, drawdown, trade count, and other simulation statistics, though the exact response schema is undocumented (returns generic example object).","failureModes":["Missing required 'symbol' or 'strategy' query parameter returns an error","Unsupported venue or strategy name causes a failure or empty result","Payment not settled via x402 results in HTTP 402 Payment Required","Invalid interval or days value may cause a computation error","Hosted on Render free tier — cold starts may cause timeouts or slow responses","Undocumented response schema means output format may change without notice"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call backtesting computation for crypto trading strategies without committing to a subscription service. It is best suited for agents that need on-demand historical strategy simulation with configurable fees, slippage, and short-selling assumptions, and can pay in USDC via the x402 protocol on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:52:33.573Z","isFirstParty":false}