/v1/projectile
Projectile motion
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/physics-api/v1/projectile" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/physics-api/v1/projectile", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/physics-api/v1/projectile");
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/physics-api/v1/projectile",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"vx": 14.1421,
"vy": 14.1421,
"gravity": 9.80665,
"range_m": 40.7886,
"velocity": 20,
"angle_deg": 45,
"max_height_m": 10.1972,
"flight_time_s": 2.88419,
"launch_height": 0,
"time_to_peak_s": 1.4421,
"impact_speed_m_s": 20
},
"meta": {
"timestamp": "2026-06-03T17:42:07.001Z",
"request_id": "3fa74b94-71eb-4a4d-9b4a-e8415acdd278"
},
"status": "ok",
"message": "Projectile",
"success": true
}