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 |
| Google Shopping | google_shopping |
references/google-shopping-api.md |
| Google Jobs | google_jobs |
references/google-jobs-api.md |
| Google Immersive Product | google_immersive_product |
references/google-immersive-product-api.md |
| eBay | ebay |
references/ebay-api.md |
| Amazon Search | amazon |
references/amazon-search-api.md |
| Amazon Product | amazon_product |
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.