/v1/load
Power from voltage & current
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/powerfactor-api/v1/load" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/powerfactor-api/v1/load", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/powerfactor-api/v1/load");
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/powerfactor-api/v1/load",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"phase": "single-phase",
"formula": "S = V·I; P = S·PF.",
"current_a": 10,
"voltage_v": 230,
"power_type": "reactive load",
"power_factor": 0.8,
"real_power_w": 1840,
"phase_angle_deg": 36.869898,
"apparent_power_va": 2300,
"reactive_power_var": 1380
},
"meta": {
"timestamp": "2026-06-04T10:18:40.766Z",
"request_id": "d94872c3-fd37-4e75-b6e0-dfc6f5998393"
},
"status": "ok",
"message": "Power from voltage & current",
"success": true
}