GeoDB Cities API

Getting A Region'S Cities

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

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


countryIdThe code  or wikiDataId 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.
sortOptionally, how to sort the results. Format: ±SORT_FIELD,±SORT_FIELD where SORT_FIELD = elevation | name | population


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