Find the nearby cities

Hi everyone :slight_smile:

Has anyone found a way to find the nearby cities given the coordinates of a location ? Like find the nearest cities from Madrid with a radius of 30km.

Lots of people talk about Places API from Google, but this is not made for that according to the docs. It cannot filter by administration level.

I have found the geobytes API but it does not give me correct results. Another solution would be to have all the cities of a country in a DB and then compare the distance of each with the given location but it does not sound good to me especially if you have to deal with different countries (if you are on a border or if the radius is really big). If you have any idea or have done this already, I would be happy to discuss about it !