<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" />

Hamburg, Germany — City Data API

Country: DE Hamburg (HH) Pop: 1.9 million

Hamburg is a city in Germany (DE), Hamburg (HH). Get Hamburg geographic data, postal codes and location info via the Country Data API REST endpoints. Query by country code 'DE' and state code 'HH' to retrieve Hamburg data. JSON, plans from €5/mo.

Hamburg location data via REST API

Use country code DE and state code HH to query cities and zip codes that include Hamburg.

All cities of Germany

List every city in Germany

Cities by country

Cities in Hamburg

List every city in Hamburg, Germany

Cities by state

Zip codes in Germany

Postal code dataset for Germany

Get zip codes

API Request Example

Fetch cities in Germany (DE) — your response will include Hamburg.

Cities by country

GET https://api.countrydataapi.com/v1/cities/country?country=Germany&limitToken=1000&apikey=YOUR_API_KEY

cURL example

curl "https://api.countrydataapi.com/v1/cities?city=Hamburg&apikey=YOUR_API_KEY"

Access Hamburg data via API

Integrate Hamburg (Germany) into your application. One API for all countries, states, cities and zip codes.