{"uid":"cap_Ha4I9pXuRDhRMcWS9lyYc","slug":"virae-strategy-compare-api-37420284","name":"Virae Strategy Compare API","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/compare","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"pnlMode":{"enum":["strategy","afterFees"],"type":"string","default":"afterFees"},"curveRange":{"enum":["7d","30d","90d","all"],"type":"string","default":"30d"},"strategyKeys":{"type":"array","items":{"type":"string"},"maxItems":16,"minItems":1},"rankingMetric":{"enum":["netPnl","winRate","fillRate","settled"],"type":"string","default":"netPnl"},"displayNotionalUsd":{"type":"number","default":100,"maximum":100000,"exclusiveMinimum":0},"minimumSettledCount":{"type":"integer","default":1,"minimum":0}}},"responseSchema":{"type":"json","example":{"ok":true,"rankings":[],"schemaVersion":"virae.x402.strategy-compare.v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C8qtTz86JRXBJb358QH7K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares and ranks multiple prediction market trading strategies by PnL, win rate, fill rate, or settled count over a specified time range","exampleAgentPrompt":"Compare my Virae strategies — keys 'momentum-v2', 'mean-revert-btc', and 'sports-nfl' — ranked by net PnL after fees over the last 30 days, with a notional size of $500 and only include strategies with at least 5 settled markets.","exampleUseCases":[{"title":"Identify best-performing copy trading bot","prompt":"I have three Virae copy trading strategies — 'whale-follower', 'contrarian-crypto', and 'sports-ml' — can you rank them by win rate after fees over the last 90 days? Use a $1000 notional and only count strategies with at least 10 settled trades."},{"title":"Weekly strategy performance review","prompt":"Give me a 7-day performance comparison of my Virae strategies 'btc-long', 'eth-swing', and 'nba-spread', ranked by fill rate and using gross PnL mode — I want to see which one is executing best this week."},{"title":"Pre-allocation strategy due diligence","prompt":"Before I allocate more capital, compare these 5 Virae strategies over the full history — 'arb-v1', 'arb-v2', 'sentiment-crypto', 'nfl-model', 'nba-model' — ranked by net PnL after fees with a $5000 notional and at least 20 settled markets each."}],"resultDescription":"Returns a JSON object with an 'ok' status flag, a ranked 'rankings' array containing compared strategy results (PnL curves, scores by chosen metric, coverage data), and a schema version identifier. Rankings are ordered by the selected metric (netPnl, winRate, fillRate, or settled count) and normalized to the specified notional USD amount.","failureModes":["Invalid or unknown strategy keys return empty rankings array","strategyKeys array below minItems (1) or above maxItems (16) returns validation error","Invalid enum values for pnlMode, curveRange, or rankingMetric return 400","displayNotionalUsd of 0 or negative rejected by exclusiveMinimum constraint","Insufficient settled markets for a strategy (below minimumSettledCount) causes that strategy to be excluded from rankings","Payment failure or insufficient USDC balance returns 402"],"whenToPreferThis":"Use this endpoint when you need to compare two or more Virae prediction market strategies head-to-head with normalized PnL curves and a ranked leaderboard output. It is the right choice over the paginated strategy matrix endpoint when you have a specific set of strategy keys and want a direct ranked comparison rather than a broad exploratory query. Prefer this when evaluating strategies before capital allocation, auditing copy trading bots, or generating performance reports for a known strategy portfolio.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:37:06.932Z","isFirstParty":false}