Zum Inhalt springen
GET /v1/conduit-fill

NEC conduit fill %

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "NEC Chapter 9: max fill is 53% for 1 conductor, 31% for 2, 40% for 3 or more. Fill % = conductor area / conduit area; it must stay within the allowable.",
        "inputs": {
            "conductors": [
                {
                    "size": "12",
                    "count": 3
                },
                {
                    "size": "10",
                    "count": 2
                }
            ],
            "trade_size": "1/2",
            "conduit_area": 0.304
        },
        "spare_area": 0.0395,
        "fill_percent": 27.0066,
        "within_limit": true,
        "allowable_area": 0.1216,
        "conductor_area": 0.0821,
        "conductor_count": 5,
        "max_fill_percent": 40
    },
    "meta": {
        "timestamp": "2026-06-05T21:48:45.953Z",
        "request_id": "645c4d96-6761-4479-b03c-10b329382c97"
    },
    "status": "ok",
    "message": "Conduit fill",
    "success": true
}