/v1/drop
Voltage drop over a run
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/voltagedrop-api/v1/drop" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/voltagedrop-api/v1/drop", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/voltagedrop-api/v1/drop");
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/voltagedrop-api/v1/drop",
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": "Vd = k·I·(ρL/A), k = 2 single-phase, √3 three-phase. Resistive only; reactance and temperature derating ignored.",
"inputs": {
"area": 4,
"length": 30,
"phases": 1,
"current": 20,
"material": "copper"
},
"voltage_drop_v": 5.16,
"voltage_at_load_v": 224.84,
"voltage_drop_percent": 2.2435,
"conductor_resistance_ohm": 0.129
},
"meta": {
"timestamp": "2026-06-04T18:38:26.661Z",
"request_id": "e533ebda-e7e3-445e-b2e0-a70abe626066"
},
"status": "ok",
"message": "Voltage drop",
"success": true
}