SerpBase
Back to Blog

Search Several Sites at Once with Google: site: OR site: via API

Join site: terms with OR to search Reddit and Quora (or any sites) in one Google request. Tested: 8 Reddit and 2 Quora results for one query.

December 2, 2026
By SerpBase Team2 min read

Short answer: join site: terms with OR in the query you send to /google/search: rank tracker site:reddit.com OR site:quora.com. One request, one credit, results from either site.

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":"rank tracker site:reddit.com OR site:quora.com","gl":"us","hl":"en","device":"desktop"}'

Write OR in capitals; lowercase "or" is read as an ordinary word.

What came back

On 2 December 2026 this returned 10 organic results: 8 Reddit threads and 2 Quora pages.

ranksitetitle (shortened)
1reddit.comWhat's your favourite rank tracker and why? : r/TechSEO
3reddit.comThoughts on SEO Powersuite "Rank Tracker" : r/bigseo
5reddit.comHow much are you paying for rank tracking? : r/SEO
6keywordranktrackersspace.quora.comKeyword Rank Tracker's Space - Quora
8onlineearninggroup.quora.comOnline Earning Group

Two details from that answer: site:quora.com also matched Quora's subdomains (Spaces), and rank 9 was a Rocket League thread that happens to use the word "rank tracker" — the operator limits where Google looks, not what the words mean.

Python: count results per site

import requests
from collections import Counter

SITES = ["reddit.com", "quora.com"]
q = "rank tracker " + " OR ".join(f"site:{s}" for s in SITES)

r = requests.post(
    "https://api.serpbase.dev/google/search",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"q": q, "gl": "us", "hl": "en", "device": "desktop"},
    timeout=60,
).json()
if r["status"] != 0:
    raise SystemExit(r.get("error"))

seen = Counter()
for item in r.get("organic", []):
    shown = (item.get("display_url") or "") + item["link"]
    seen[next((s for s in SITES if s in shown), "other")] += 1
print(seen)

Things that trip people up

  • One site can crowd out the rest. Google ranks the combined pool, so the bigger site may take most of the page. If you need a fixed number per site, send one site: query per site instead.
  • Keep the topic words outside the OR. rank tracker site:a OR site:b works; wrapping everything in brackets is not needed.
  • Excluding is the mirror image. To drop sites, see exclude sites with -site:.
  • Forum threads also come as a module. Many queries show a "Discussions and forums" block; see the discussions API.

Related

Cost and docs

A Google search is 1 credit, with or without operators. Failed requests are not charged, and new accounts get 500 free credits.