GET
/
charging_stations
curl --request GET \
  --url https://api.chargeapi.co/v1/charging_stations
{
  "object": "list",
  "url": "<string>",
  "has_more": true,
  "data": [
    {
      "id": null,
      "object": null,
      "address": {
        "city": null,
        "country": null,
        "line1": null,
        "line2": null,
        "postal_code": null,
        "state": null
      },
      "availability": {
        "connectors_total": null,
        "connectors_available": null,
        "opening_hours": [
          {
            "day": null,
            "from": null,
            "until": null
          }
        ],
        "range": [
          {
            "from": null,
            "until": null
          }
        ]
      },
      "capabilities": {
        "24_7_access": null,
        "amenities": null,
        "payment_methods": null,
        "requires_membership": null,
        "reservable": null
      },
      "connectors": [
        {
          "id": null,
          "power": null,
          "status": null,
          "type": null
        }
      ],
      "created": null,
      "location": {
        "latitude": null,
        "longitude": null
      },
      "name": null,
      "operator": null,
      "operator_contact": null,
      "pricing": [
        {
          "type": null,
          "currency": null,
          "tax": null,
          "price": null,
          "step_size": null
        }
      ],
      "status": null,
      "updated": null
    }
  ]
}

Query Parameters

available
boolean

If true, only stations with at least one currently available connector are returned.

destination
string

Destination coordinates lat,lng for route-based station recommendations. Requires origin.

driver
string

Returns only stations marked as favorites by the specified driver.

ending_before
string

Cursor for pagination; returns stations before this ID.

latitude
number

Latitude for geographic filtering. Requires longitude and radius.

limit
integer

Maximum number of stations to return (default 10).

Required range: 1 <= x <= 100
longitude
number

Longitude for geographic filtering. Requires latitude and radius.

max_detour
number

Maximum allowable detour from route in kilometers (default 10 km).

origin
string

Origin coordinates lat,lng for route-based station recommendations. Requires destination.

starting_after
string

Cursor for pagination; returns stations after this ID.

radius
integer

Search radius around the provided latitude and longitude.

Required range: 100 <= x <= 10000
vehicle
string

Filters stations compatible with the vehicle’s connector type and power requirements.

Response

200
application/json

A dictionary with a data property that contains an array of up to limit charging stations, starting after charging station starting_after. Each entry in the array is a separate Charging Station object. If no more charging stations are available, the resulting array will be empty.

The response is of type object.