/v1/twist
Angle of twist
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/torsion-api/v1/twist" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/torsion-api/v1/twist", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/torsion-api/v1/twist");
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/torsion-api/v1/twist",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"formula": "θ = T·L/(G·J); stiffness k = G·J/L.",
"length_m": 2,
"torque_nm": 1000,
"shaft_type": "solid",
"shear_modulus_gpa": 79.3,
"angle_of_twist_deg": 2.35504673,
"angle_of_twist_rad": 0.0411033195,
"polar_moment_of_inertia_m4": 6.135923151542566e-7,
"torsional_stiffness_nm_rad": 24328.9353
},
"meta": {
"timestamp": "2026-06-04T10:18:41.716Z",
"request_id": "b6475eb3-a301-498e-9da1-237952e80f0b"
},
"status": "ok",
"message": "Angle of twist",
"success": true
}