Switzerland — Country Data API
Switzerland's dataset includes all 26 cantons, thousands of municipalities, and 4-digit postal code coverage across all four language regions. Query Swiss geographic data through CountryDataAPI using ISO code 'CH'.
Country overview
Capital
Bern
Currency
CHF
Swiss Franc
Languages
German, French, Italian, Romansh
Timezone
UTC+1 to UTC+2
What data is available for Switzerland?
The following geographic datasets are available for Switzerland via the REST API.
States & Provinces
All administrative subdivisions for Switzerland
Cities
All cities and localities in Switzerland
Zip / Postal Codes
Complete postal code dataset for Switzerland
API Request Example
Fetch Switzerland data using the ISO code CH as the query parameter.
Get country by code
GET https://api.countrydataapi.com/v1/countries/by-code?code=CHAuthorization: Bearer YOUR_API_KEY
cURL example
curl "https://api.countrydataapi.com/v1/states/by-country?country=CH" -H "Authorization: Bearer YOUR_KEY"More Countries in Europe
Access Switzerland Data via API
Integrate Switzerland geographic data into your application today. Countries, states, cities, and zip codes in one API.

