Zum Inhalt springen
GET /v1/drag

Drag force

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "fluid": "air",
        "area_m2": 0.01,
        "formula": "F_d = ½·ρ·Cd·A·v²; dynamic pressure q = ½·ρ·v².",
        "velocity_ms": 10,
        "drag_force_n": 0.287875,
        "density_kg_m3": 1.225,
        "drag_force_kgf": 0.029355,
        "drag_coefficient": 0.47,
        "dynamic_pressure_pa": 61.25,
        "drag_coefficient_source": "given"
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:46.192Z",
        "request_id": "d505717d-7dcf-4588-846e-d7a2abe2ee90"
    },
    "status": "ok",
    "message": "Drag force",
    "success": true
}