Naar de inhoud
GET /v1/round-duct

Round duct for an airflow

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/ductwork-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Duct area = airflow ÷ velocity (CFM ÷ ft/min = ft²), then diameter = √(4·area/π). Typical design velocities are ~700–900 fpm for residential supply trunks, lower for returns and near rooms to stay quiet. Round up to the next trade size — a slightly larger duct is quieter and lower-resistance.",
        "inputs": {
            "cfm": 400,
            "velocity_fpm": 700
        },
        "area_sqft": 0.5714,
        "diameter_in": 10.24,
        "next_standard_in": 12
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:41.111Z",
        "request_id": "87123ea2-2809-49c3-a0a2-478a7f05405e"
    },
    "status": "ok",
    "message": "Round duct",
    "success": true
}