Μετάβαση στο περιεχόμενο
GET /v1/box-fill

NEC 314.16 box fill

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/conduit-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}