Vai al contenuto
GET /v1/drop

Voltage drop over a run

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/voltagedrop-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}