Google SERP API for Python — real Google search results (title, URL, snippet, position) in two lines. No Selenium, no proxy pools, no CAPTCHA code.
google-serp-api scrapes Google search results through Keiro's stealth SERP infrastructure and returns clean JSON. If you've ever fought with googlesearch-python rate limits or SerpAPI's pricing, this is the escape hatch.
pip install google-serp-api
export KEIRO_API_KEY="keiro_..." # free key: http://keirolabs.cloudfrom google_serp_api import serp
results = serp("best python web scraping library", num=5)
for r in results:
print(r["position"], r["title"], "->", r["url"]){
"position": 1,
"title": "Scrapy | A Fast and Powerful Scraping and Crawling ...",
"url": "https://scrapy.org/",
"snippet": "An open source and collaborative framework for extracting the data..."
}- Real Google results — organic positions, titles, URLs and snippets
- Supports
countryandlanguagetargeting for local SERP checks - Pure JSON in, plain list out — no HTML parsing on your side
- Works for rank tracking, SERP monitoring, keyword research and SEO audits
Yes — this package is free to use; you only need a Keiro API key, which has a free tier. SerpAPI starts at $75/month for similar data.
You don't handle blocks at all — the requests run through Keiro's rotating stealth infrastructure, so your IP never touches Google.
Yes. Each result carries its position, so rank tracking is one list comprehension away (see free-rank-checker for a ready-made version).
Pass num=20 or higher. Deep SERP monitoring up to ~100 results works fine.
SerpAPI is excellent but priced for teams. googlesearch-python hits Google from your own IP, which Google blocks within a few queries. google-serp-api gives you SerpAPI-shaped results at free-tier pricing, from infrastructure built to survive Google.
Part of the Keiro free-tool family — every package owns a different Google query:
- free-web-search
- google-trends-api
- google-maps-scraper
- google-autocomplete-api
- google-news-api
- free-rank-checker
- reddit-search-api
- web-crawler-free
- keyword-volume-api
- youtube-search-api
- price-tracker-api
- site-metadata-api
- wayback-finder
- scholar-search-api
- email-finder-api
Requires a Keiro API key — google-serp-api is powered by the Keiro API, which handles the stealth searching. Grab a free key at keirolabs.cloud — 30 seconds, no credit card, free credits to start.