Google web search
Search Google and get structured results.
Two response modes:
- full (default, 2 credits): complete SERP with organic, ads, knowledge graph, People Also Ask, AI Overview, local pack, news, related searches, inline videos, etc. ~1.5-2s cold, ~1.5ms warm.
- fast (1 credit, ~40% faster): lite endpoint (gbv=1) returning only organic results + related searches. Rich blocks (KG, local, AI Overview, news) are not returned — request mode=full for those. Auto-upgrades to full if ai_overview=true is set.
First request in either mode triggers a browser warmup (~15s) to solve SearchGuard. Subsequent requests reuse the sticky session.
Request
- Base URLhttps://scrapebadger.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Search query (supports Google operators like site:, inurl:, intitle:)
Country code (e.g. us, gb, de, fr)
Language code (e.g. en, es, fr)
Results per page
Pagination offset (0, 10, 20...)
Google domain (e.g. google.com, google.co.uk)
desktop or mobile
City-level geo-targeting (e.g. 'New York, USA')
Language restrict (e.g. lang_en)
Time-based search filter (e.g. qdr:d for past 24h)
Safe search (active/off)
Encoded location parameter (UULE)
Include omitted results (0=show all, 1=filter)
Disable auto-correction (1=exact match)
Country restrict (e.g. countryUS|countryGB)
Google My Business CID (place ID)
Knowledge Graph map view ID
Knowledge Graph entity ID
Cached search parameters
Layout control (e.g. gwp;0,7)
Google filter string
When true, chase Google's deferred AI Overview page_token with a follow-up fetch and merge the result into ai_overview. Adds ~1s and 1 credit when the SERP actually defers the overview.
Response mode. full (default): complete SERP with all blocks (organic, ads, knowledge graph, local pack, AI overview, news, related questions, etc). fast: lite endpoint via gbv=1 that returns ONLY organic results + related searches in ~0.6-1s cold (vs 1.5-2s full). Use when you only need organic results and can skip rich features.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.