Skip to content
GET /v1/range-added

Range added over a session

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/evcharging-api

It works. Grab an API key and use it in your project.

Get an API key

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

Example response

A real response from this endpoint, captured by the latest 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
}