Aller au contenu
GET /v1/equivalent

Equivalent round diameter

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/ductwork-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "The equivalent round diameter carries the same airflow at the same friction loss: De = 1.30 · (a·b)^0.625 ÷ (a+b)^0.25 (ASHRAE). It lets you size on a round-duct friction chart, then convert to a rectangular duct that fits the space — note a square duct moves more air than a flat one of the same area.",
        "inputs": {
            "width_in": 12,
            "height_in": 8
        },
        "next_standard_in": 12,
        "equivalent_diameter_in": 10.66
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:41.017Z",
        "request_id": "af74b342-2fae-4ed4-832c-a755f268e1c6"
    },
    "status": "ok",
    "message": "Equivalent diameter",
    "success": true
}