I have a form in my mobile app for shipping information. I am looking for REST API to get countries and its related cities.

I found only an API:


How can I get cities for each country ?

  • I don't think Magento has such functionality. – Dmitri Portenko Nov 2 '17 at 20:52

I have developed an online service called GeoDB that does this and more. To your specific question, try the following requests:

List of all countries


List of cities, filtered for United States, Spain, and France


For more info and docs, check out the portal site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.