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