/v1/range-added
Range added over a session
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/evcharging-api/v1/range-added" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/evcharging-api/v1/range-added", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/evcharging-api/v1/range-added");
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/evcharging-api/v1/range-added",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Range added = the energy that reaches the battery (charger kW × time × efficiency) × the car's miles per kWh (~3–4 for a typical EV, less for a truck or in the cold). The handy figure is miles per hour of charging — a 7 kW home charger adds ~22 mi/hr, a 150 kW DC station hundreds.",
"inputs": {
"minutes": 60,
"charger_kw": 7.2,
"mi_per_kwh": 3.5,
"charge_efficiency_pct": 90
},
"range_added_mi": 22.7,
"energy_added_kwh": 6.48,
"miles_per_hour_of_charge": 23
},
"meta": {
"timestamp": "2026-06-06T23:53:56.387Z",
"request_id": "f84b82b4-7783-4c5f-8214-a2d66c52ef94"
},
"status": "ok",
"message": "Range added",
"success": true
}