/v1/trace-width
IPC-2221 trace width
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/pcb-api/v1/trace-width" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pcb-api/v1/trace-width", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pcb-api/v1/trace-width");
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/pcb-api/v1/trace-width",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "IPC-2221: A = (I/(k·ΔT^0.44))^(1/0.725) in mils²; k = 0.048 external, 0.024 internal. Width = area ÷ copper thickness.",
"inputs": {
"layer": "external",
"current_a": 2,
"temp_rise_c": 10,
"copper_thickness_mm": 0.0347
},
"trace_width_mm": 0.78819,
"trace_width_mils": 31.0312,
"cross_section_mils2": 42.3931
},
"meta": {
"timestamp": "2026-06-05T03:09:01.502Z",
"request_id": "f11b4805-d37a-41cb-b74e-feaab05eca51"
},
"status": "ok",
"message": "Trace width",
"success": true
}