Awesome-openclaw-skills serpapi
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.
install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/serpapi" ~/.claude/skills/sundial-org-awesome-openclaw-skills-serpapi && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/serpapi" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-serpapi && rm -rf "$T"
manifest:
skills/serpapi/SKILL.mdsource content
SerpAPI - Unified Search
SerpAPI provides structured data from Google, Amazon, Yelp, OpenTable, and 20+ other search engines through a single API.
Setup
- Get an API key from https://serpapi.com (free tier: 100 searches/month)
- Set environment variable:
export SERPAPI_API_KEY=your-key-here - 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
| Engine | Use for | Key features |
|---|---|---|
| General web search | Organic results, knowledge graph, local pack |
| Local places/businesses | Ratings, reviews, hours, GPS coordinates |
| Product search | Prices, merchants, reviews |
| Image search | Thumbnails, sources |
| News articles | Headlines, sources, dates |
| Amazon products | Prices, ratings, reviews, Prime status |
| Local businesses | Reviews, ratings, categories |
| Restaurant reviews | Dining reviews, ratings |
| Walmart products | Prices, availability |
| eBay listings | Prices, bids, conditions |
| Travel/attractions | Hotels, restaurants, things to do |
Options
| Option | Description |
|---|---|
, | Location for local results (city, zip, address) |
, | Number of results (default: 10) |
, | Output format: (default) or |
, | Google search type: , , , |
, | Page number for pagination |
| Country code (e.g., , , ) |
| Language code (e.g., , , ) |
When to Use Which Engine
Finding local businesses/restaurants:
— Best for discovering places, hours, reviewsgoogle_maps
— Deep reviews and ratings for restaurants/servicesyelp
— Restaurant-specific, dining reviewsopentable
Shopping/Products:
— Compare prices across merchantsgoogle_shopping
— Amazon-specific search with Prime infoamazon
— Walmart inventory and priceswalmart
— Used items, auctions, collectiblesebay
General research:
— Web pages, articles, general infogoogle
— Current events, news articlesgoogle_news
— Finding imagesgoogle_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 (
): Human-readable summary. Best for quick answers.--format text
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