A UULE code makes Google show results as if you were searching from a given place. Below are the v1 codes for 1 city in Suriname with at least 15,000 people, largest first. Copy one, or open the search on Google to check it.
1 city
| City | Region | Population | UULE (v1) | Use |
|---|---|---|---|---|
| Paramaribo | 223,757 | w+CAIQICITUGFyYW1hcmlibyxTdXJpbmFtZQ== |
Send the code to /v1/google/search and you get structured results for that city. This example searches “roof repair” from Paramaribo, the largest city in the list, with gl=sr and hl=nl.
Request for Paramaribo
curl -G "https://api.justserp.com/v1/google/search" \ -H "X-API-Key: YOUR_API_KEY" \ --data-urlencode "q=roof repair" \ --data-urlencode "uule=w+CAIQICITUGFyYW1hcmlibyxTdXJpbmFtZQ==" \ --data-urlencode "gl=sr" \ --data-urlencode "hl=nl"
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=bakery" \ --data-urlencode "location=Paramaribo,Suriname" \ --data-urlencode "gl=sr" \ --data-urlencode "hl=nl"
Replace YOUR_API_KEY with your key. See the API docs for every parameter.
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.
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 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].