UULE Codes for Cities in Latvia

A UULE code makes Google show results as if you were searching from a given place. Below are the v1 codes for 14 cities in Latvia with at least 15,000 people, largest first. Copy one, or open the search on Google to check it.

14 cities

UULE v1 codes for cities in Latvia
CityRegionPopulationUULE (v1)Use
RigaRiga742,572w+CAIQICIQUmlnYSxSaWdhLExhdHZpYQ== Google
DaugavpilsDaugavpils78,126w+CAIQICIcRGF1Z2F2cGlscyxEYXVnYXZwaWxzLExhdHZpYQ== Google
LiepajaCity of Liepaja67,421w+CAIQICIeTGllcGFqYSxDaXR5IG9mIExpZXBhamEsTGF0dmlh Google
JelgavaJelgava54,834w+CAIQICIWSmVsZ2F2YSxKZWxnYXZhLExhdHZpYQ== Google
JurmalaJurmala52,001w+CAIQICIWSnVybWFsYSxKdXJtYWxhLExhdHZpYQ== Google
VentspilsVentspils32,723w+CAIQICIaVmVudHNwaWxzLFZlbnRzcGlscyxMYXR2aWE= Google
RezekneRezekne26,429w+CAIQICIWUmV6ZWtuZSxSZXpla25lLExhdHZpYQ== Google
ValmieraValmiera Municipality22,812w+CAIQICIlVmFsbWllcmEsVmFsbWllcmEgTXVuaWNpcGFsaXR5LExhdHZpYQ== Google
OgreOgre Municipality22,767w+CAIQICIdT2dyZSxPZ3JlIE11bmljaXBhbGl0eSxMYXR2aWE= Google
JekabpilsJekabpils Municipality21,014w+CAIQICIxSmVrYWJwaWxzLEpla2FicGlscyxKZWthYnBpbHMgTXVuaWNpcGFsaXR5LExhdHZpYQ== Google
MarupeMarupe Municipality19,096w+CAIQICIhTWFydXBlLE1hcnVwZSBNdW5pY2lwYWxpdHksTGF0dmlh Google
SalaspilsSalaspils Municipality17,826w+CAIQICInU2FsYXNwaWxzLFNhbGFzcGlscyBNdW5pY2lwYWxpdHksTGF0dmlh Google
TukumsTukums Municipality16,182w+CAIQICIhVHVrdW1zLFR1a3VtcyBNdW5pY2lwYWxpdHksTGF0dmlh Google
CesisCesis Municipality15,020w+CAIQICIfQ2VzaXMsQ2VzaXMgTXVuaWNpcGFsaXR5LExhdHZpYQ== Google

Use a Latvia UULE with the API

Send the code to /v1/google/search and you get structured results for that city. This example searches “gym” from Riga, the largest city in the list, with gl=lv and hl=lv.

Request for Riga

curl -G "https://api.justserp.com/v1/google/search" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "q=gym" \
  --data-urlencode "uule=w+CAIQICIQUmlnYSxSaWdhLExhdHZpYQ==" \
  --data-urlencode "gl=lv" \
  --data-urlencode "hl=lv"

Or pass the location name

You do not have to encode anything. The location parameter takes the canonical name and JustSERP does the rest.

Request with location

curl -G "https://api.justserp.com/v1/google/search" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "q=dentist" \
  --data-urlencode "location=Riga,Riga,Latvia" \
  --data-urlencode "gl=lv" \
  --data-urlencode "hl=lv"

Replace YOUR_API_KEY with your key. See the API docs for every parameter.

Need a street or neighbourhood?

These are v1 codes, built from Google's canonical city name. A v2 code uses coordinates instead, so it can point at a street or a neighbourhood. The UULE generator and decoder creates one for any coordinates.

Other countries

See all 208 countries

Canonical names from Google's public geo targets list. City list and population from GeoNames (CC BY 4.0). Only cities that match one Google location exactly are listed. Results can still differ from what a person in the city sees, because Google also personalises.

JustSERP

JustSERP was born out of our own need to scrape google search results to parse data for analytical and processing needs. We have gone through the excruciating process of running automated web search queries by bypassing bot filters, solving captchas and parsing convoluted HTML. It is our pleasure to share our expertise with others through this affordable, fast and reliable SERP API. Don't hesitate to contact us with any questions at [email protected].

© Copyright 2026, JustSERP
Made for Search Enthusiasts ❤