serpapi-install-auth

Featured

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

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 Install & Auth ## Overview Install the SerpApi client library and configure API key authentication. SerpApi provides structured JSON results from Google, Bing, YouTube, and 15+ search engines. Auth is API-key-based via the `api_key` parameter or `SERPAPI_API_KEY` env var. ## Prerequisites - SerpApi account at [serpapi.com](https://serpapi.com) - API key from [serpapi.com/manage-api-key](https://serpapi.com/manage-api-key) - Node.js 18+ or Python 3.8+ ## Instructions ### Step 1: Install Client ```bash # Python (official) pip install serpapi # Node.js (official) npm install serpapi # Alternative Python package (legacy but widely used) pip install google-search-results ``` ### Step 2: Configure API Key ```bash # .env SERPAPI_API_KEY=your-api-key-here ``` ### Step 3: Verify Connection (Python) ```python import serpapi, os client = serpapi.Client(api_key=os.environ["SERPAPI_API_KEY"]) result = client.search(engine="google", q="test", num=1) print(f"Connected! Search ID: {result['search_metadata']['id']}") ``` ### Step 4: Verify Connection (Node.js) ```typescript import { getJson } from 'serpapi'; const result = await getJson({ engine: 'google', q: 'test', num: 1, api_key: process.env.SERPAPI_API_KEY, }); console.log(`Connected! Search ID: ${result.search_metadata.id}`); ``` ### Step 5: Check Account ```bash curl "https://serpapi.com/account.json?api_key=$SERPAPI_API_KEY" | jq '{ plan: .plan_name, used: .this_month_usage, remaining: .plan_searches...

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

Secure SerpApi API keys and prevent credit abuse. Use when storing API keys, implementing backend proxies, or auditing SerpApi access patterns. Trigger: "serpapi security", "serpapi API key security", "secure serpapi".

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
API & Backend Featured

serpapi-upgrade-migration

Migrate between SerpApi client versions and handle package changes. Use when upgrading from google-search-results to serpapi package, or handling API response schema changes. Trigger: "upgrade serpapi", "serpapi migration", "serpapi new package".

2,274 Updated today
jeremylongshore
AI & Automation Featured

serpapi-ci-integration

Set up CI/CD for SerpApi integrations with fixture-based testing. Use when automating SerpApi tests without consuming credits, or validating search result parsing in CI. Trigger: "serpapi CI", "serpapi GitHub Actions", "serpapi automated tests".

2,274 Updated today
jeremylongshore