Naar de inhoud
GET /v1/conduit-fill

NEC conduit fill %

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}