/v1/trajectory
Trajectory state
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/projectile-api/v1/trajectory" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/projectile-api/v1/trajectory", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/projectile-api/v1/trajectory");
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/projectile-api/v1/trajectory",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"x_m": 14.142136,
"y_m": 9.237136,
"speed": 14.790788,
"inputs": {
"time": 1,
"gravity": 9.81,
"distance": null,
"velocity": 20,
"angle_deg": 45,
"launch_height": 0
},
"time_s": 1,
"velocity_x": 14.142136,
"velocity_y": 4.332136,
"below_ground": false,
"direction_deg": 17.031306
},
"meta": {
"timestamp": "2026-06-04T10:18:37.717Z",
"request_id": "713a168d-53a8-4a48-9ca7-04e646af05de"
},
"status": "ok",
"message": "Trajectory state",
"success": true
}