Launch pricing: 78% of pool capacity allocated. Rates rise as it fills. Lock in today's rate →
Skip to content

From ScrapingBee

This guide maps ScrapingBee's Google Search API to SerpWiz. For pricing, see ScrapingBee vs SerpWiz.

Requests

ScrapingBee SerpWiz
Search GET https://app.scrapingbee.com/api/v1/google GET https://api.serpwiz.com/v1/google/search
Maps search_type=maps GET https://api.serpwiz.com/v1/google/maps
API key Authorization: Bearer … header X-API-Key header
Cost per search 10 credits (Light Request) or 15 1 query, failed requests free

Parameters

ScrapingBee SerpWiz Notes
search q Search terms. Google operators work.
country_code gl Two-letter country code.
extra_params=hl=… hl A parameter of its own.
extra_params=start=… page page = start / 10 + 1.
extra_params=num=… — Search returns 10 results per page. For Maps, use num (1–200).
search_type=news — Top stories come back in top_stories[] on every search.
search_type=maps /v1/google/maps Its own endpoint, with q, num, location, lat/lng.
light_request — Not needed: every search costs 1 query.

Responses

ScrapingBee SerpWiz
organic_results[] results[]
organic_results[].position results[].position
organic_results[].title results[].title
organic_results[].url results[].url
organic_results[].description results[].description
organic_results[].date results[].date
top_ads[], bottom_ads[] ads[]
top_stories[] top_stories[]
knowledge_graph knowledge_panel
related_searches[] related_keywords.keywords[]
map_results[], local_results[] results[] from /v1/google/maps

See Google Search and Google Maps for every field.

Code: before and after

# Before: ScrapingBee
r = requests.get("https://app.scrapingbee.com/api/v1/google",
                 params={"search": "best crm for startups", "country_code": "us"},
                 headers={"Authorization": f"Bearer {SCRAPINGBEE_API_KEY}"})
for x in r.json()["organic_results"]:
    print(x["position"], x["title"], x["url"])
# After: SerpWiz
r = requests.get("https://api.serpwiz.com/v1/google/search",
                 params={"q": "best crm for startups", "gl": "us"},
                 headers={"X-API-Key": os.environ["SERPWIZ_API_KEY"]}, timeout=60)
r.raise_for_status()
for x in r.json()["results"]:
    print(x["position"], x["title"], x["url"])

Errors

  • SerpWiz errors come back as {"error": {"status", "code", "message", "request_id"}} with a matching HTTP status.
  • Retries: retry 429 and 503 after the Retry-After header. See Errors.
  • Charging: failed requests are never charged. The X-Credits-Charged header on every response shows what was billed.

This page as Markdown: /docs/migrate-scrapingbee.md