/v1/path
One sample price path
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/montecarlo-api/v1/path" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/montecarlo-api/v1/path", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/montecarlo-api/v1/path");
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/path",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"path": [
{
"t": 0,
"step": 0,
"price": 100
},
{
"t": 0.02,
"step": 1,
"price": 99.900227
},
{
"t": 0.04,
"step": 2,
"price": 101.420445
},
{
"t": 0.06,
"step": 3,
"price": 99.622727
},
{
"t": 0.08,
"step": 4,
"price": 100.386947
},
{
"t": 0.1,
"step": 5,
"price": 100.590347
},
{
"t": 0.12,
"step": 6,
"price": 104.093203
},
{
"t": 0.14,
"step": 7,
"price": 105.598976
},
{
"t": 0.16,
"step": 8,
"price": 105.725921
},
{
"t": 0.18,
"step": 9,
"price": 104.597829
},
{
"t": 0.2,
"step": 10,
"price": 106.121182
},
{
"t": 0.22,
"step": 11,
"price": 106.757136
},
{
"t": 0.24,
"step": 12,
"price": 105.673193
},
{
"t": 0.26,
"step": 13,
"price": 109.205162
},
{
"t": 0.28,
"step": 14,
"price": 110.596488
},
{
"t": 0.3,
"step": 15,
"price": 112.62543
},
{
"t": 0.32,
"step": 16,
"price": 117.5054
},
{
"t": 0.34,
"step": 17,
"price": 120.53256
},
{
"t": 0.36,
"step": 18,
"price": 121.832235
},
{
"t": 0.38,
"step": 19,
"price": 116.914847
},
{
"t": 0.4,
"step": 20,
"price": 119.105282
},
{
"t": 0.42,
"step": 21,
"price": 118.222487
},
{
"t": 0.44,
"step": 22,
"price": 119.522032
},
{
"t": 0.46,
"step": 23,
"price": 122.632159
},
{
"t": 0.48,
"step": 24,
"price": 124.725467
…