Install
$ agentstack add skill-peterfox-agent-skills-serpapi ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
SerpApi
Use the SerpApi REST API (via WebFetch) to retrieve structured search results from Google, Google Shopping, Google Jobs, eBay, and Amazon.
Base endpoint: https://serpapi.com/search Authentication: Pass api_key as a query parameter on every request.
Engines
| Engine | engine value | Reference | |--------|---------------|-----------| | Google Search | google | [references/google-search-api.md](references/google-search-api.md) | | Google Shopping | google_shopping | [references/google-shopping-api.md](references/google-shopping-api.md) | | Google Jobs | google_jobs | [references/google-jobs-api.md](references/google-jobs-api.md) | | Google Immersive Product | google_immersive_product | [references/google-immersive-product-api.md](references/google-immersive-product-api.md) | | eBay | ebay | [references/ebay-api.md](references/ebay-api.md) | | Amazon Search | amazon | [references/amazon-search-api.md](references/amazon-search-api.md) | | Amazon Product | amazon_product | [references/amazon-product-api.md](references/amazon-product-api.md) |
Read the relevant reference file before constructing any request.
Key Patterns
Chaining APIs
- Google Shopping → Immersive Product: A
shopping_resultsitem'simmersive_product_page_tokenis thepage_tokenforgoogle_immersive_product. - Amazon search → Product detail: A
organic_resultsitem'sserpapi_linklinks directly toamazon_productfor full product details, or use theasinmanually.
Filters from responses
- Google Shopping:
shoprstokens for category-specific filters (brand, colour, size, etc.) come fromfilters[].options[].shoprsorcarousel_filters[].shoprsin the response — never construct them manually. - Google Jobs:
udsfilter tokens come fromfiltersin the response.chipsandltypeare deprecated; useudsinstead. - Google Jobs pagination:
startis discontinued — usenext_page_tokenfromserpapi_pagination.
Presenting results
- Always show prices with currency and
extracted_pricefor computation. - For job listings: show
title,company_name,location,via, and keydetected_extensionsfields (schedule type, remote, salary). - For product results: show
title,price,rating,reviews, andsource/seller. - For eBay: distinguish
sponsoredlistings clearly.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: peterfox
- Source: peterfox/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.