Zum Inhalt springen
GET /v1/range

Horizontal range of a side-orifice jet

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/torricelli-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/torricelli-api/v1/range" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/torricelli-api/v1/range", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/torricelli-api/v1/range");
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/torricelli-api/v1/range",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "head_m": 2,
        "formula": "x = Cv·√(2gh)·√(2y/g) = 2·Cv·√(h·y).",
        "gravity_ms2": 9.80665,
        "jet_velocity_ms": 6.263114,
        "orifice_height_m": 1,
        "time_of_flight_s": 0.451601,
        "horizontal_range_m": 2.828427,
        "velocity_coefficient": 1
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:53.053Z",
        "request_id": "3b0d3a0e-277c-4b1b-9864-86c2a5f5008a"
    },
    "status": "ok",
    "message": "Horizontal jet range",
    "success": true
}