EV Navigation's range and route calculation features are accessible through this API.
Call this api endpoint to get list of supported ECars.
[
{
"id": 136,
"name": "VW e-Crafter (2018)",
"type": "volkswagen",
"topspeed": 90,
"totalpower": 100,
"factory_range": 115,
"designcapacity": 35.8,
"chargertypes": "[1, 6]",
"subtype": null,
"range_source": "WLTP"
},
...
]
This API endpoint plans a route with charging stops between waypoints.
{
"route": [
{
"lat": 47.497913,
"lon": 19.040236,
"soc": 95.0, // SOC in percentage
"maxSpd": 50,
"battMaxSpd": 0,
"alt": 120.5,
"jam": -1
},
...
],
"routeData": {
"lengthMeters": 13191.754934,
"durationMinutes": 65,
"chargeTimeMinutes": 50,
"stopsCount": 1
},
"chargingStations": [
{
"lat": 47.52276,
"lon": 19.413905,
"maxPower": 50.0,
"chargeTimeMinutes": 35
}
],
"turns": [
{
"startIdx": 7,
"endIdx": 3,
"roundaboutExit": 0,
"lengthMeters": 651.832335,
"laneInfo": false
},
...
],
"chargeplan": [
{
"startSOC": 16,
"endSOC": 90,
"chargeTimeMinutes": 35,
"distanceMeters": 844,
"plugType": 1
}
],
"routeSegments": [
{
"maxSpeed": 130,
"startPointIdx": 0,
"endPointIdx": 8,
"middlePointIdx": 3
},
...
],
"waypointsInfo": [
{
"country": "Germany",
"county": "Berlin",
"city": "Berlin",
"district": "Mitte",
"street": "Karl-Liebknecht-Straße",
"houseNumber": ""
},
...
],
"temperature": 12,
"weatherCode": 4,
"wind": [
{
"coords": [47.21875, 17.402344],
"dirDeg": -19.915674,
"spdMps": 2.341848
},
...
],
"calcTimeMs": 88
}
This API endpoint calculates a range polygon around a given geocoordinate.
{
"rangeOuter": [
[
[53.041992, 13.392334],
...
]
],
"rangeInner": [
[
[52.78656, 13.40332],
...
]
],
"temperature": 12,
"weatherCode": 4,
"wind": [
{
"coordinates": [47.21875, 17.402344],
"directionDegrees": -19.915674,
"spd": 2.341848
}
]
}