Station count
The Station Count endpoint returns the total number of charging stations, either globally or filtered by specific criteria. This service returns a static count and does not adjust based on map zoom levels.
Base URL
To retrieve the count, send a GET request to the following endpoint. Ensure that any filters used in your map are also applied here to maintain data consistency.
Station Count / Base URL
- 01
https://api.chargetrip.io/v2/station/count.json
Optional Query Parameters
?{filter}- Filters the stations to be counted based on specific criteria. See filters documentation.
Response
The API returns a JSON object containing the count of stations matching the criteria.
Example
Station Count / Example Request
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
https://api.chargetrip.io/v2/station/count.json?maximum_power[]=200:::: Returns a response that looks like this: ::::ct-code-block---label: Tile Service / Count Responselanguage: jsonis-inline: true---,::::