PASAR API
The FSO is migrating cubes from STAT-TAB to Swiss Stats Explorer. Some tables are no longer available in STAT-TAB; check the current Swiss Stats Explorer catalogue when a cube is missing. Existing PxWeb cubes use dataset-specific paths and limits.
View docs ↗ More Data & enrichment APIs All Switzerland APIscurl --fail-with-body --location --max-time 30 'https://www.pxweb.bfs.admin.ch/api/v1/en/'
I'm building an app using a public Switzerland API (no private credentials needed). API: STAT-TAB ~ Swiss Federal Statistical Office PxWeb API Provider: Federal Statistical Office (BFS/FSO) Endpoint: GET https://www.pxweb.bfs.admin.ch/api/v1/en/ Response format: JSON Source: Federal Statistical Office (BFS/FSO) (https://www.pxweb.bfs.admin.ch/pxweb/en/) Source type: Official open-data catalogue Endpoint type: Open-data catalogue JSON Integration difficulty: Copy-paste ready Last checked: 2026-07-05 Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures. Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.