serpapiUnified 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.
SerpAPI provides structured data from Google, Amazon, Yelp, OpenTable, and 20+ other search engines through a single API.
export SERPAPI_API_KEY=your-key-here/TOOLS.md :
## SerpAPI
Default location: Pittsburgh, PA
# 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"
| Engine | Use for | Key features |
|--------|---------|--------------|
| google | General web search | Organic results, knowledge graph, local pack |
| google_maps | Local places/businesses | Ratings, reviews, hours, GPS coordinates |
| google_shopping | Product search | Prices, merchants, reviews |
| google_images | Image search | Thumbnails, sources |
| google_news | News articles | Headlines, sources, dates |
| amazon | Amazon products | Prices, ratings, reviews, Prime status |
| yelp | Local businesses | Reviews, ratings, categories |
| opentable | Restaurant reviews | Dining reviews, ratings |
| walmart | Walmart products | Prices, availability |
| ebay | eBay listings | Prices, bids, conditions |
| tripadvisor | Travel/attractions | Hotels, restaurants, things to do |
| Option | Description |
|--------|-------------|
| --location, -l | Location for local results (city, zip, address) |
| --num, -n | Number of results (default: 10) |
| --format, -f | Output format: json (default) or text |
| --type, -t | Google search type: shop, isch, nws, vid |
| --page, -p | Page number for pagination |
| --gl | Country code (e.g., us, uk, de) |
| --hl | Language code (e.g., en, es, fr) |
Finding local businesses/restaurants:
google_maps ā Best for discovering places, hours, reviewsyelp ā Deep reviews and ratings for restaurants/servicesopentable ā Restaurant-specific, dining reviewsShopping/Products:
google_shopping ā Compare prices across merchantsamazon ā Amazon-specific search with Prime infowalmart ā Walmart inventory and pricesebay ā Used items, auctions, collectiblesGeneral research:
google ā Web pages, articles, general infogoogle_news ā Current events, news articlesgoogle_images ā Finding imagesserp.py google_maps "italian restaurants" --location "Pittsburgh, PA" --num 5
serp.py google_shopping "sony wh-1000xm5" --num 10
serp.py amazon "standing desk" --num 10
serp.py yelp "plumber" --location "15238"
serp.py google_news "AI regulation" --num 5
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.
Generated Mar 1, 2026
Marketing agencies can use SerpAPI to analyze local search results for clients, identifying top competitors and optimizing local SEO strategies. By querying engines like google_maps and yelp, they gather data on ratings, reviews, and business hours to inform targeted campaigns.
E-commerce retailers leverage SerpAPI to monitor competitor pricing on platforms like amazon, walmart, and google_shopping. This enables dynamic pricing strategies by extracting real-time price data, reviews, and availability to stay competitive in online marketplaces.
Startups use SerpAPI to conduct market research by searching google_news and google for industry trends, news articles, and general information. This helps in identifying opportunities, understanding consumer sentiment, and gathering data for business planning and investor pitches.
Travel agencies and hospitality services utilize SerpAPI to find local attractions, restaurants, and hotels using engines like tripadvisor and google_maps. They extract reviews, ratings, and location data to create curated travel itineraries and enhance customer recommendations.
Media outlets and content creators employ SerpAPI to source images via google_images and gather news from google_news for articles and reports. This streamlines research by providing structured data on current events and visual assets, improving content accuracy and timeliness.
SerpAPI operates on a SaaS model, offering tiered subscription plans based on API usage limits, such as a free tier with 100 searches/month and paid plans for higher volumes. Revenue is generated through monthly or annual subscriptions, with pricing scaling with search volume and advanced features.
The business model centers on providing API access to multiple search engines, charging per search or through bundled packages. This allows developers and companies to integrate unified search capabilities into their applications without managing multiple APIs, driving revenue from usage-based billing.
SerpAPI can generate revenue by aggregating and reselling structured search data to third parties, such as market research firms or data analytics platforms. This involves offering premium datasets or insights derived from search results, monetizing the value of extracted information beyond direct API usage.
š¬ Integration Tip
Set the SERPAPI_API_KEY environment variable and use default location settings in TOOLS.md for streamlined queries across different search engines.
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
AI-optimized web search via Tavily API. Returns concise, relevant results for AI agents.
This skill should be used when users need to search the web for information, find current content, look up news articles, search for images, or find videos. It uses DuckDuckGo's search API to return results in clean, formatted output (text, markdown, or JSON). Use for research, fact-checking, finding recent information, or gathering web resources.
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
Search indexed Discord community discussions via Answer Overflow. Find solutions to coding problems, library issues, and community Q&A that only exist in Discord conversations.
Multi search engine integration with 17 engines (8 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and WolframAlpha knowledge queries. No API keys required.