Switzerland — Country Data API

ISO-2: CH ISO-3: CHE Europe CHF — Swiss Franc

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

Get all states

Cities

All cities and localities in Switzerland

Get all cities

Zip / Postal Codes

Complete postal code dataset for Switzerland

Get zip codes

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=CH

Authorization: Bearer YOUR_API_KEY

cURL example

curl "https://api.countrydataapi.com/v1/states/by-country?country=CH"   -H "Authorization: Bearer YOUR_KEY"

Access Switzerland Data via API

Integrate Switzerland geographic data into your application today. Countries, states, cities, and zip codes in one API.