{"api":"glostats/v1","generated":"2026-11-24T14:00:00.000Z","docs":"https://glostats.com/api/","license":"Free to reuse with a link to the Glostats page or file (https://glostats.com/terms.html). Source data remain under their own licences, listed under \"sources\".","license_url":"https://glostats.com/terms.html","attribution":"Glostats, https://glostats.com/cities/latvia/","file":"https://glostats.com/api/v1/cities/LVA.json","country":{"key":"LVA","name":"Latvia","flag":"https://glostats.com/flags/Latvia.png","page":"https://glostats.com/country/latvia/","cities_page":"https://glostats.com/cities/latvia/","file":"https://glostats.com/api/v1/country/LVA.json"},"live":{"jan1_year":2025,"jan1":[1864050,1843068,1828801,1814326,1799817,1785151,1770088],"per_second":-0.0004524036022,"base_date":"2026-01-01T00:00:00Z","base_population":1843068,"at":"2026-11-24T14:00:00.000Z","method":"https://glostats.com/api/#cities","partition":false},"count":14,"cities":[{"id":456172,"name":"Riga","slug":"riga","region":"Riga","lat":56.946,"lon":24.1059,"official":{"value":742572,"date":null,"source":"geonames"},"live":{"b":742572,"value":737413},"page":"https://glostats.com/cities/latvia/riga/","names":{"ar":"ريغا","ru":"Рига","pl":"Ryga","zh":"里加","ja":"リガ","hi":"रीगा","el":"Ρίγα","ko":"리가"},"capital":true},{"id":460413,"name":"Daugavpils","slug":"daugavpils","region":"Daugavpils","lat":55.8833,"lon":26.5333,"official":{"value":78126,"date":null,"source":"geonames"},"live":{"b":78126,"value":77583},"page":null},{"id":457954,"name":"Liepāja","slug":"liepaja","region":"Liepaja","lat":56.5047,"lon":21.0109,"official":{"value":67421,"date":null,"source":"geonames"},"live":{"b":67421,"value":66952},"page":null},{"id":459279,"name":"Jelgava","slug":"jelgava","region":"Jelgava","lat":56.65,"lon":23.7128,"official":{"value":54834,"date":null,"source":"geonames"},"live":{"b":54834,"value":54453},"page":null},{"id":459201,"name":"Jūrmala","slug":"jurmala","region":"Jūrmala","lat":56.968,"lon":23.7704,"official":{"value":52001,"date":null,"source":"geonames"},"live":{"b":52001,"value":51639},"page":null},{"id":454310,"name":"Ventspils","slug":"ventspils","region":"Ventspils","lat":57.3948,"lon":21.5612,"official":{"value":32723,"date":null,"source":"geonames"},"live":{"b":32723,"value":32495},"page":null},{"id":456202,"name":"Rēzekne","slug":"rezekne","region":"Rēzekne","lat":56.5103,"lon":27.34,"official":{"value":26429,"date":null,"source":"geonames"},"live":{"b":26429,"value":26245},"page":null},{"id":453754,"name":"Valmiera","slug":"valmiera","region":"Valmiera","lat":57.5411,"lon":25.4275,"official":{"value":22812,"date":null,"source":"geonames"},"live":{"b":22812,"value":22653},"page":null},{"id":457065,"name":"Ogre","slug":"ogre","region":"Ogre","lat":56.8162,"lon":24.614,"official":{"value":22767,"date":null,"source":"geonames"},"live":{"b":22767,"value":22608},"page":null},{"id":459283,"name":"Jēkabpils","slug":"jekabpils","region":"Jēkabpils Municipality","lat":56.499,"lon":25.8574,"official":{"value":21014,"date":null,"source":"geonames"},"live":{"b":21014,"value":20868},"page":null},{"id":864723,"name":"Mārupe","slug":"marupe","region":"Mārupe","lat":56.9054,"lon":24.0511,"official":{"value":19096,"date":null,"source":"geonames"},"live":{"b":19096,"value":18963},"page":null},{"id":455898,"name":"Salaspils","slug":"salaspils","region":"Salaspils Municipality","lat":56.8601,"lon":24.3654,"official":{"value":17826,"date":null,"source":"geonames"},"live":{"b":17826,"value":17702},"page":null},{"id":454768,"name":"Tukums","slug":"tukums","region":"Tukums Municipality","lat":56.9676,"lon":23.1555,"official":{"value":16182,"date":null,"source":"geonames"},"live":{"b":16182,"value":16069},"page":null},{"id":460570,"name":"Cēsis","slug":"cesis","region":"Cēsis Municipality","lat":57.3119,"lon":25.2746,"official":{"value":15020,"date":null,"source":"geonames"},"live":{"b":15020,"value":14915},"page":null}],"rest_of_country":{"b":654245,"value":649700,"note":"smaller towns and rural areas: the country minus the listed cities"},"sources":{"un-wpp":{"name":"United Nations, Department of Economic and Social Affairs, Population Division","dataset":"World Population Prospects 2024, medium variant","url":"https://population.un.org/wpp/","license":"CC BY 3.0 IGO","license_url":"https://creativecommons.org/licenses/by/3.0/igo/"},"geonames":{"name":"GeoNames","dataset":"cities15000","url":"https://www.geonames.org/","license":"CC BY 4.0","license_url":"https://creativecommons.org/licenses/by/4.0/"}}}