$npx skillfedfor your agent

serpapi

The official Python client for SerpApi.com.

Worth itPyPI Python ModulesReleased Aug 2026576.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — serpapi-1.1.0-py3-none-any.whl
v1.1.0 · released 2026-08-14 · Python >=3.6 · 1 runtime deps: requests

Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and provides a clean, documented interface to a large set of search engines. Install it if you need programmatic access to search results or structured data from multiple sources. The main gotcha is that it requires a SerpApi account and API key, so verify pricing and rate limits for your use case before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid SerpApi API key (obtainable from serpapi.com/users/sign_up) and network access to SerpApi's backend service.
  • Low install friction with a single dependency (requests) and a pure-wheel distribution.
  • The package is actively maintained with a recent release and 166 repository stars, supporting Python 3.6 through 3.14.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or redistribution in commercial or private projects.

last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 166 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 576,023 downloads/mo, #5,932 on PyPI

Verify before relying

import os
import serpapi

client = serpapi.Client(api_key=os.getenv("SERPAPI_KEY"))
results = client.search({
  "engine": "google",
  "q": "coffee"
})
print(results)
  • Whether the SerpApi service itself requires a paid subscription or if free tier access is available for all supported engines
  • Rate limiting or throughput constraints imposed by the SerpApi backend service
Same gist for agents: .md · .json

What it is and what it does

serpapi is the official Python wrapper for SerpApi.com, a search engine aggregation service. It lets you query results from Google, Bing, Baidu, Yahoo, eBay, YouTube, Walmart, DuckDuckGo, Naver, and other engines through a unified client interface, returning structured JSON-like results. The package handles authentication via API key, timeouts, and error cases (HTTPError for bad requests or auth failures, TimeoutError for slow responses).

You instantiate a Client with your API key, call search() with an engine name and query parameters, and get back a SerpResults object that behaves like a dictionary. The package is designed for integration into AI workflows, RAG pipelines, fine-tuning datasets, and data mining at scale. It depends only on requests for HTTP transport.

Use it for

  • Fetch Google search results programmatically for web scraping or data collection pipelines.
  • Query e-commerce platforms (eBay, Walmart) for product listings and pricing data at scale.
  • Integrate search results into machine learning training datasets or RAG (retrieval-augmented generation) systems.
  • Build multi-engine search aggregators that query Bing, Baidu, or Yahoo in a single codebase.
  • Retrieve structured data like news headlines, stock market data, or flight schedules via SerpApi's supported engines.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries a permissive MIT license, and provides a clean, documented interface to a large set of search engines. Install it if you need programmatic access to search results or structured data from multiple sources. The main gotcha is that it requires a SerpApi account and API key, so verify pricing and rate limits for your use case before committing.

Install

serpapi on PyPI

Before you install

Low install friction with a single dependency (requests) and a pure-wheel distribution. The package is actively maintained with a recent release and 166 repository stars, supporting Python 3.6 through 3.14.

Requires a valid SerpApi API key (obtainable from serpapi.com/users/sign_up) and network access to SerpApi's backend service.

License in practice

MIT license is permissive and places no restrictions on use, modification, or redistribution in commercial or private projects.

Quickstart

import os
import serpapi

client = serpapi.Client(api_key=os.getenv("SERPAPI_KEY"))
results = client.search({
  "engine": "google",
  "q": "coffee"
})
print(results)

Verify before relying

  • Whether the SerpApi service itself requires a paid subscription or if free tier access is available for all supported engines
  • Rate limiting or throughput constraints imposed by the SerpApi backend service

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
requests
MaintenanceActively maintained 0 days since the last release
Last repo commit
First released
Downloads576,023 / month, #5,932 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Natural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Indexing/SearchTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Evidence: serpapi-1.1.0-py3-none-any.whl

Tags

Capabilities
search engine api wrappergoogle search results pythonmulti-engine search scrapingserp results clientweb search data integrationsearch api aggregatorstructured search results
Topics
search-apiweb-scrapingdata-aggregation
PyPI keywords
scrapeserpapiserpapiscrapingjsonsearchlocalizedrankgooglebingbaiduyandexyahooebayscaledataminingtrainingmachinemlyoutubenaverwalmartapplestoreapp

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “multi-engine search scraping”

  • serpapiOfficial Python client for SerpApi that queries multiple search…
  • google-search-resultsA Python client for querying search results from Google, Bing, Baidu,…
  • ddgsAggregates web search results from multiple search engines (Bing,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also google-search-results · dataforseo-client · ebaysdk · ddgs · scrapingbee · tavily-python · yahooquery · brightdata-sdk · aistudio-sdk · googlesearch-python