Stations Count Along the Route
This resource returns the number of charging stations for electric vehicles that match the specified criteria.
Requests against this resource use the HTTP POST method. Supports only corridor search. Maximum corridor area is 5000 km2
Note the filtering criteria are not taken into consideration in counting requests.
Request Example
The code block below shows a counting request for charging stations along the route from Hamburg, Stormarnplatz to Hamburg, Sommerpfad using a bearer token.
POST
https://ev-v2.cc.api.here.com/ev/stations/count
-H 'Authorization: Bearer{YOUR_TOKEN}'
The code block below shows a counting request for charging stations along the route from Hamburg, Stormarnplatz to Hamburg, Sommerpfad using an API Key.
GET
https://ev-v2.cc.api.here.com/ev/stations/count?apiKey={YOUR_API_KEY};
The code block below provides an example of a required EVStationsSearchRequest
with search criteria. Note that Content-Type
is set to application/json
in this case. For more information about this object, see EVStationsSearchRequest
{
"corridor": {
"width": 7000,
"points": "53.651624,10.094743;53.652624,10.095743;53.653624,10.096743;53.654624,10.097743;53.655624,10.098743;53.656624,10.099743"
}
}
Response to this Request
For more information on responses to queries against the stations/count
resource, see Stations Count Response.