serpapi
Originally fromnicepkg/ai-workflow
Installation
SKILL.md
Troubleshooting
If requests fail, run zero doctor check-connector --env-name SERPAPI_TOKEN or zero doctor check-connector --url https://serpapi.com/search --method GET
How to Use
All examples below assume you have SERPAPI_TOKEN set.
Base URL: https://serpapi.com/search
1. Basic Google Search
Search Google and get structured JSON results:
curl -s "https://serpapi.com/search?engine=google&q=artificial+intelligence&api_key=$SERPAPI_TOKEN" | jq '.organic_results[:3] | .[] | {title, link, snippet}'