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 ?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
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.
Have a look at https://rapidapi.com/marketplace. There are a lot of REST Api to consume, maybe one of them will fit your need.