Vai al contenuto
GET /v1/conduit-fill

NEC conduit fill %

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/conduit-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}