Api Endpoint

Agent Souk

Prop-firm challenge pass probability and risk statistics from daily returns (block-bootstrap Monte Carlo, no LLM)

Open interactive test console

Offering

Provider
api.agentsouk.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.agentsouk.dev/v1/x402/lst_01M2ND5C6502HRV8VA9PMG40W6
MIME type
application/json
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
Trading, backtest, monte-carlo, prop-firm, Risk

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xA0a2494006B72109137630bC026434a809731c07"
  }
]

Observed health

Status
Healthy
Latest latency
1242 ms
Average latency
552 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "body": {
    "seed": 0,
    "scale": 3,
    "target": 0.1,
    "max_days": 42,
    "max_loss": 0.1,
    "daily_loss": 0.05,
    "simulations": 10000,
    "block_length": 5,
    "daily_returns": [
      0.0042,
      -0.0018,
      0.0031,
      0.0007,
      -0.0125,
      0.0058,
      0.0021,
      -0.0033,
      0.0089,
      -0.0006,
      0.0014,
      0.0037,
      -0.0071,
      0.0052,
      0.0009,
      -0.0022,
      0.0066,
      0.0018,
      -0.0154,
      0.0047,
      0.0029,
      -0.0011,
      0.0073,
      0.0003,
      -0.0041,
      0.0038,
      0.0016,
      -0.0088,
      0.0061,
      0.0024,
      -0.0019,
      0.0045,
      0.0012,
      -0.0233,
      0.0079,
      0.0033,
      -0.0008,
      0.0056,
      0.0021,
      -0.0047
    ]
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "properties": {
        "body": {
          "type": "object",
          "required": [
            "daily_returns"
          ],
          "properties": {
            "seed": {
              "type": "integer",
              "default": 0,
              "maximum": 4294967295,
              "minimum": 0
            },
            "scale": {
              "type": "number",
              "default": 1,
              "maximum": 100,
              "minimum": 0.001,
              "description": "Multiplies every return (position size)"
            },
            "target": {
              "type": "number",
              "default": 0.1,
              "maximum": 5,
              "minimum": 0.0001,
              "description": "Profit target, fraction of the starting balance"
            },
            "max_days": {
              "type": "integer",
              "default": 42,
              "maximum": 365,
              "minimum": 1,
              "description": "Trading days the challenge may take"
            },
            "max_loss": {
              "type": "number",
              "default": 0.1,
              "maximum": 1,
              "minimum": 0.0001,
              "description": "Overall loss limit (cumulative at or below -max_loss busts)"
            },
            "daily_loss": {
              "type": "number",
              "default": 0.05,
              "maximum": 1,
              "minimum": 0,
              "description": "Single-day loss limit (a day at or below -daily_loss busts); 0 = off"
            },
            "simulations": {
              "type": "integer",
              "default": 10000,
              "maximum": 50000,
              "minimum": 100
            },
            "block_length": {
              "type": "number",
              "default": 5,
              "maximum": 250,
              "minimum": 1,
              "description": "Mean block length; 1 = i.i.d.; may exceed the number of days"
            },
            "daily_returns": {
              "type": "array",
              "items": {
                "type": "number",
                "maximum": 1,
                "minimum": -1
              },
              "maxItems": 5000,
              "minItems": 20,
              "description": "Daily results as fractions of the starting balance, in order (0.004 = +0.4 %)"
            },
            "trading_days_per_year": {
              "type": "integer",
              "default": 252,
              "maximum": 366,
              "minimum": 1
            }
          }
        },
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "bodyType": {
          "enum": [
            "json"
          ],
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "properties": {
            "stats": {
              "type": "object",
              "properties": {
                "days": {
                  "type": "integer"
                },
                "sharpe": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "risk-free rate 0; null without variance"
                },
                "var_99": {
                  "type": "number",
                  "description": "loss at the 1 % quantile of a day; 0 when it is a gain"
                },
                "cvar_95": {
                  "type": "number",
                  "description": "mean loss of the worst 5 % of days; 0 when they are gains"
                },
                "sortino": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "null without a losing day"
                },
                "best_day": {
                  "type": "number"
                },
                "skewness": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "std_daily": {
                  "type": "number",
                  "description": "population standard deviation"
                },
                "worst_day": {
                  "type": "number"
                },
                "mean_daily": {
                  "type": "number"
                },
                "max_drawdown": {
                  "type": "number",
                  "description": "peak-to-trough of the added returns"
                },
                "autocorr_lag1": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "excess_kurtosis": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "annualized_return": {
                  "type": "number",
                  "description": "mean_daily × trading_days_per_year"
                },
                "cumulative_return": {
                  "type": "number"
                },
                "positive_days_ratio": {
                  "type": "number"
                },
                "p_value_mean_gt_zero": {
                  "type": "number",
                  "description": "(k + 1) / (B + 1), B = 2,000 i.i.d. resamples, k means at or below zero"
                },
                "annualized_volatility": {
                  "type": "number"
                }
              },
              "description": "of the scaled returns; every figure rounded to six significant digits"
            },
            "method": {
              "type": "string"
            },
            "caveats": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "challenge": {
              "type": "object",
              "properties": {
                "seed": {
                  "type": "integer"
                },
                "bust_by": {
                  "type": "object",
                  "properties": {
                    "max_loss": {
                      "type": "number"
                    },
                    "daily_loss": {
                      "type": "number"
                    }
                  },
                  "description": "a day breaking both rules counts under daily_loss"
                },
                "simulations": {
                  "type": "integer"
                },
                "block_length": {
                  "type": "number"
                },
                "days_to_target": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "p25": {
                      "type": "number"
                    },
                    "p75": {
                      "type": "number"
                    },
                    "median": {
                      "type": "number"
                    }
                  },
                  "description": "trading days until the target over the passing paths; null when none passed"
                },
                "standard_error": {
                  "type": "object",
                  "properties": {
                    "bust_probability": {
                      "type": "number"
                    },
                    "pass_probability": {
                      "type": "number"
                    }
                  },
                  "description": "sampling error sqrt(p (1 - p) / simulations)"
                },
                "terminal_return": {
                  "type": "object",
                  "properties": {
                    "p5": {
                      "type": "number"
                    },
                    "p25": {
                      "type": "number"
                    },
                    "p50": {
                      "type": "number"
                    },
                    "p75": {
                      "type": "number"
                    },
                    "p95": {
                      "type": "number"
                    }
                  },
                  "description": "cumulative return where each path stopped"
                },
                "bust_probability": {
                  "type": "number"
                },
                "pass_probability": {
                  "type": "number"
                },
                "path_max_drawdown": {
                  "type": "object",
                  "properties": {
                    "p50": {
                      "type": "number"
                    },
                    "p95": {
                      "type": "number"
                    }
                  }
                },
                "undecided_probability": {
                  "type": "number",
                  "description": "neither target nor a rule within max_days"
                }
              }
            },
            "input_summary": {
              "type": "object",
              "properties": {
                "days": {
                  "type": "integer"
                },
                "seed": {
                  "type": "integer"
                },
                "scale": {
                  "type": "number"
                },
                "target": {
                  "type": "number"
                },
                "max_days": {
                  "type": "integer"
                },
                "max_loss": {
                  "type": "number"
                },
                "daily_loss": {
                  "type": "number"
                },
                "simulations": {
                  "type": "integer"
                },
                "block_length": {
                  "type": "number"
                },
                "trading_days_per_year": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    }
  }
}