skills$openclaw/serpapi
ianpcook818

by ianpcook

serpapi – OpenClaw Skill

serpapi is an OpenClaw Skills integration for coding workflows. Unified search API across Google, Amazon, Yelp, OpenTable, Walmart, and more. Use when searching for products, local businesses, restaurants, shopping, images, news, or any web search. One API key, many engines.

818 stars5.8k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameserpapi
descriptionUnified search API across Google, Amazon, Yelp, OpenTable, Walmart, and more. Use when searching for products, local businesses, restaurants, shopping, images, news, or any web search. One API key, many engines. OpenClaw Skills integration.
ownerianpcook
repositoryianpcook/serpapi
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @ianpcook/serpapi
last updatedFeb 7, 2026

Maintainer

ianpcook

ianpcook

Maintains serpapi in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
serp.py
9.9 KB
_meta.json
268 B
SKILL.md
4.0 KB
SKILL.md

SerpAPI - Unified Search

SerpAPI provides structured data from Google, Amazon, Yelp, OpenTable, and 20+ other search engines through a single API.

Setup

  1. Get an API key from https://serpapi.com (free tier: 100 searches/month)
  2. Set environment variable: export SERPAPI_API_KEY=your-key-here
  3. Optionally set default location in <workspace>/TOOLS.md:
    ## SerpAPI
    Default location: Pittsburgh, PA
    

Usage

# General syntax
<skill>/scripts/serp.py <engine> "<query>" [options]

# Examples
serp.py google "best coffee shops"
serp.py google_maps "restaurants near me" --location "15238"
serp.py amazon "mechanical keyboard" --num 10
serp.py yelp "pizza" --location "New York, NY"
serp.py google_shopping "standing desk"

Engines

EngineUse forKey features
googleGeneral web searchOrganic results, knowledge graph, local pack
google_mapsLocal places/businessesRatings, reviews, hours, GPS coordinates
google_shoppingProduct searchPrices, merchants, reviews
google_imagesImage searchThumbnails, sources
google_newsNews articlesHeadlines, sources, dates
amazonAmazon productsPrices, ratings, reviews, Prime status
yelpLocal businessesReviews, ratings, categories
opentableRestaurant reviewsDining reviews, ratings
walmartWalmart productsPrices, availability
ebayeBay listingsPrices, bids, conditions
tripadvisorTravel/attractionsHotels, restaurants, things to do

Options

OptionDescription
--location, -lLocation for local results (city, zip, address)
--num, -nNumber of results (default: 10)
--format, -fOutput format: json (default) or text
--type, -tGoogle search type: shop, isch, nws, vid
--page, -pPage number for pagination
--glCountry code (e.g., us, uk, de)
--hlLanguage code (e.g., en, es, fr)

When to Use Which Engine

Finding local businesses/restaurants:

  • google_maps — Best for discovering places, hours, reviews
  • yelp — Deep reviews and ratings for restaurants/services
  • opentable — Restaurant-specific, dining reviews

Shopping/Products:

  • google_shopping — Compare prices across merchants
  • amazon — Amazon-specific search with Prime info
  • walmart — Walmart inventory and prices
  • ebay — Used items, auctions, collectibles

General research:

  • google — Web pages, articles, general info
  • google_news — Current events, news articles
  • google_images — Finding images

Examples

Find restaurants near a location

serp.py google_maps "italian restaurants" --location "Pittsburgh, PA" --num 5

Compare product prices

serp.py google_shopping "sony wh-1000xm5" --num 10

Check Amazon reviews and pricing

serp.py amazon "standing desk" --num 10

Get Yelp reviews for local services

serp.py yelp "plumber" --location "15238"

Search news on a topic

serp.py google_news "AI regulation" --num 5

Output Formats

JSON (default): Full structured data from SerpAPI. Best for programmatic use or when you need all details.

Text (--format text): Human-readable summary. Best for quick answers.

Integration Notes

  • Results are structured JSON — parse and extract what you need
  • Local results include GPS coordinates for mapping
  • Shopping results include extracted prices for comparison
  • Knowledge graph provides entity information when available
  • Rate limits: 100/month on free tier, check your plan at serpapi.com/dashboard
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install serpapi?

Run openclaw add @ianpcook/serpapi in your terminal. This installs serpapi into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/ianpcook/serpapi. Review commits and README documentation before installing.