Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Country Codes in API

Jonny Sep 14, 2018 01:18PM BST

What are the country codes for Germany in the API Link?"+Postal Code+",us&appid="+key+"&units=imperial

At the moment ?zip="+Postal Code+",us is a ,us after the postal code for city from the United States. But I need a german city. Is there any Overview for all country codes?
What is the coutnry code for germany?

Kindly regards

Up 1 rated Down Sep 17, 2018 10:43AM BST OpenWeatherMap Agent

thank you for using our services.

The country code for Germany is “de”
Here is an API example:,de&appid=YOUR_API_KEY

Please note if a country is not specified then the search works for the USA as a default.
Please use ISO 3166 country codes to find all names.

Up 0 rated Down
Jonny Oct 01, 2018 07:34AM BST
Hello again,

thanks for your answer. Works fine!

I know want to forecast the weather to the next 5 days. Which api-link i have to call to get the weather for the next 5 days? Are these values in the standard link? If so, which properties i have to ask?
At the moment i only get the data for today.

Thanks again.

Up 0 rated Down
Pavel Zuykov Oct 01, 2018 08:05AM BST OpenWeatherMap Agent


Please use:,de&appid=

More details about 5-day forecast you can find here:

Up 0 rated Down
Dinesh Mor Jun 28, 2019 06:50AM BST
What should i use for india for country code?
Up 0 rated Down
Pavel Zuykov Jun 28, 2019 08:42AM BST OpenWeatherMap Agent

Hello Dinesh,

India code is IN

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found