Skip to content
GET /v1/large-cable

Single-layer check for ≥4/0 cables

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/cabletray-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/cabletray-api/v1/large-cable" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cabletray-api/v1/large-cable", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cabletray-api/v1/large-cable");
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/large-cable",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "For multiconductor cables 4/0 and larger, NEC 392.22(A)(1) requires them laid in a single layer with the sum of their diameters not exceeding the tray width — they cannot be stacked or bundled. So a 12-inch tray holds cables whose diameters add up to 12 inches side by side. Mixing these with smaller cables triggers the combination rule in 392.22(A)(1)(c).",
        "inputs": {
            "tray_width_in": 12,
            "sum_of_diameters_in": 10
        },
        "within_code": true,
        "spare_width_in": 2
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:04.553Z",
        "request_id": "d72ed833-b0bd-4760-a9c8-6bc86c3be658"
    },
    "status": "ok",
    "message": "Large cable check",
    "success": true
}