Naar de inhoud
GET /v1/box-fill

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

Voorbeeldrespons

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

{
    "data": {
        "note": "NEC 314.16(B): each conductor adds its free-space allowance; a device counts as 2×, internal clamps as 1×, and all equipment grounds together as 1× — all at the largest conductor's volume.",
        "inputs": {
            "clamps": 1,
            "devices": 1,
            "conductors": [
                {
                    "size": "14",
                    "count": 3
                }
            ],
            "ground_systems": 1
        },
        "required_volume": 14,
        "volume_breakdown": {
            "clamps": 2,
            "devices": 4,
            "grounds": 2,
            "conductors": 6
        }
    },
    "meta": {
        "timestamp": "2026-06-05T21:48:45.876Z",
        "request_id": "602decef-b32e-436a-aaa7-d27d98ea72d5"
    },
    "status": "ok",
    "message": "Box fill",
    "success": true
}