Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-serp-api

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.

Install

pip install google-serp-api
export KEIRO_API_KEY="keiro_..."  # free key: http://keirolabs.cloud

Quickstart

from 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"])

Example output

{
  "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..."
}

Features

  • Real Google results — organic positions, titles, URLs and snippets
  • Supports country and language targeting 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

FAQ

Is there a free Google SERP API?

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.

How do I scrape Google search results in Python without getting blocked?

You don't handle blocks at all — the requests run through Keiro's rotating stealth infrastructure, so your IP never touches Google.

Does this return the actual organic position?

Yes. Each result carries its position, so rank tracking is one list comprehension away (see free-rank-checker for a ready-made version).

Can I get more than 10 results per page?

Pass num=20 or higher. Deep SERP monitoring up to ~100 results works fine.

Why not SerpAPI / googlesearch-python?

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.

More free search tools

Part of the Keiro free-tool family — every package owns a different Google query:


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.

About

Google SERP API for Python — real Google search results in 2 lines. No proxies, no CAPTCHAs.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages