Find one tariff
Start from an operator and narrow to a single tariff, decomposed into the
units a reader expects.
Filter every operator
Start from what a tariff is — grid level, type, dynamic, eco — and get
every operator that publishes one.
Take the whole dataset
CSV or newline-delimited JSON, one row per tariff, no pagination.
Price by the quarter-hour
Any tariff as a time series, static or dynamic, in one format.
What you should know before you use it
Not every figure has been checked by a human — and you can always tell which
Not every figure has been checked by a human — and you can always tell which
A tariff read out of a PDF by a model is published alongside one a reviewer
confirmed line by line. Hiding the unconfirmed ones would blank a third of
the country. Every tariff carries its provenance, and the answer to “may I
quote this figure” is in the response.How provenance works →
An empty answer usually means 'nobody offers that', not 'we don't know'
An empty answer usually means 'nobody offers that', not 'we don't know'
Six operators publish a dynamic household electricity tariff for 2026. Out
of about 500. Filtered endpoints return the denominator alongside the
matches so a sparse answer cannot be mistaken for a gap in the data.How coverage is reported →
Prices are in Rp/kWh in the reader-facing endpoints, CHF/kWh in the dataset
Prices are in Rp/kWh in the reader-facing endpoints, CHF/kWh in the dataset
The
/api/v1 dataset preserves the operators’ own unit, CHF/kWh. The
reader-facing endpoints convert to Rappen. Both are stated in every
response; neither includes VAT.What is in a tariff →It is free, and staying free depends on you caching it
It is free, and staying free depends on you caching it
Reading needs no key and no registration. There is a rate limit of 120
requests a minute per address, and every response tells you how long its
answer is good for. Honour the
ETag and you will rarely meet the limit.
An integration that needs more, or wants to hear about tariff changes,
takes an API key.Caching and limits →How accurate it is, measured every night
How accurate it is, measured every night
Every night each operator’s bill for ElCom’s standard customers is composed
from the tariffs held here and compared with ElCom’s published figure. The
result is public, category by category.Accuracy →
The shortest useful request
$TARIFF_API is the base URL, https://ch-el-tarif-db.azurewebsites.net (see the
quickstart).
Where the data comes from
Counts are per collection stage and overlap: one operator commonly appears in
several. Together they cover 527 of the 553 operators for 2027, 99 % of the
supplied area (19 November 2026).
GET /api/v1/periods returns the live
breakdown.