{"uid":"cap_IYhn1utU3r14hrWewwNiG","slug":"x402stock-backtest-via-zeroclick-666ddcbe","name":"x402stock Backtest via ZeroClick","description":"Market and economic data for AI agents — US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities (crude, natural gas, gasoline), US and global macro (Fed funds, CPI/PCE, jobs, GDP, Treasury debt & yields, World Bank indicators), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 or MPP. This server is a pay-per-use, transparent proxy in front of x402stock's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. This document is the source of truth for agents: it lists the complete verified paid surface with each operation's live price in its x-payment-info. Endpoints not listed here are not part of the supported catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge.","url":"https://agents.x402stock.xyz/api/v1/backtest/%7Bticker%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QX5A44dFl_hc8DBRjiPTJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a historical backtest simulation for a given US stock or ETF ticker, returning performance metrics, paid per request in USDC via x402.","exampleAgentPrompt":"Can you run a historical backtest on AAPL for me and show me how the strategy would have performed — things like total return, max drawdown, and Sharpe ratio?","exampleUseCases":[{"title":"Evaluating ETF buy-and-hold strategy","prompt":"Run a backtest on SPY and show me what a simple buy-and-hold strategy would have returned historically, including max drawdown and annualized return."},{"title":"Comparing stock historical performance","prompt":"I want to backtest NVDA to see how it performed historically — give me the key stats like Sharpe ratio, total return, and worst drawdown."},{"title":"Pre-trade strategy validation","prompt":"Before I commit to a trading approach on QQQ, can you backtest it and tell me the historical risk-adjusted returns and volatility?"}],"resultDescription":"Returns historical backtest results for the specified ticker, including performance metrics such as total return, annualized return, max drawdown, Sharpe ratio, volatility, and other portfolio statistics computed over historical price data.","failureModes":["Invalid or unsupported ticker symbol returns an error","Insufficient USDC balance causes payment failure and the request is rejected","Ticker not covered by x402stock's data catalog returns a not-found error","Network or proxy timeout from ZeroClick intermediary","Malformed ticker path parameter causes a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need to computationally evaluate historical performance of a US stock or ETF ticker using a standardized backtest framework, especially when operating as an autonomous agent without API keys (pay-per-use USDC via x402). Prefer this over manual data pulls when you want pre-computed risk metrics like Sharpe ratio and max drawdown rather than raw price series.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:30:01.921Z","isFirstParty":false}