# Send SerpAPI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "serpapi",
    "name": "SerpAPI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ianpcook/serpapi",
    "canonicalUrl": "https://clawhub.ai/ianpcook/serpapi",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/serpapi",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=serpapi",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/serp.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "serpapi",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-08T17:51:53.065Z",
      "expiresAt": "2026-05-15T17:51:53.065Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=serpapi",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=serpapi",
        "contentDisposition": "attachment; filename=\"serpapi-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "serpapi"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/serpapi"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/serpapi",
    "downloadUrl": "https://openagent3.xyz/downloads/serpapi",
    "agentUrl": "https://openagent3.xyz/skills/serpapi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/serpapi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/serpapi/agent.md"
  }
}
```
## Documentation

### 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

EngineUse forKey featuresgoogleGeneral web searchOrganic results, knowledge graph, local packgoogle_mapsLocal places/businessesRatings, reviews, hours, GPS coordinatesgoogle_shoppingProduct searchPrices, merchants, reviewsgoogle_imagesImage searchThumbnails, sourcesgoogle_newsNews articlesHeadlines, sources, datesamazonAmazon productsPrices, ratings, reviews, Prime statusyelpLocal businessesReviews, ratings, categoriesopentableRestaurant reviewsDining reviews, ratingswalmartWalmart productsPrices, availabilityebayeBay listingsPrices, bids, conditionstripadvisorTravel/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

### 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ianpcook
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-08T17:51:53.065Z
- Expires at: 2026-05-15T17:51:53.065Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/serpapi)
- [Send to Agent page](https://openagent3.xyz/skills/serpapi/agent)
- [JSON manifest](https://openagent3.xyz/skills/serpapi/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/serpapi/agent.md)
- [Download page](https://openagent3.xyz/downloads/serpapi)