/v1/fill
Allowable fill for ≤4/0 cables
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/cabletray-api/v1/fill" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cabletray-api/v1/fill", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cabletray-api/v1/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/cabletray-api/v1/fill",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "For multiconductor power/lighting cables no larger than 4/0 in a ladder or ventilated-bottom tray, NEC 392.22(A)(1) Column 1 caps the total cable cross-sectional area at the tray width × 7/6 (e.g. a 12-inch tray allows 14 in²). Sum every cable's csa and keep it under that. Solid-bottom trays and trays mixing large and small cables use the other columns/rows — and remember ampacity must be derated for fill under 392.80.",
"inputs": {
"tray_width_in": 12,
"cable_area_in2": 10
},
"fill_pct": 71.4,
"within_code": true,
"spare_area_in2": 4,
"allowable_fill_area_in2": 14
},
"meta": {
"timestamp": "2026-06-07T08:18:04.453Z",
"request_id": "cb0d3ba9-3063-4100-99aa-a637b6baa361"
},
"status": "ok",
"message": "Cable tray fill",
"success": true
}