Skip to content
GET /v1/probability

Modelled chance of reaching a target price

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/montecarlo-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/montecarlo-api/v1/probability" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/montecarlo-api/v1/probability", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/montecarlo-api/v1/probability");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/montecarlo-api/v1/probability",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "seed": 12345,
        "spot": 100,
        "drift": 0.07,
        "model": "GBM",
        "paths": 10000,
        "source": "MONTECARLO",
        "target": 120,
        "prob_below": 0.7447,
        "volatility": 0.2,
        "horizon_years": 1,
        "prob_at_or_above": 0.2553,
        "expected_terminal": 107.42775,
        "expected_if_above_target": 136.156639
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:13.802Z",
        "request_id": "6c1af5a6-5719-4c69-8595-5d9e3ee1dac7"
    },
    "status": "ok",
    "message": "Probability computed",
    "success": true
}