Skip to main content
There is nothing to sign up for and no header to send. Set the base URL once:
Keep the base URL in configuration rather than in code. Every example in these pages uses $TARIFF_API, so the same snippets keep working wherever the API is served from.

1. What years do you have?

Start here, because the answer changes over the year. ElCom publishes a tariff year only after the filing deadline, so the year being collected is thinner than the year before it.
stage is the provenance of those rows — see Provenance.

2. Which operator serves this place?

Operators are addressable two ways, and both work everywhere a dso_id is accepted: the 11-digit VSE number, or the ElCom operator id.
Searching by place rather than by operator? GET /api/search?q=Aarau resolves municipalities to their operator.

3. What does it charge?

Each entry carries stage, so you can decide for yourself what to trust:
/api/v1 returns the operators’ own unit, CHF/kWh — 0.114, not 11.4. The reader-facing endpoints (/api/tariff/find, /api/map/tariffs) convert to Rp/kWh. Neither includes VAT.
By default you get only the most trustworthy stage present for each year. Pass best_stage_only=false to see every stage, including the machine-read version of a tariff a reviewer has since confirmed.

Where to go next

Guided path to one tariff

/api/tariff/find does the narrowing for you and returns the tariff decomposed, compared to the national median, and labelled with its provenance.

Every operator at once

Skip the per-operator calls: one CSV or JSONL request returns the whole harmonized dataset.