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.
| rank | site | title (shortened) |
|---|---|---|
| 1 | reddit.com | What's your favourite rank tracker and why? : r/TechSEO |
| 3 | reddit.com | Thoughts on SEO Powersuite "Rank Tracker" : r/bigseo |
| 5 | reddit.com | How much are you paying for rank tracking? : r/SEO |
| 6 | keywordranktrackersspace.quora.com | Keyword Rank Tracker's Space - Quora |
| 8 | onlineearninggroup.quora.com | Online 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:bworks; 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.
- All response fields: Google Web Search docs
- Try it in the browser: Google Search API
- Credit packs: pricing