/v1/twist
Angle of twist
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/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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}