# Virae Simulation Config Results API

> Virae Simulation Config Results API is a paid API for AI agents from api.virae.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves backtested trading simulation results for a specific strategy and configuration on the Virae AI prediction market platform

## Facts

- Endpoint: GET https://api.virae.ai/api/x402/v1/simulations/%7BstrategyKey%7D/configs/%7BconfigId%7D/results
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/virae-simulation-config-results-api-e1a02253
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XmC5garJlq3iw5IHGvuVn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability virae-simulation-config-results-api-e1a02253
```

Example prompt: Pull up the last 30 days of simulation results for the btc-15m-tail strategy on Virae, config ID 3, showing only the entered decisions with a notional of $500 and limit of 25 results.

## When to prefer this

Use this endpoint when you need historical backtested simulation results for a specific Virae strategy and configuration pairing, especially for evaluating prediction market or crypto trading bot performance on Polymarket or predict.fun. Prefer it over broader strategy matrix endpoints (like the simulation matrix API) when you already know the exact strategyKey and configId and want detailed per-decision outcomes with filtering and pagination.

## Known failure modes

- Invalid strategyKey or configId (non-existent combination returns empty results or 404)
- configId must be a positive integer string — non-numeric values will fail schema validation
- Payment not provided or insufficient — endpoint requires $0.01 USDC via x402 protocol
- Invalid cursor causes pagination error or empty result set
- Unsupported range enum value causes request rejection
- limit out of range (must be 1–100) causes validation error

## How this service works

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.

## Output

Returns a JSON object with an 'ok' boolean, a paginated list of simulation result records for the specified strategy and config, the strategyKey echo, and a schemaVersion string. Results reflect historical backtested decisions (entered or skipped) with optional notional USD normalization.

## Request schema (JSON Schema)

```json
{
 "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",
      "configId"
     ],
     "properties": {
      "configId": {
       "type": "string",
       "pattern": "^[1-9]\\d*$"
      },
      "strategyKey": {
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 50,
       "maximum": 100,
       "minimum": 1
      },
      "range": {
       "enum": [
        "7d",
        "30d",
        "90d",
        "all"
       ],
       "type": "string",
       "default": "30d"
      },
      "cursor": {
       "type": "string"
      },
      "decision": {
       "enum": [
        "all",
        "entered",
        "skipped"
       ],
       "type": "string",
       "default": "all"
      },
      "displayNotionalUsd": {
       "type": "number",
       "default": 100,
       "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
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "results": [],
  "strategyKey": "btc-15m-tail",
  "schemaVersion": "virae.x402.simulation-config-results.v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/virae-simulation-config-results-api-e1a02253/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.virae.ai](https://www.zero.xyz/host/api.virae.ai/llms.txt)
