Chargeprice API Documentation

Exporting all Charging Stations

Needed Endpoint: Index Charging Stations

Per default the charging stations API is only returning 400 stations. Via pagination, you can however fetch all stations.

Simply set the export=true parameter to get all stations without the need to define additional filters. Also you can increase the page size to 1000 stations per page by setting page[size]=1000 in order to reduce the number of requests. With these basic request parameter + pagination you can walk through all pages as long as the response contains meta.more_available=true.

The requests might then look like:

1) Page: <base-url>/v1/charging_stations?export=true&page[number]=1&page[size]=1000

Considerations

Please call the API sequentially and not in parallel to avoid stressing the database too much.