/v1/convert
Convert between rotation forms
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/quaternion-api/v1/convert" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/quaternion-api/v1/convert", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/quaternion-api/v1/convert");
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/quaternion-api/v1/convert",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"matrix": [
[
2.22044604925e-16,
-1,
0
],
[
1,
2.22044604925e-16,
0
],
[
0,
0,
1
]
],
"axis_angle": {
"axis": [
0,
0,
1
],
"angle_deg": 90
},
"quaternion": {
"w": 0.707106781187,
"x": 0,
"y": 0,
"z": 0.707106781187
},
"euler_zyx_deg": {
"yaw_deg": 90,
"roll_deg": 0,
"pitch_deg": 0
}
},
"meta": {
"timestamp": "2026-06-03T17:42:15.860Z",
"request_id": "dab0b7ef-1777-4a0f-95aa-50d4762d152e"
},
"status": "ok",
"message": "Convert rotation",
"success": true
}