/v1/safety
Factor of safety vs yield
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/mohr-api/v1/safety" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mohr-api/v1/safety", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mohr-api/v1/safety");
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/mohr-api/v1/safety",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"formula": "FoS = Sy / σvm; σvm = √(σ1² − σ1σ2 + σ2²).",
"sigma_1": 110,
"sigma_2": 10,
"criterion": "von-mises",
"tresca_stress": 110,
"yield_strength": 250,
"factor_of_safety": 2.372895,
"von_mises_stress": 105.356538,
"equivalent_stress": 105.356538
},
"meta": {
"timestamp": "2026-06-04T10:18:51.336Z",
"request_id": "ecacc07f-a5e9-4917-933f-85ceb5e1b5c9"
},
"status": "ok",
"message": "Factor of safety",
"success": true
}