SerpBase
Back to Blog

Google Number Range Search via API: Price Bands with $500..$800

Write two numbers with two dots in a Google query to search a price band. Tested with mirrorless cameras: what came back and how loose the filter is.

December 2, 2026
By SerpBase Team2 min read

Short answer: write two numbers with two dots between them — $500..$800 — inside the query you send to /google/search. Google's number-range operator then favours pages that mention prices (or any numbers) in that range.

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":"mirrorless camera $500..$800","gl":"us","hl":"en","device":"desktop"}'

No spaces around the two dots. The currency sign is optional; plain numbers such as 500..800 work too.

What came back

On 2 December 2026 the query returned 10 organic results plus shopping_results and discussions. The titles spread across the range:

ranktitle (shortened)
1Best Cameras Under 500 Dollars in 2026
2Are there any good cameras under 800€?
4Which is the best mirrorless camera worth 500$ to 650$?
7Best Entry-level Camera Under $800
9Best Mirrorless Camera Under $800 in 2025

Two store category pages (Amazon and Best Buy mirrorless cameras) also appeared. The operator narrows the page to "this price band" content; it does not check that every product on the page costs $500–$800.

Python: price-band research

import requests

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

r = price_band("mirrorless camera", 500, 800)
for i in r.get("organic", []):
    print(i["rank"], i["title"])
print(len(r.get("shopping_results", [])), "shopping cards")

Things that trip people up

  • It is a ranking signal, not a filter. "Under 500 dollars" and "under 800€" both matched; check the numbers yourself.
  • Prices in titles are text. Extract them with your own parsing; currencies and formats vary by site.
  • Shopping cards are separate. For product prices, read shopping_results or use the Google Shopping results guide.

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.