/v1/transform
Stresses on a rotated plane
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/mohr-api/v1/transform" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mohr-api/v1/transform", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mohr-api/v1/transform");
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/transform",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"input": {
"angle": 30,
"tau_xy": 30,
"sigma_x": 100,
"sigma_y": 20,
"angle_unit": "deg"
},
"formula": "σx' = C + ((σx−σy)/2)·cos2θ + τxy·sin2θ; τx'y' = −((σx−σy)/2)·sin2θ + τxy·cos2θ.",
"tau_xy_prime": -19.641016,
"sigma_x_prime": 105.980762,
"sigma_y_prime": 14.019238,
"sum_invariant": 120
},
"meta": {
"timestamp": "2026-06-04T10:18:51.424Z",
"request_id": "bbc5691a-92bc-47d4-af2b-8d2f574e9b98"
},
"status": "ok",
"message": "Rotated-plane stresses",
"success": true
}