Charging stations API: locations and real-time availability
Provides the locations and current status of public charging stations for electric vehicles, e.g. for navigation and charging apps.
Use the API
REST API
A web interface that returns data (usually JSON) for simple web requests.
Endpoint
https://api.example.ch/sfoe/charging-stations/v2Link works at the last automatic check
Access conditions
No registration required. You can use the API right away.
Use it in your code
import requests
response = requests.get("https://api.example.ch/sfoe/charging-stations/v2", headers={"Accept": "application/json"})
response.raise_for_status()
data = response.json()Data structure
Which information the data contains, in which form, and which list defines the allowed values.
| Attribute | Data type | Required | Meaning |
|---|---|---|---|
station_idStation identifier | Identifier | Required | Unique identifier of the charging station, assigned by the operator. |
operatorOperator | Text | Required | Company that operates the charging station. |
municipality_numberMunicipality | Code from a listValues: Official list of Swiss municipalities | Required | FSO municipality number of the location. |
locationLocation | Geometry | Required | Point coordinates (WGS 84). |
plug_typePlug type | Code from a list | Required | Type of connector, e.g. CCS or Type 2. |
power_kwMaximum power | Decimal number | Required | Maximum charging power in kilowatts. |
availabilityAvailability | Code from a list | Optional | Current status: available, occupied or out of service. |
last_updateLast update | Date and time | Optional | Time of the last status report of the operator. |
Details
- Update frequency
- Continuous (real time)
- Area covered
- Switzerland
- Languages
- German, French, Italian, English
- Themes
- EnergyMobility and transport
- Keywords
- electric mobilitycharging stationRESTreal time
- Identifier
- api-charging-stations
- Permanent link
- http://localhost/catalogue/api-charging-stations
Relationships
Uses code list / standard (1)
This entry uses these code lists or standards. Data that uses the same code list can be combined easily.
Provides data for (1)
This API provides the data of these entries.
Showcases
Applications, visualisations and stories that use this data.
Questions and answers (0)
No questions yet. If something is unclear, ask the publisher – the answer will be shown here for everyone.
Prototype: questions are stored in the test database (or in this browser without a database). In the real platform they are sent to the data provider and the answer is published here. Your questions are listed in your account under “My feedback”.
About this entry
Metadata quality
- Updated
- 04.08.2026 (automated)
- First published
- 15.03.2021
- Source
- Entered directly in metadata.swiss
Export metadata
Machine-readable serialisations of this record, for reuse in other catalogues and applications.