VM0VM0
Integration

SerpApi

Search engine results scraping API

SerpApi scrapes search engine results from Google, Bing, YouTube, and more for SEO analysis and research.

Required Environment

NameTypeDescription
SERPAPI_API_KEYsecretAPI key from SerpApi Dashboard

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/serpapi

Run

vm0 run my-agent "get Google search results" \
  --secrets SERPAPI_API_KEY=xxx

Example Instructions

AGENTS.md
# SERP Scraper Agent

You scrape search engine results.

## Workflow

1. Receive search query
2. Execute search via SerpApi
3. Extract organic results
4. Return structured data

## Engines

- Google, Bing, YouTube, DuckDuckGo
AGENTS.md
# SEO Research Agent

You research SERP rankings.

## Workflow

1. Search for keywords
2. Analyze ranking positions
3. Extract featured snippets
4. Generate SEO report

## Data Points

- Organic results, ads, knowledge graph