Support Center

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

API Call for several city IDs

Bar May 01, 2019 10:13PM BST

Hi, is it me or the server returns the same 3 cities no matter the "id" parameter in the url is ?

https://samples.openweathermap.org/data/2.5/group?id=524901,703448,2643743&units=metric&appid=b6907d289e10d714a6e88b30761fae22

which is Kiev,Moscow and London, i even tried to delete one of the City ID and it still returrned the same 3 cities.

Anyone ..?

Up -3 rated Down
Pavel Zuykov May 02, 2019 08:52AM BST OpenWeatherMap Agent

Hello,

Thank you for request.

Please don’t use sample endpoint. Right call is:

https://api.openweathermap.org/data/2.5/group?id=524901,703448,2643743&units=metric&appid=YOURKEY

Up 0 rated Down
Bar May 02, 2019 06:25PM BST
Hi Pavel,

Of course i used that url in my app with my own key, just didnt want to post my key.

To clarify, im having the save issue with my own key.
Up 0 rated Down
Pavel Zuykov May 02, 2019 10:27PM BST OpenWeatherMap Agent

Hello,

I just checked your key with this link and it works fine in web browser.

Please send full API call that you used on e-mail info@openweathermap.org, we will check it.

Up 0 rated Down
BAR May 05, 2019 10:01PM BST
Hi again Pavel,

My Bad! i used "samples" subdomain.

The corrent url works fine!

Thank you !!

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
9eda11838f597e7a95b6a1c991dcae0a@openweathermap.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete