Zum Inhalt springen
GET /v1/parabolic

Parabolic sag approximation

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "sag": 2.5,
        "note": "Parabolic approximation — accurate for shallow sag (sag ≲ 10% of span), as used for utility lines.",
        "span": 100,
        "formula": "sag = w·L²/(8·H); length ≈ L + 8·d²/(3·L); Tmax ≈ H + w·d.",
        "max_tension": 5025,
        "cable_length": 100.16667,
        "weight_per_length": 10,
        "horizontal_tension": 5000
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:04.154Z",
        "request_id": "81474ecc-1c19-43ee-9407-e0d4103353ab"
    },
    "status": "ok",
    "message": "Parabolic sag approximation",
    "success": true
}