Aller au contenu
GET /v1/voltage-drop

Circuit voltage drop & loss

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/awg-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/awg-api/v1/voltage-drop" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/awg-api/v1/voltage-drop", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/awg-api/v1/voltage-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/awg-api/v1/voltage-drop",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Round-trip drop over two conductors: ΔV = 2 × I × R/m × length. Aim under ~3% for branch circuits.",
        "input": {
            "length_m": 30,
            "material": "copper",
            "current_a": 15,
            "source_voltage": 120,
            "conductor_resistance_ohm_per_km": 5.2104
        },
        "power_loss_w": 70.34,
        "voltage_drop_v": 4.6894,
        "voltage_at_load_v": 115.311,
        "voltage_drop_percent": 3.908,
        "circuit_resistance_ohm": 0.31262
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:21.125Z",
        "request_id": "9d0a4554-f8c0-41ef-b2f7-c9ba1ed20f92"
    },
    "status": "ok",
    "message": "Voltage drop",
    "success": true
}