/v1/drag
Drag force
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}