✓ Verified 💻 Development ✓ Enhanced Data

Web Search With Serpapi

Search the web using SerpAPI with customizable engines (Google, Google AI Mode, Bing, etc.)

Rating
4.2 (126 reviews)
Downloads
732 downloads
Version
1.0.0

Overview

Search the web using SerpAPI with customizable engines (Google, Google AI Mode, Bing, etc.)

Complete Documentation

View Source →

SerpAPI Search Skill

Description

Use SerpAPI to fetch search results with support for multiple engines (Google, Google AI Mode, Bing, Yahoo, etc.). Requires a SerpAPI key.

Parameters

  • query (required): Search query string.
  • engine (optional): Search engine (default: google). Options: google, google_ai_mode, google_images, google_maps, youtube

Example Usage

python
# Search with Google
serpapi_search(query="2026年2月24日A股市场表现", engine="google")

# Use Google AI Mode
serpapi_search(query="AI最新进展", engine="google_ai_mode")

# Use Google Image for image search
serpapi_search(query="Sunflowers", engine="google_images")

Setup

  • Replace the API key in serpapi_search.py with your SerpAPI key.
  • Install dependencies: pip install serpapi

Notes

  • Results are returned as text blocks from SerpAPI response.
  • API key can be set via environment variable SERPAPI_API_KEY for security.

Installation

Terminal bash

openclaw install web-search-with-serpapi
    
Copied!

💻Code Examples

## Example Usage

-example-usage.py
# Search with Google
serpapi_search(query="2026年2月24日A股市场表现", engine="google")

# Use Google AI Mode
serpapi_search(query="AI最新进展", engine="google_ai_mode")

# Use Google Image for image search
serpapi_search(query="Sunflowers", engine="google_images")

Tags

#web_and-frontend-development #api #web

Quick Info

Category Development
Model Gemini 2.0
Complexity One-Click
Author lsl001006
Last Updated 3/10/2026
🚀
Optimized for
Gemini 2.0
💎

Ready to Install?

Get started with this skill in seconds

openclaw install web-search-with-serpapi