Stations
This resource retrieves a list of charging stations for electric vehicles that match the specified criteria.
Requests against this resource use the HTTP GET method. The search criteria are specified by means of 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 comprised of latitude and longitude coordinates, and a width.bbox– a square defined by its top left latitude and longitude and its bottom right latitude and longitude.
Request example
The following code block, using a bearer token, shows a search request for charging stations in Berlin:
GET https://ev-v2.cc.api.here.com/ev/stations.xml
?prox=52.516667,13.383333,5000
-H 'Authorization: Bearer {YOUR_TOKEN}'The following code block, using an API key, shows a search request for charging stations in Berlin:
GET
https://ev-v2.cc.api.here.com/ev/stations.xml
?prox=52.516667,13.383333,5000&apiKey={YOUR_API_KEY};The following code block, using a Bearer token, shows a search request for charging stations in Berlin with a connectortype filter applied:
GET https://ev-v2.cc.api.here.com/ev/stations.xml
?prox=52.516667,13.383333,5000
&connectortype=30,31
-H 'Authorization: Bearer {YOUR_TOKEN}'The following code block shows a search request with filtering for multiple eMSP partner IDs:
GET https://ev-v2.cc.api.here.com/ev/stations.xml
?prox=52.516667,13.383333,5000
&emsp=1f351b84-cca5-11ed-8155-42010aa40002,1f39ad02-cca5-11ed-9d1a-42010aa40002
-H 'Authorization: Bearer {YOUR_TOKEN}'The following code block, using an API key, shows a search request for charging stations in Berlin with multiple connector types filters:
GET
https://ev-v2.cc.api.here.com/ev/stations.xml
?prox=52.516667,13.383333,5000&apiKey={YOUR_API_KEY};
The table below documents both mandatory and optional request parameters availble for this resource.
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 . |
| Each request requires 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 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, |
| 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 | Comma-separated list of integer values identifying the connector types returned in the response. You can retrieve the list of currently supported connector types using the |
| Optional | An integer identifying the type of powerfeed included in the response. This information is only provided for charging stations in North America and Australia. If you use this query parameter in requests for search geometries in regions that do not report this information, then the response will not contain any charging stations. Available values are:
powerfeedtypes resource. For more information on the currently supported power feed types, see Powerfeed Types. |
| Optional | At least one |
| 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 |
| Optional | Criteria for sorting a list of search results. The possible values are:
distance |
| Optional | The sort order in the response. The possible values are:
asc |
| Optional | The maximum number of results a response can contain. Maximum allowed value: 500. If a value greater than 500 is specified, the application will still return only 500 results. This parameter can be used with the |
| Optional | A value specifying the index of the first result. The offset together with the |
Response to this Request
For more information on responses to queries against the stations resource, see Stations Response .
Updated 2 days ago