One API key for every Google product: the Google Scraper API returns Google Search, Maps, AI Mode, News, Trends, Jobs, Shopping, Hotels, Flights, Scholar, Images, Patents, Finance, Lens and Autocomplete as structured JSON. This repository is the index: each product has its own repository below with runnable examples and real output samples.
A Google scraper sends a query to a Google product (Search, Maps, News, Trends, Shopping and so on) and returns what Google shows as structured data: results, places, prices, articles, charts and their sources. SEO, market research and AI teams use it for rank tracking, local data, price comparison and grounding LLM answers, without building and maintaining a scraper per Google product.
Each repository has runnable Python, Node.js and cURL examples, real output samples and the full list of endpoints with their credit cost.
| Repository | What you get | Endpoints | Credits from |
|---|---|---|---|
| Google SERP API | Organic results, ads, AI Overviews, People Also Ask and knowledge graph | 3 | 10 |
| Google AI Mode Scraper API | Google AI Mode answers and AI Overviews with their cited sources | 2 | 20 |
| Google Maps Scraper API | Places, business details, reviews, photos and posts | 5 | 20 |
| Google Maps Reviews Scraper API | Every review of a place, sorted and paginated | 2 | 20 |
| Google News Scraper API | News articles by keyword, topic feeds and top stories | 3 | 20 |
| Google Trends API | Interest over time, by region, related queries and trending searches | 5 | 20 |
| Google Jobs Scraper API | Job listings with company, salary, description and apply links | 1 | 20 |
| Google Shopping Scraper API | Product search, prices, seller offers and product details | 3 | 20 |
| Google Hotels Scraper API | Hotel search with nightly prices, plus details and prices by booking site | 2 | 20 |
| Google Flights Scraper API | Flight offers with prices and times, plus the cheapest fare per date | 2 | 20 |
| Google Scholar Scraper API | Papers, citation counts, author profiles and ready-made citations | 5 | 20 |
| Google Images Scraper API | Image results with source pages, thumbnails and original image URLs | 1 | 20 |
| Google Video Search Scraper API | Results of Google's Videos tab for any query, country and language | 1 | 20 |
| Google Shorts Scraper API | Short videos from YouTube, TikTok, Instagram and Facebook for any search | 1 | 20 |
| Google Patents Scraper API | Patent search and full patent records with claims and citations | 2 | 20 |
| Google Finance Scraper API | Quotes for stocks, indexes, crypto and currencies | 1 | 20 |
| Google Lens API | Reverse image search with visual matches, exact matches and product prices | 1 | 20 |
| Google Autocomplete API | Google search suggestions for any country and language | 1 | 20 |
All of them use the same API key, the same base URL (https://scrapebadger.com) and the same credit balance.
-
Create a free ScrapeBadger account. You get 1,000 free credits, no card needed.
-
Export your API key:
export SCRAPEBADGER_API_KEY="your_api_key"
-
Call any endpoint. For example, search Google (google-serp-api):
curl -sS --max-time 120 -G "https://scrapebadger.com/v1/google/search" \
-H "X-API-Key: $SCRAPEBADGER_API_KEY" \
--data-urlencode 'q=tesla model y' \
--data-urlencode 'gl=us' \
--data-urlencode 'hl=en' \
--data-urlencode 'ai_overview=true'import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
response = requests.get(
"https://scrapebadger.com/v1/google/search",
headers={"X-API-Key": API_KEY},
params={
"q": "tesla model y",
"gl": "us",
"hl": "en",
"ai_overview": True,
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))ScrapeBadger runs a hosted MCP server, so Claude, Cursor, ChatGPT and other agents can call every endpoint in this category as tools.
- Claude (claude.ai or Claude Desktop): Settings → Connectors → Add custom connector →
https://mcp.scrapebadger.com/mcp, then sign in. - Other clients: use
https://mcp.scrapebadger.com/mcp?apis=googlewith the headerAuthorization: Bearer YOUR_SCRAPEBADGER_API_KEY.
Then ask:
Compare how "best running shoes" looks on Google Search, Google Shopping and Google AI Mode in the US, and tell me which brands appear in all three.
Is it legal to scrape Google?
These APIs return what Google shows publicly to anyone who searches. Collecting public data is generally lawful in most jurisdictions, and US courts have so far sided with SERP scrapers when Google has sued them. Check the rules that apply to your use case and ask a lawyer if you're unsure.
Do I need a separate key or plan per Google product?
No. One ScrapeBadger API key and one credit balance cover every Google product here. Each endpoint has its own credit cost, listed in each repository's endpoints table.
How much does it cost?
You pay per successful request; failed requests are not billed. You get 1,000 free credits when you sign up, then pay as you go or pick a plan on the pricing page.
Which countries and languages are supported?
Every country and language Google supports, through gl (country) and hl (language) on most endpoints, plus city-level location on Search and AI Mode.
- Google Scraper API: every Google scraper on one page
- Documentation
- Pricing
- How to Scrape Google Search Results with Python in 2026 (3 Methods)
- Google AI Mode vs AI Overviews vs Gemini: What Each One Is and How to Get Data From Each
- SerpAPI Alternatives in 2026: Cheaper Options That Actually Work
ScrapeBadger is an independent tool and is not affiliated with, endorsed by, or sponsored by Google LLC or any of its subsidiaries or affiliates. "Google" and the names of its products are trademarks of Google LLC, used here only to describe the platforms these scrapers work with. These repositories only cover publicly available data. You are responsible for how you use the data you collect and for following the laws that apply to you.
MIT.
