serpapi-core-workflow-a

Featured

Google Search scraping with SerpApi -- organic results, knowledge graph, answer boxes. Use when building search-powered features, SEO monitoring, or extracting structured data from Google results. Trigger: "serpapi google search", "scrape google", "serpapi organic results".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SerpApi Core Workflow A: Google Search ## Overview Extract structured data from Google Search: organic results, answer boxes, knowledge graph, related questions (PAA), local pack, ads, and shopping results. Each search costs 1 API credit. ## Instructions ### Step 1: Full Google Search with All Components ```python import serpapi, os client = serpapi.Client(api_key=os.environ["SERPAPI_API_KEY"]) result = client.search( engine="google", q="best project management tools", location="New York, New York", hl="en", gl="us", num=10, ) # 1. Organic Results for r in result.get("organic_results", []): print(f"{r['position']}. {r['title']}") print(f" URL: {r['link']}") print(f" Snippet: {r.get('snippet', 'N/A')}") # Rich snippets: sitelinks, rating, date if "rich_snippet" in r: print(f" Rating: {r['rich_snippet'].get('top', {}).get('rating')}") # 2. Answer Box if ab := result.get("answer_box"): print(f"\nAnswer Box ({ab.get('type', 'unknown')}):") print(f" {ab.get('answer') or ab.get('snippet') or ab.get('title')}") # 3. Knowledge Graph if kg := result.get("knowledge_graph"): print(f"\nKnowledge Graph: {kg['title']}") print(f" Type: {kg.get('type')}") print(f" Description: {kg.get('description', 'N/A')[:100]}") # 4. People Also Ask for paa in result.get("related_questions", []): print(f"\nPAA: {paa['question']}") print(f" Answer: {paa.get('snippet', 'N/A')[:100]}") # 5. Related Searches fo...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

serpapi-hello-world

Run your first SerpApi search -- Google, Bing, or YouTube results as JSON. Use when starting with SerpApi, testing search queries, or learning the structured result format. Trigger: "serpapi hello world", "serpapi example", "serpapi first search".

2,274 Updated today
jeremylongshore
AI & Automation Featured

serpapi-core-workflow-b

Search Bing, YouTube, Google Shopping, Google News, and Google Maps with SerpApi. Use when scraping non-Google engines, building multi-engine search, or extracting video/news/shopping/maps data. Trigger: "serpapi youtube", "serpapi bing", "serpapi news", "serpapi shopping".

2,274 Updated today
jeremylongshore
Data & Documents Solid

google-search-serp

Extracts Google Search results page (SERP) data including organic results, paid ads, related searches, People Also Ask questions, AI Overview text, and total result count from google.com. Use when user mentions Google search results, SERP scraping, google search data, search engine results page, organic rankings, keyword SERP, Google SERP extraction, scrape Google search, Google search API alternative, SEO ranking data, paid search ads, PPC ads on Google, Google search monitoring, keyword research, search results export, check Google rankings, what shows up on Google, search engine scraper, google results checker.

1,529 Updated 5 days ago
browser-act
AI & Automation Featured

serpapi-install-auth

Install SerpApi client and configure API key authentication. Use when setting up SerpApi for search result scraping, configuring API keys, or initializing the serpapi Python/Node package. Trigger: "install serpapi", "setup serpapi", "serpapi auth", "serpapi API key".

2,274 Updated today
jeremylongshore
AI & Automation Featured

serpapi-common-errors

Diagnose and fix SerpApi errors: invalid keys, exhausted credits, blocked searches. Use when SerpApi returns errors, empty results, or unexpected status codes. Trigger: "serpapi error", "fix serpapi", "serpapi not working", "serpapi empty results".

2,274 Updated today
jeremylongshore