/v1/awg
AWG diameter, area, resistance, ampacity
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/awg-api/v1/awg" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/awg-api/v1/awg", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/awg-api/v1/awg");
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/awg-api/v1/awg",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"awg": "10",
"note": "Diameter d(mm) = 0.127 × 92^((36−n)/39); area = π/4·d². Resistance at 20°C; ampacity is typical guidance only.",
"input": {
"awg": "10"
},
"area_mm2": 5.2612,
"area_kcmil": 10.383,
"diameter_mm": 2.5882,
"diameter_inch": 0.1019,
"diameter_mils": 101.9,
"area_circular_mils": 10383,
"typical_ampacity_a": 30,
"resistance_ohm_per_km_copper": 3.2768,
"resistance_ohm_per_km_aluminum": 5.0369,
"resistance_ohm_per_1000ft_copper": 0.9988
},
"meta": {
"timestamp": "2026-06-04T01:59:20.911Z",
"request_id": "78958bc7-11c9-44ae-a482-8bbde21d6c05"
},
"status": "ok",
"message": "AWG properties",
"success": true
}