Zum Inhalt springen
GET /v1/drop

Voltage drop over a run

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/voltagedrop-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}