<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />

Germany — Country Data API

ISO-2: DE ISO-3: DEU Europe EUR — Euro

Germany's dataset includes all 16 federal states (Bundesländer), thousands of cities, and a complete set of 5-digit postal codes. Access German geographic data through CountryDataAPI using ISO code 'DE'.

Country overview

Capital

Berlin

Currency

EUR

Euro

Languages

German

Timezone

UTC+1 to UTC+2

What data is available for Germany?

The following geographic datasets are available for Germany via the REST API.

States & Provinces

All administrative subdivisions for Germany

Get all states

Cities

All cities and localities in Germany

Get all cities

Zip / Postal Codes

Complete postal code dataset for Germany

Get zip codes

API Request Example

Fetch Germany data using the ISO code DE as the query parameter.

Get country by code

GET https://api.countrydataapi.com/v1/countries/code?code=DE&apikey=YOUR_API_KEY

cURL example

curl "https://api.countrydataapi.com/v1/states/country?country=Germany&apikey=YOUR_API_KEY"

States & Provinces of Germany

BY

Bavaria

BW

Baden-Württemberg

NW

North Rhine-Westphalia

NI

Lower Saxony

HE

Hesse

RP

Rhineland-Palatinate

SN

Saxony

BE

Berlin

SH

Schleswig-Holstein

BB

Brandenburg

ST

Saxony-Anhalt

TH

Thuringia

MV

Mecklenburg-Vorpommern

HH

Hamburg

SL

Saarland

HB

Bremen

Compare plans and pricing: See CountryDataAPI pricing

Access Germany Data via API

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