Cologne, Germany — City Data API

Country: DE North Rhine-Westphalia (NW) Pop: 1.1 million

Cologne is a city in Germany (DE), North Rhine-Westphalia (NW). Get Cologne geographic data, postal codes and location info via the Country Data API REST endpoints. Query by country code 'DE' and state code 'NW' to retrieve Cologne data. Free to start, JSON, plans from $9.99/mo.

Cologne location data via REST API

Use country code DE and state code NW to query cities and zip codes that include Cologne.

All cities of Germany

List every city in Germany

Cities by country

Cities in North Rhine-Westphalia

List every city in North Rhine-Westphalia, 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 Cologne.

Cities by country

GET https://api.countrydataapi.com/v1/cities/by-country?country=DE

Authorization: Bearer YOUR_API_KEY

cURL example

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

Access Cologne data via API

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