Search settings
These fields change how Google builds the results page. They map to the Settings panel in the dashboard.
| Dashboard | API field |
|---|---|
| Locale | locale |
| Device | device |
| Safe search | safe |
| Time range | time_range |
| (API / advanced place) | uule |
locale
Locale tag: a language code (en), a language-region tag (en-US), or all. Type: string or null.
{
"query": "coffee grinder",
"locale": "en"
}device
Whose results page to fetch. Enum: desktop, mobile, iphone, ipad. Default: desktop.
| Value | Meaning from OpenAPI |
|---|---|
desktop | Desktop results |
mobile | Google’s results as an Android phone gets them |
iphone | Safari on an iPhone |
ipad | Safari on an iPad |
{
"query": "coffee grinder",
"device": "iphone"
}safe
Safe-search filtering level. Enum: off, moderate, strict. Default: off.
{
"query": "coffee grinder",
"safe": "moderate"
}time_range
Restrict results to a recency window. Enum: day, week, month, year (or null / omitted for off).
In the dashboard Time range Off means you leave this unset.
{
"query": "coffee grinder",
"time_range": "week"
}uule
Search as if from this place: a Google UULE, either a place name (w+CAIQICI…, for example a ZIP code, city or state) or coordinates (a+…). Type: string or null.
Pages 2 and on follow the same place’s page trail when you paginate.
{
"query": "coffee grinder",
"uule": "w+CAIQICI..."
}Example with several settings
curl -X POST "https://scraper.geonode.io/v1/google/search/light" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "best coffee shops in berlin",
"locale": "en",
"device": "iphone",
"safe": "off",
"format": "json"
}'Next
Was this page helpful?