serpapi-hello-world

Featured

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".

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 Hello World ## Overview Run a Google search via SerpApi and parse the structured JSON response. SerpApi returns organic results, knowledge graph, answer boxes, ads, local results, and more -- all as structured data. Key parameter: `engine` (google, bing, youtube, etc.). ## Prerequisites - `serpapi` package installed (see `serpapi-install-auth`) - `SERPAPI_API_KEY` environment variable set ## Instructions ### Step 1: Basic Google Search (Python) ```python import serpapi import os client = serpapi.Client(api_key=os.environ["SERPAPI_API_KEY"]) result = client.search( engine="google", q="best programming languages 2025", location="Austin, Texas", hl="en", gl="us", num=5, # Number of results ) # Organic results for r in result["organic_results"]: print(f"{r['position']}. {r['title']}") print(f" {r['link']}") print(f" {r.get('snippet', 'No snippet')}\n") # Answer box (if present) if "answer_box" in result: print(f"Answer Box: {result['answer_box'].get('answer', result['answer_box'].get('snippet'))}") ``` ### Step 2: Google Search (Node.js) ```typescript import { getJson } from 'serpapi'; const result = await getJson({ engine: 'google', q: 'best programming languages 2025', location: 'Austin, Texas', hl: 'en', gl: 'us', num: 5, api_key: process.env.SERPAPI_API_KEY, }); result.organic_results.forEach((r: any) => { console.log(`${r.position}. ${r.title}`); console.log(` ${r.link}`); }); // Knowl...

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-core-workflow-a

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".

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
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
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-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