GeoDB City API - Find Cities For Your Criteria | Wirefree Thought

header photo

Getting A Region'S Cities

You can get a region's cities by issuing the following request:

curl --get --include '{countryCode}/regions/{regionCode}/cities?offset=0&limit=10' \
    -H 'X-Mashape-Key: YOUR_API_KEY' \
    -H 'X-Mashape-Host:'


countryCode The code for a country obtained in a prior call to get the country list.
regionCode Any of the three available codes for a region (hascCode, fipsCode, isoCode) obtained in a prior call to get a country's regions.


We recommend you set the offset and limit, or they will default to 0 and 10 respectively, giving you back only the first 10 cities. NOTE: Your limit value is capped based on your current subscription plan.