📃 Mockoon pre-generated templates

Make API development a breeze with our comprehensive library of JSON templates, designed to help you prototype and learn faster in Mockoon.

List of cities

Copy
[ {{#repeat 10}} { "id": "{{faker 'string.uuid'}}", "name": "{{faker 'location.city'}}", "population": {{faker 'number.int' max=99999}}, "country": "{{faker 'location.country'}}" } {{/repeat}} ]

Designed to generate random city data, including properties such as name, population, and country, this template serves as a valuable resource for travel applications and weather apps. Whether populating mock databases or serving as sample data for location-based services, it offers developers essential city information for testing and analysis. Moreover, its versatility extends to city guides and tourism platforms, enhancing the user experience within applications. These data are perfect to prototype or serve as sample data for applications like travel apps, weather platforms, and location-based services.