Skip to main content

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.

Open data Open use Updated 04.08.2026 German, French, Italian, English

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/v2

Link 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.

AttributeData typeRequiredMeaning
station_idStation identifier
Identifier
RequiredUnique identifier of the charging station, assigned by the operator.
operatorOperator
Text
RequiredCompany that operates the charging station.
municipality_numberMunicipality
RequiredFSO municipality number of the location.
locationLocation
Geometry
RequiredPoint coordinates (WGS 84).
plug_typePlug type
Code from a list
RequiredType of connector, e.g. CCS or Type 2.
power_kwMaximum power
Decimal number
RequiredMaximum charging power in kilowatts.
availabilityAvailability
Code from a list
OptionalCurrent status: available, occupied or out of service.
last_updateLast update
Date and time
OptionalTime of the last status report of the operator.
Show all 9 attributes

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

SFE

Publisher

Swiss Federal Office of Energy

Confederation

Metadata quality

Good300 of 405 points
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.