Open political data of Switzerland – linked, up to date and machine-readable
APM combines voting results down to municipal level, parliamentary data and interest ties in a politics database. People read it on the platform, developers via the API – and AI assistants via llms.txt, OpenAPI and structured data.
Updated on Independent · ad-free · open sources
Politics database
The database in figures
2’876’899
Individual votes
14’391
Votes in the National Council
24’409
Parliamentary business
394
Popular votes
As of: September 2026. Sources: Parliamentary Services (Curia Vista), Federal Statistical Office, Swissvotes.
Open data with attribution – APM is independent and not a service of these bodies. All sources and licences
What’s included
Six areas, one database
The raw data come from open sources of the Confederation, the cantons and research. APM synchronises them, links them and automatically checks them for completeness.
Parliament
Chambers, people, mandates and business from the open data of the Parliamentary Services (including Curia Vista) – with all votes and individual votes of the National Council. From these, indicators such as votes with the group majority and absences are derived.
Popular votes
Federal results by canton, district and municipality since 1981 (FSO) and all proposals since 1848 with voting recommendations and the positions of the Federal Council and Parliament (Swissvotes).
Cantonal votes
Cantonal proposals with municipal results from September 2018 and the Zurich voting archive with all proposals since 1831.
Municipalities
Official register of municipalities with mergers since 1960, districts and spatial planning regions, plus the location of each municipality (swisstopo) for the map.
Interest ties
Mandates of members of parliament by sector, recorded by Lobbywatch and shown with licence information (CC BY-SA 4.0).
Quality check
Automatic checks detect gaps and contradictions. The results can be viewed via the API.
Live
How up to date the data are
Data area
Source
Synchronisation
Federal votes
Federal Statistical Office
daily, every minute on voting Sunday
Cantonal votes
Federal Statistical Office
daily, every minute on voting Sunday
Register of municipalities and mergers
Federal Statistical Office
weekly
Location of the municipalities
swisstopo
weekly, together with the register of municipalities
Zurich voting archive
Canton of Zurich
weekly
Parliament, Swissvotes, Lobbywatch
Parliamentary Services, University of Bern, Lobbywatch
regularly
Synchronisation of the main sources
API
The APM API
Via the API you receive the same data that the platform uses – as JSON. The public read endpoints are listed here. The complete, machine-readable description is available as an OpenAPI file.
Status: preview. The API is currently protected by the preview lock. The public read endpoints are being released step by step; endpoints marked “new” are under development.
Votes & map
GET/api/prognosennew
Forecasts for upcoming votes
Upcoming votes and popular initiatives with model forecast and range, review of past proposals with forecast and result.
GET/api/votes
Federal proposals and results
Federal proposals with results according to the data of the Federal Statistical Office (FSO).
GET/api/karte/vorlagennew
Proposals for the map
Federal proposals with available results as the basis for the map view.
GET/api/karte/vorlagen/{id}new
Results of a proposal per canton
Yes share, turnout and result of a federal proposal per canton.
GET/api/karte/kantonal?kt=new
Cantonal proposals of a canton
List of the cantonal proposals of a canton (municipal results from September 2018).
GET/api/karte/kantonal/{id}new
Results of a cantonal proposal per municipality
Results of a cantonal proposal, broken down by municipality.
GET/api/karte/gemeindennew
All municipalities with location
All Swiss municipalities as they are today with coordinates (swisstopo) for the municipality map.
Parliament & politics database
GET/api/parliament
Current session and latest votes
The current session of the Federal Assembly and the latest votes.
GET/api/curia/search?q=
Search in Curia Vista
Full-text search in parliamentary business (Curia Vista).
GET/api/oeffentlich/kennzahlennew
Key figures of the politics database
Aggregated figures without personal data (schemaVersion 1): number of proposals, municipalities, votes in the National Council, next voting Sunday and status per source. Cached for five minutes.
GET/api/polit/status
Data status of the politics database
Current data status of the politics database.
GET/api/polit/personen
Members of parliament
List of members of parliament.
GET/api/polit/personen/{nr}
Profile of a member of parliament
Profile with votes with the group majority, absences, votes against their own parliamentary group, procedural requests, interest ties (Lobbywatch, CC BY-SA 4.0), official biography (Parliamentary Services) and links to social media accounts (Wikidata, CC0).
GET/api/polit/analysen
Analyses
Analyses such as deviations from the group line and “people versus Parliament”.
GET/api/polit/geschaefte
Parliamentary business
Business of the Federal Assembly from Curia Vista.
GET/api/polit/pruefungen
Data quality check
Results of the automatic checks on the completeness and consistency of the data.
GET/api/mitbestimmen
Citizens’ votes on current business
Aggregated citizens’ votes on current business. Results only appear from 5 votes; individual votes are never visible.
Live
GET/api/stream
Live events (server-sent events)
New results, political data and Have your say results in real time as server-sent events – every minute on voting Sunday.
Try it live
Test the API directly in the browser
Choose an endpoint and send a request. The response comes live from the APM API, which in turn synchronises the data of the Parliamentary Services and the FSO.
GEThttps://app.apm-politic.ch/api/prognosen
Upcoming votes and popular initiatives with model forecast and range, review of past proposals with forecast and result.
No request sent yet.
Code
Examples to get started
Set the variable PPMARKET_API to the base address of the API. The responses are JSON.
curl – upcoming votes with forecasts
curl -s "$PPMARKET_API/api/prognosen" | jq
JavaScript – results of a proposal per canton
const base = process.env.PPMARKET_API;
const res = await fetch(`${base}/api/karte/vorlagen/${id}`);
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const vorlage = await res.json();
console.log(vorlage);
Python – cantonal proposals in the Canton of Lucerne
import os, requests
base = os.environ["PPMARKET_API"]
r = requests.get(f"{base}/api/karte/kantonal", params={"kt": "LU"}, timeout=10)
r.raise_for_status()
print(r.json())
More and more people ask AI assistants instead of search engines. So that answers about Swiss politics appear correctly and with a source, APM provides its content in formats that language models, search engines and agents can read reliably.
Cite the source: “APM” with the date and time of retrieval, and for processed data also the original source, for example “Data: Federal Statistical Office, processed by APM”.
Licences of the original sources continue to apply: Swissvotes is licensed under CC BY 4.0, Lobbywatch under CC BY-SA 4.0 (share alike), and the terms of use of the Parliamentary Services apply to parliamentary data.
No personal data: The API and exports contain only aggregated values – no email addresses and no individual votes from “Have your say”.
No official appearance: Please do not present APM data as official information from the Confederation or the cantons.
Data for a newsroom, research or a product?
There are separate offers for regular use, widgets and larger queries.