๐Ÿ‡ฌ๐Ÿ‡ง United Kingdom cities โ€” free JSON dataset

5,000 cities in United Kingdom, ranked by population, as a single downloadable JSON file. No API key, no rate limit, no sign-up โ€” just a static file you can fetch, cache, or commit straight into your own project.

Data updated: 2026-07-14

Download JSON (697 KB)

Preview

The first few records, largest by population, as they appear in the file:

CityRegionPopulation
LondonEngland8,799,728
BirminghamEngland1,157,603
Birminghamโ€”1,137,100
SomersetEngland975,782
LeedsEngland822,483

Field schema

FieldTypeDescription
idstring (UUID)Geomelon city ID
namestringCity name
populationnumberPopulation
latitudenumberLatitude
longitudenumberLongitude
regionstring | nullRegion/state name

What it's for

A flat, population-ranked file like this is a good fit for offline builds, seed data for a database, a country/city dropdown that doesn't need live search, or a quick lookup table in a script or notebook. It's a static snapshot, not a live feed โ€” there's no search index, no translations, and no guarantee it reflects changes made to United Kingdom's administrative boundaries after 2026-07-14.

Need more?

For prefix search, autocomplete, multilingual names, or coordinate-based queries โ€” anything that needs to stay current or searchable โ€” use the API instead of the static file:

curl --request GET \
  --url 'https://geomelon.p.rapidapi.com/cities/search?countryCode=gb&sort=population_desc&limit=10' \
  --header 'x-rapidapi-host: geomelon.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_API_KEY'

Try the API free on RapidAPI

License

This dataset is licensed under CC BY 4.0. You're free to use it for any purpose, including commercially, as long as you credit Geomelon with a link back to this page.

All datasets ยท Cities in United Kingdom (API docs & demo)