/v1/braking-force
Braking force
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/brake-api/v1/braking-force" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/brake-api/v1/braking-force", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/brake-api/v1/braking-force");
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/braking-force",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Braking force F = m·a. The deceleration comes from the stop-in-distance (a = v²/2d) or from the tyre-road friction (a = μ·g). The kinetic energy is dissipated as heat in the brakes.",
"inputs": {
"mass_kg": 1500,
"speed_ms": 27.78,
"distance_m": 56.2,
"friction_coefficient": null
},
"deceleration_g": 0.7001,
"braking_force_n": 10298.8665,
"deceleration_ms2": 6.8659,
"kinetic_energy_j": 578796.3
},
"meta": {
"timestamp": "2026-06-05T11:30:27.046Z",
"request_id": "49e02f28-e78b-4d1b-9290-978616535125"
},
"status": "ok",
"message": "Braking force",
"success": true
}