{"uid":"cap_XOPoTgPzrFr7mEWBQPhlQ","slug":"virae-strategy-simulation-matrix-fd81d585","name":"Virae Strategy Simulation Matrix","description":"An AI-powered trading terminal and bot built for @Polymarket and @predictdotfun with real-time stats, instant execution, and smarter trading insights on web or Telegram. No CA yet.","url":"https://api.virae.ai/api/x402/v1/simulations/%7BstrategyKey%7D/matrix","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":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["strategyKey"],"properties":{"strategyKey":{"type":"string"}},"additionalProperties":false},"queryParams":{"type":"object","properties":{"page":{"type":"integer","default":1,"minimum":1},"pnlMode":{"enum":["strategy","afterFees"],"type":"string","default":"afterFees"},"sortKey":{"enum":["parameter","netPnl","winRate","fillRate","settled","invested"],"type":"string"},"pageSize":{"type":"integer","default":20,"maximum":100,"minimum":1},"curveRange":{"enum":["7d","30d","90d","all"],"type":"string","default":"30d"},"sortDirection":{"enum":["asc","desc"],"type":"string","default":"desc"},"curveConfigIds":{"type":"string","description":"Comma-separated positive configuration ids; at most 5."},"displayNotionalUsd":{"type":"number","default":100,"maximum":100000,"exclusiveMinimum":0}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","schemaVersion"],"properties":{"ok":{"type":"boolean"},"schemaVersion":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"matrix":[],"strategyKey":"btc-15m-tail","schemaVersion":"virae.x402.simulation-matrix.v1"}},"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_4-QHfSYZyj0KpBrPiAZkU","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":"Returns a paginated, sortable simulation matrix of trading strategy performance including normalized PnL curves, win rates, fill rates, and coverage metrics for a given strategy key.","exampleAgentPrompt":"Pull the Virae simulation matrix for the btc-15m-tail strategy, showing the last 30 days of performance sorted by net PnL descending, with after-fees PnL mode and up to 20 results per page.","exampleUseCases":[{"title":"Evaluate BTC strategy backtest performance","prompt":"Show me the full simulation matrix for the btc-15m-tail strategy on Virae — I want to see after-fees PnL sorted from best to worst over the last 30 days, 20 results per page."},{"title":"Compare strategy win rates over 7 days","prompt":"Fetch the Virae simulation matrix for my eth-scalp strategy, sorted by win rate descending, covering only the last 7 days, and show me the first page of results."},{"title":"Audit strategy fill rates for configuration review","prompt":"I need to audit fill rates for the sol-momentum strategy on Virae — get the simulation matrix sorted by fill rate, using after-fees PnL mode, showing up to 50 results for the past 90 days."}],"resultDescription":"Returns a JSON object containing a simulation matrix array with performance metrics per configuration (net PnL, win rate, fill rate, settled count, invested amount, normalized PnL curves), along with the strategyKey, ok status, and schema version identifier.","failureModes":["Invalid or unknown strategyKey returns empty matrix or 404","curveConfigIds exceeds 5 comma-separated IDs causes validation error","pageSize outside 1-100 range rejected with schema validation error","displayNotionalUsd of 0 or negative rejected by exclusiveMinimum constraint","Invalid curveRange or sortKey enum value causes bad request error","Payment not provided or insufficient USDC returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need structured, paginated backtesting or simulation performance data for a specific Virae trading strategy on Polymarket or predict.fun. It is the right choice when you need to compare PnL curves, win rates, fill rates, or investment metrics across multiple strategy configurations, especially when you want to filter by time range (7d/30d/90d/all) or sort by specific performance dimensions. Prefer this over generic market data APIs when working specifically within the Virae strategy ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:32:58.871Z","isFirstParty":false}