/v1/stopping-distance
Stopping distance
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/brake-api/v1/stopping-distance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/brake-api/v1/stopping-distance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/brake-api/v1/stopping-distance");
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/brake-api/v1/stopping-distance",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Total = reaction distance (v·t) + braking distance (v²/(2·μ·g)). Braking distance grows with the square of speed, so doubling speed quadruples it.",
"inputs": {
"grade": 0,
"speed_ms": 27.7778,
"reaction_time": 1.5,
"friction_coefficient": 0.7
},
"deceleration_g": 0.7,
"time_to_stop_s": 4.0465,
"deceleration_ms2": 6.8647,
"braking_distance_m": 56.2013,
"reaction_distance_m": 41.6667,
"total_stopping_distance_m": 97.868
},
"meta": {
"timestamp": "2026-06-05T11:30:27.244Z",
"request_id": "f2e024e3-c415-4fd2-887a-1a76106bc345"
},
"status": "ok",
"message": "Stopping distance",
"success": true
}