How to Fetch Charging Stations

Depending on your scenario, there are various ways to retrieve charging stations using our API.

  • Select one specific charging station (cp)

  • Select all available charging stations (cpsPaged)

  • Select all available charging stations based on a GPS location (cpsPagedLocationBased)

Here is an example request for finding charging stations based on a GPS location:

query cpsPagedLocationBased {
  cpsPagedLocationBased(
      location: {longitude: 12.12313, latitude: 13.12313, radius: 100.0}
    )
    {
      data {
        id
        label
        address
        city
        zip
        country
      }
    }
}