serpapi

Retrieves search engine results from multiple platforms via REST API.

76|18|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/vm0-ai/vm0-skills --skill serpapi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serpapi
Source: https://github.com/vm0-ai/vm0-skills/tree/main/serpapi
Command: npx skills add https://github.com/vm0-ai/vm0-skills --skill serpapi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables programmatic search engine scraping via SerpApi, simplifying SEO, analytics, and monitoring tasks.

Core Features & Use Cases

  • Scrape Google search results (organic, ads, knowledge graph)
  • Image, News, Shopping, YouTube, and Maps results
  • Local rankings and SERP monitoring for SEO analysis

Quick Start

Basic Google search: bash -c 'curl -s "https://serpapi.com/search?engine=google&q=AI&api_key=${SERPAPI_API_KEY}" | jq .organic_results[0:3]'

Frequently Asked Questions about serpapi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape Google search results programmatically?

Scrape Google search results using SerpApi by sending curl requests to https://serpapi.com/search with your API key, engine parameter set to google, and a search query. The API returns organic results, ads, knowledge graphs, and other SERP data as JSON that you can parse and filter.

What search engines does SerpApi support beyond Google?

SerpApi supports Google Images, Google News, Google Shopping, Google Maps, YouTube, Bing, DuckDuckGo, and other search engines. Each engine type is specified via the engine parameter, enabling multi-platform SEO monitoring and competitive analysis from a single API.

Can I use SerpApi for SEO monitoring and local rankings?

Yes, SerpApi enables SEO monitoring and local ranking tracking by scraping SERP data across multiple engines and locations. Use location and gl parameters to target specific regions, then extract organic rankings and SERP changes to track keyword performance over time.

What parameters does SerpApi accept for refining search queries?

SerpApi accepts engine, q (query), location, gl (country code), hl (language), start (pagination), and optional parameters to customize results. These parameters control which search engine, geographic region, language, and result page are queried.

Do I need authentication to use SerpApi?

Yes, SerpApi requires an API key provided as the SERPAPI_API_KEY environment variable in your curl requests. Without a valid key, requests to https://serpapi.com/search will fail.

What data formats does SerpApi return for search results?

SerpApi returns search results as JSON containing organic_results, ads, knowledge_graph, and other SERP elements. You can parse and filter this JSON output using jq or other tools to extract specific ranking data or result fields.