Set the country, language, date range, search operators and an exact location, and get a Google search URL you can open or share. Everything runs in your browser; nothing you type is sent anywhere.
Serpent API returns search results from Google, Bing, Yahoo, DuckDuckGo and Brave as structured JSON. Pay as you go, no subscription, and 10 free API calls to try it.
| Parameter | Example | Effect |
|---|---|---|
q | q=coffee+shops | The search query, including any operators. |
gl | gl=de | Country to search from, as a two-letter code. |
hl | hl=de | Language of the Google interface. |
uule | uule=w+CAIQICI... | An encoded location, down to city level. |
tbs | tbs=qdr:w | Date range: h hour, d day, w week, m month, y year. |
tbm | tbm=nws | Result type: nws news, isch images, vid videos. |
start | start=10 | Offset of the first result. 10 is page 2. |
pws | pws=0 | Turns off personalised results. |
filter | filter=0 | Shows results Google would otherwise omit as near-duplicates. |
nfpr | nfpr=1 | Stops Google replacing the query with a spelling correction. |
safe | safe=active | Turns SafeSearch on. |
A UULE value is three pieces joined together: the fixed prefix w+CAIQICI, one character that encodes the length of the location name, and the location name itself in Base64. The length character is taken from the alphabet A-Z a-z 0-9 - _, so a 31-character name uses the 32nd character, f. For New York,New York,United States the result is w+CAIQICIfTmV3IFlvcmssTmV3IFlvcmssVW5pdGVkIFN0YXRlcw.
The location name has to match an entry in Google's geo targets list. A name Google does not recognise is ignored, and the search falls back to the country in gl.
No. The URL is assembled by JavaScript on this page. Nothing is sent until you open the Google link yourself.
The URL parameters tell Google which country, language and location to use, but Google also looks at your IP address, device and sign-in state. For results that match a real local user, the request has to come from that location.
Use the start offset to move through pages. This tool does not set a results-per-page value, because Google no longer reliably honours one.
That is what a SERP API is for. The request shown under "Same search as JSON, by API" returns the results as structured JSON from Serpent API. It needs an API key; new accounts start with 10 free calls.