Aller au contenu
GET /v1/flue-size

Minimum flue size for an opening

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/chimney-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/chimney-api/v1/flue-size" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chimney-api/v1/flue-size", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chimney-api/v1/flue-size");
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/chimney-api/v1/flue-size",
    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": "A fireplace flue should be at least 1/10 of the fireplace opening area for a rectangular/square liner, or 1/12 for a round one (round draws better). Too small and smoke spills into the room; far too large and the flue gases cool and the draft stalls. Match a stove's flue to its collar, not the room.",
        "inputs": {
            "opening_width_in": 36,
            "opening_height_in": 30
        },
        "opening_area_sqin": 1080,
        "min_rect_flue_area_sqin": 108,
        "min_round_flue_area_sqin": 90,
        "min_round_flue_diameter_in": 10.7
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:41.957Z",
        "request_id": "73bffebd-741f-49b8-8e7e-c51652fd788b"
    },
    "status": "ok",
    "message": "Flue size",
    "success": true
}