Api Endpoint

quant-montecarlo

Monte-Carlo geometric-Brownian-motion simulation of terminal price and European option payoff, with percentiles and a standard error. Pure computation over your inputs.

Open interactive test console

Offering

Provider
payai.agentstools.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://payai.agentstools.dev/quant/montecarlo
MIME type
application/json
First seen
2026-10-16T02:01:31.612Z
Last seen
Tags
quant, monte-carlo, gbm, simulation, options, pricing

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
  }
]

Observed health

Status
Healthy
Latest latency
399 ms
Average latency
810 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "S": {
          "type": "number",
          "description": "Spot price of the underlying (> 0)"
        },
        "K": {
          "type": "number",
          "description": "Strike; include it to also price a European payoff"
        },
        "T": {
          "type": "number",
          "description": "Horizon in years (> 0)"
        },
        "r": {
          "type": "number",
          "description": "Drift or risk-free rate as a decimal"
        },
        "sigma": {
          "type": "number",
          "description": "Volatility as a decimal (> 0)"
        },
        "q": {
          "type": "number",
          "description": "Continuous dividend yield as a decimal, default 0"
        },
        "type": {
          "type": "string",
          "enum": [
            "call",
            "put"
          ],
          "description": "Option type for the payoff, default call"
        },
        "paths": {
          "type": "integer",
          "description": "Number of simulated paths, default 10000"
        },
        "steps": {
          "type": "integer",
          "description": "Time steps per path, default 1"
        },
        "seed": {
          "type": "integer",
          "description": "Optional RNG seed for reproducibility"
        }
      },
      "required": [
        "S",
        "T",
        "r",
        "sigma"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "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",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [
            "S",
            "T",
            "r",
            "sigma"
          ],
          "properties": {
            "K": {
              "type": "number",
              "description": "Strike; include it to also price a European payoff"
            },
            "S": {
              "type": "number",
              "description": "Spot price of the underlying (> 0)"
            },
            "T": {
              "type": "number",
              "description": "Horizon in years (> 0)"
            },
            "q": {
              "type": "number",
              "description": "Continuous dividend yield as a decimal, default 0"
            },
            "r": {
              "type": "number",
              "description": "Drift or risk-free rate as a decimal"
            },
            "seed": {
              "type": "integer",
              "description": "Optional RNG seed for reproducibility"
            },
            "type": {
              "enum": [
                "call",
                "put"
              ],
              "type": "string",
              "description": "Option type for the payoff, default call"
            },
            "paths": {
              "type": "integer",
              "description": "Number of simulated paths, default 10000"
            },
            "sigma": {
              "type": "number",
              "description": "Volatility as a decimal (> 0)"
            },
            "steps": {
              "type": "integer",
              "description": "Time steps per path, default 1"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}