Stations Count
This resource returns the number of available charging stations for electric vehicles that match the specified criteria.
Requests for this resource use the HTTP GET method. The search criteria are specified with query parameters, which must include a search geometry.
A search geometry can be one of:
prox– a circular area defined by the coordinates of its center and a radius.corridor– a path defined by a set of points (latitude, longitude pairs) and a width.bbox– a square defined by its top left latitude and longitude and its bottom right latitude and longitude.
Note
Filtering criteria do not apply in counting requests.
Request Example
The following code block shows a count request, using a bearer token, for charging stations in Berlin.
GET
https://ev-v2.cc.api.here.com/ev/stations/count.xml
?prox=52.516667,13.383333,5000
-H 'Authorization: Bearer {YOUR_TOKEN}'The code block below shows a count request, using an API key, for charging stations in Berlin.
GET
https://ev-v2.cc.api.here.com/ev/stations/count.xml
?prox=52.516667,13.383333,5000&apiKey={YOUR_API_KEY};Request Parameters
The following table below documents mandatory and optional request parameters.
Parameter | Required | Description |
|---|---|---|
| Yes | A-20 byte Base64 URL-safe encoded string used for the authentication of the client application. You must include an app_id and app_code with every request. For more information on authentication, see the Identity & Access Management Developer Guide . |
| Yes | A-20 byte Base64 URL-safe encoded string used for the authentication of the client application. You must include an app_id and app_code with every request. For more information on authentication, see the Identity & Access Management Developer Guide . |
| Requests must use one of | A circular search area defined by the latitude and longitude of its center and an integer representing the radius of the area in meters, all separated by commas. The center point's coordinates must be WGS84 compliant. As an example, |
| Requests must use one of | A bounding box defined by the latitude and longitude coordinates of its top left and bottom right corners. Coordinates must be WGS84 compliant. The top left and bottom right pairs are separated by a semicolon and the latitude/longitude pairs are separated by commas. For example, one possible bounding box value is |
| Each request requires one of | A rectangular area defined by a semicolon-separated list of points, or pairs of comma-separated latitude and longitude coordinates that are WGS84 compliant. For example, |
| Optional | The width of the |
| Optional | At least one connector in the station must have a |
| Optional | At least one connector in the station must have a |
Response to this Request
For more information on responses to queries against the stations/count resource, see Stations Count Response.
Updated 2 days ago