Scraper API for Google
Programmatic access to 16 Google product APIs with structured JSON responses. The ScrapeBadger Google Scraper handles SearchGuard, proxy rotation, cookie warmup, and IP rotation on 429 automatically — you just call the endpoint.Choose full Search or Light Search
Use Light Search for organic results and related
searches only. Use regular Search for the complete SERP and available rich
results. Failed requests are free. Check
X-Credits-Used for
actual charges and /api/public/pricing for current prices and promotions.
Search attempts to resolve every organic result URL within one short lookup
budget and skips Google’s verification timers. Organic and rich-feature links
can remain google.com/goto redirects if resolution is unavailable. All results
and ranks are retained. See
redirect-link behavior.
Products
Search (SERP)
Organic results, ads, knowledge graph, People Also Ask, People also search for, related searches, AI overview, and pagination.
Maps
Place search, business details, reviews, photos, and posts from Google Maps.
News
Article search, topic feeds, and trending stories from Google News.
Hotels
Property search and detailed listings with prices, ratings, and amenities.
Trends
Interest over time, regional breakdowns, related queries, and real-time trending.
Jobs
Job listings aggregated across the web with filters for type, date, and location.
Shopping
Product listings with prices, ratings, filters — plus per-product merchant URL enrichment.
Patents
Patent document search and full-detail retrieval by patent number.
Scholar
Academic paper search with year-range and citation filters.
Autocomplete
Google search suggestion lookup for query prefixes.
Images
Image search with size, color, and type filters.
Videos
Video search across Google’s video index.
Finance
Stock, index, crypto, and currency quotes with change data.
AI Mode
Google’s generative AI answers (udm=50) as structured text blocks
(prose, headings, comparison tables, lists), source references, a
compact Markdown rendering, and the raw answer HTML. Optionally
localised to a city or district with
location or lat/lon.Lens
Visual image search — find similar products and images from a URL.
Anti-Bot Handling
Google deployed SearchGuard in January 2025 — a JS challenge that blocks raw HTTP. The ScrapeBadger Google Scraper bypasses it with a cookie-warmup pattern:- First request attempts a fast HTTP fetch with cached cookies (~0.2s fast path)
- If a SearchGuard challenge is detected, a browser warmup solves it
- Subsequent requests reuse the warm cookies over HTTP for speed
- On 429 or CAPTCHA, the cached residential proxy session is invalidated to rotate the exit IP, then the retry loop continues (up to 3 IP rotations per request)
185 Google Domains
The SERP endpoint accepts any of Google’s 185 country domains via thedomain parameter:
Quick Start
Search result blocks
Each block below is returned when Google shows it for your query.
For the United Kingdom, pass
gl=gb (not uk), for example q=lutron+london&gl=gb&hl=en&domain=google.co.uk.
Queries with site:
A full Search query that contains a site: operator, such as "Jane Doe" "Acme" site:linkedin.com/company, is answered from Google’s Web tab. That tab lists only web pages and keeps the site: operator.
- The response carries
organic_results,related_searchesandpagination. Rich blocks such asai_overview,related_questionsandknowledge_graphare empty. - The credit cost is the same as any other full Search.
- To get the full results page and its AI Overview for a
site:query, passai_overview=true. - When Google finds nothing that matches,
organic_resultsis an empty list andsearch_information.organic_results_stateisno_results. That is Google’s answer, not a failed request, so a retry returns the same thing. - When Google drops the quotes to find results,
search_information.organic_results_stateisResults for relaxed query.
Endpoint Index
- Search
- Maps
- Shopping
- News & Content
- Other
Credit Costs
Per-endpoint credit pricing is configured by ScrapeBadger admins and returned live fromGET https://scrapebadger.com/api/public/pricing (uncached, updates immediately). The public pricing page and each product landing page at scrapebadger.com show the authoritative current rate. See Credits & Pricing for plan-level rates.
No response caching
Google endpoints don’t cache responses. Every request fetches Google again and is billed as normal, even if you sent the identical request a moment earlier. Theno_cache parameter is still accepted for compatibility, but it has no effect.
Run this asynchronously
Calls on this API can run in the background, so you don’t hold a connection open while they work. Add one of these to the call:Legal & Compliance
Reference cases
- Google LLC v. SerpAPI (Dec 2025) — DMCA §1201 claim alleging circumvention of SearchGuard
- Reddit v. Perplexity, SerpAPI et al. (Oct 2025) — breach of access terms and unauthorized data ingestion
ScrapeBadger is an independent tool and is not affiliated with, endorsed by, or sponsored by Google. “Google,” “Google Maps,” “Google Trends,” and other Google product names are trademarks of Google LLC, used here only to describe the platforms this scraper is designed to work with.

