Short answer: add "filter":"0" to a /google/search request. Google then stops hiding results it considers too similar to ones it already showed, so the same site can appear several times and pages that were folded away come back. Google's default is 1. The switch costs nothing extra.
The request
curl -X POST 'https://api.serpbase.dev/google/search' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"q":"python list comprehension","gl":"us","hl":"en","device":"desktop","page":3,"filter":"0"}'
You can confirm Google received it: the search_url field in the answer is the Google address that was actually fetched, and it contains filter=0.
What changed in our test
We fetched page 3 of the desktop results for "python list comprehension" twice on 30 November 2026, once with Google's default and once with filter=0:
| Default | filter=0 | |
|---|---|---|
| Organic results on the page | 9 | 9 |
| Distinct sites among them | 9 | 7 |
| Sites appearing twice | none | youtube.com, quora.com |
result_stats | Page 3 of about 101 results | Page 3 of about 90 results |
| Results shared between the two pages | 0 |
With the default, page 3 was nine different tutorial sites (DigitalOcean, DataCamp, Codecademy and others). With filter=0 it held two YouTube videos, two Quora questions, a Facebook post and four tutorial pages that the filtered page never showed.
Google's results also move between any two requests, so do not read a single pair as an exact measure. The duplicates from the same site are the reliable sign that filtering was off.
When to turn it off
- Site audits: you want every page of a domain Google will show, not one per site.
- Rank tracking for big sites: a second URL from your domain may be hidden as similar under the default.
- Research on forums and video: the omitted results are often extra threads or videos from the same platform.
For ordinary keyword monitoring keep the default, which is what searchers see.
In Python
import requests
def sites(body):
data = requests.post("https://api.serpbase.dev/google/search",
headers={"X-API-Key": "YOUR_API_KEY"},
json=body, timeout=60).json()
if data["status"] != 0:
raise RuntimeError(data.get("error"))
# display_link looks like "https://www.quora.com › ..." or "www.youtube.com"
return [(o.get("display_link") or "").split("://")[-1].split(" ")[0]
for o in data.get("organic", [])]
base = {"q": "python list comprehension", "gl": "us", "hl": "en",
"device": "desktop", "page": 3}
print(sites(base))
print(sites({**base, "filter": "0"}))
Things that trip people up
- Send it as a string. The documented values are
"0"and"1". - It works inside a Google URL too. If you pass a full search link in the
urlparameter, itsfilter=0is used. - It does not add results per page. You get the same page size; what changes is which results fill it.
Related
Other Google switches: the nfpr parameter (no spelling correction), date filters with tbs, paging through results.
Cost and docs
Google searches are 1 credit with or without filter. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits.
- All parameters: Google Web Search docs
- Credit packs: pricing