/v1/conduit-fill
NEC conduit fill %
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}