{"skill":{"slug":"serpapi-search","displayName":"SerpAPI Search","summary":"Search Google via SerpAPI (Google Search, Google News, Google Local). Use when you need to search the web, find news articles, or look up local businesses. Supports country/language targeting for region-specific results.","description":"---\nname: serpapi\ndescription: Search Google via SerpAPI (Google Search, Google News, Google Local). Use when you need to search the web, find news articles, or look up local businesses. Supports country/language targeting for region-specific results.\nmetadata: {\"clawdbot\":{\"emoji\":\"🔍\",\"requires\":{\"bins\":[\"curl\",\"python3\"],\"env\":[\"SERPAPI_API_KEY\"]},\"primaryEnv\":\"SERPAPI_API_KEY\"}}\n---\n\n# SerpAPI Search\n\nSearch Google via SerpAPI with country/language targeting.\n\n## Quick start\n\n```bash\n# Google Search\n{baseDir}/scripts/search.sh \"artificial intelligence B2B\" --country br --lang pt\n\n# Google News\n{baseDir}/scripts/search.sh \"inteligência artificial\" --engine google_news --country br --lang pt\n\n# Google Local\n{baseDir}/scripts/search.sh \"AI companies\" --engine google_local --country us --location \"San Francisco, California\"\n```\n\n## Engines\n\n| Engine | Use case | Key results field |\n|--------|----------|-------------------|\n| `google` | Web search (default) | `organic_results` |\n| `google_news` | News articles | `news_results` |\n| `google_local` | Local businesses/places | `local_results` |\n\n## Options\n\n| Flag | Description | Default |\n|------|-------------|---------|\n| `--engine` | `google`, `google_news`, `google_local` | `google` |\n| `--country` | 2-letter country code (`br`, `us`, `de`, etc.) | `us` |\n| `--lang` | Language code (`pt`, `en`, `es`, etc.) | `en` |\n| `--location` | Location string (e.g. `\"São Paulo, Brazil\"`) | — |\n| `--num` | Number of results | `10` |\n| `--json` | Raw JSON output | off |\n\n## API key\n\nSet `SERPAPI_API_KEY` env var, or store it:\n```bash\nmkdir -p ~/.config/serpapi\necho \"your_key_here\" > ~/.config/serpapi/api_key\nchmod 600 ~/.config/serpapi/api_key\n```\n\n## Common country codes\n\n`br` (Brazil), `us` (USA), `pt` (Portugal), `de` (Germany), `fr` (France), `es` (Spain), `gb` (UK), `jp` (Japan), `in` (India).\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":3621,"installsAllTime":21,"installsCurrent":20,"stars":3,"versions":1},"createdAt":1769551263414,"updatedAt":1778485863829},"latestVersion":{"version":"1.0.0","createdAt":1769551263414,"changelog":"Initial release: Google Search, Google News, Google Local with country/language targeting","license":null},"metadata":{"setup":[{"key":"SERPAPI_API_KEY","required":true}],"os":null,"systems":null},"owner":{"handle":"ericsantos","userId":"s172zebvz8fjz93gkgsdmt98w583jy65","displayName":"Eric Santos","image":"https://avatars.githubusercontent.com/u/180174?v=4"},"moderation":null}