Skip to content
GET /v1/altitude

Flying height from line and angle

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/kite-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Flying height = the line let out × the sine of the line angle above the horizontal: 100 m of line at a 45° angle reaches about 71 m up and 71 m downwind. A light, well-trimmed kite flies at a steep 60–75° and gains height fast; a heavy or under-flown one sags to a low angle and never climbs, no matter how much line you pay out. Line sag in light wind makes the real height a little less than this straight-line figure.",
        "inputs": {
            "line_length_m": 100,
            "line_angle_deg": 45
        },
        "altitude_m": 70.711,
        "horizontal_distance_m": 70.711
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:48.972Z",
        "request_id": "d0f818a0-2cbf-42c0-902d-ba26fa33626e"
    },
    "status": "ok",
    "message": "Altitude",
    "success": true
}