pangolin-serp

Search Google and scrape Amazon using Pangolin APIs. Supports AI Mode search (Google AI Overview with multi-turn dialogue), standard SERP with AI Overview extraction, Amazon product/keyword/category scraping, and screenshot capture. Use when needing to search Google programmatically, get AI overviews, scrape SERP results, perform multi-turn Google AI search, or extract Amazon product data. Requires PANGOLIN_EMAIL and PANGOLIN_PASSWORD env vars (or PANGOLIN_TOKEN).

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pangolin-serp" with this command: npx skills add tammy-hash/pangolinfo-scrape-legacy

Pangolin SERP & Scrape

New canonical (AI SERP): https://clawhub.ai/pangolinfo/pangolinfo-ai-serp
Amazon skill: https://clawhub.ai/pangolinfo/pangolinfo-amazon-scraper

Search Google and scrape Amazon programmatically via Pangolin APIs. Extract AI overviews, organic search results, Amazon product data, and page screenshots.

Prerequisites

  • Python 3.6+ (uses only standard library)
  • Pangolin account at pangolinfo.com
  • Environment variables (one of):
    • PANGOLIN_TOKEN -- existing bearer token
    • PANGOLIN_EMAIL + PANGOLIN_PASSWORD -- for automatic login

Quick Start

AI Mode Search (Google AI Overview)

python3 scripts/pangolin.py --q "what is quantum computing" --mode ai-mode

Standard SERP with AI Overview

python3 scripts/pangolin.py --q "how does java work" --mode serp --screenshot

Multi-Turn Dialogue

python3 scripts/pangolin.py --q "python web frameworks" --mode ai-mode \
  --follow-up "compare flask vs django" \
  --follow-up "which is better for beginners"

Amazon Product Detail

python3 scripts/pangolin.py --url "https://www.amazon.com/dp/B0DYTF8L2W" --mode amazon

Amazon Keyword Search

python3 scripts/pangolin.py --q "wireless mouse" --mode amazon --parser amzKeyword

Workflow

  1. Authenticate -- Token resolved from env var, cache (~/.pangolin_token), or fresh login
  2. Choose API mode -- ai-mode | serp | amazon
  3. Execute -- Script builds the request, calls the API with retry logic
  4. Parse output -- Structured JSON to stdout

Usage

AI Mode (--mode ai-mode)

Uses parserName: "googleAISearch" with udm=50 to get Google AI Mode results.

python3 scripts/pangolin.py --q "explain machine learning" --mode ai-mode

Output includes ai_overview with content paragraphs and source references.

AI Overview SERP (--mode serp)

Uses parserName: "googleSearch" for standard SERP results with AI overview extraction.

python3 scripts/pangolin.py --q "best programming languages 2025" --mode serp

Output includes both organic_results and optional ai_overview.

Multi-Turn Follow-Up

Add follow-up questions to an AI Mode search. Keep to 5 or fewer for optimal performance (more is allowed but slower):

python3 scripts/pangolin.py --q "kubernetes" --mode ai-mode \
  --follow-up "how to deploy" \
  --follow-up "monitoring tools" \
  --follow-up "cost optimization"

Amazon (--mode amazon)

Scrape Amazon product data using various parsers.

Product detail by URL:

python3 scripts/pangolin.py --url "https://www.amazon.com/dp/B0DYTF8L2W" --mode amazon

Keyword search:

python3 scripts/pangolin.py --q "mechanical keyboard" --mode amazon --parser amzKeyword

Best sellers:

python3 scripts/pangolin.py --url "https://www.amazon.com/gp/bestsellers/electronics" \
  --mode amazon --parser amzBestSellers

With custom zipcode and raw HTML:

python3 scripts/pangolin.py --url "https://www.amazon.com/dp/B0DYTF8L2W" \
  --mode amazon --zipcode 90210 --format rawHtml

Available Amazon parsers:

ParserUse Case
amzProductDetailSingle product page (default)
amzKeywordKeyword search results
amzProductOfCategoryCategory listing
amzProductOfSellerSeller's products
amzBestSellersBest sellers ranking
amzNewReleasesNew releases ranking
amzFollowSellerProduct variants / other sellers

Authentication Only

python3 scripts/pangolin.py --auth-only

Raw API Response

python3 scripts/pangolin.py --q "test" --mode ai-mode --raw

All CLI Options

--q QUERY          Search query
--url URL          Target URL (for Amazon product pages, category pages, etc.)
--mode MODE        ai-mode (default) | serp | amazon
--screenshot       Capture page screenshot (Google only)
--follow-up TEXT   Follow-up question (repeatable, ai-mode only)
--num N            Number of results (default: 10, Google only)
--parser PARSER    Amazon parser name (default: amzProductDetail)
--zipcode CODE     Amazon zipcode (default: 10041)
--format FMT       Amazon response format: json (default) | rawHtml | markdown
--auth-only        Authenticate and show token info
--raw              Output raw API response

Choosing the Right API

FeatureAI ModeSERPAmazon
ParsergoogleAISearchgoogleSearchamz* (7 types)
Input--q--q--url or --q
Primary outputAI-generated answerOrganic results + AI overviewProduct data
Multi-turnYes (via --follow-up)NoNo
ScreenshotYesYesNo
Best forAI answersSearch results with AI contextProduct & market data
Cost2 credits2 credits1 credit (json) / 0.75 (raw)

Output Format

Google (ai-mode / serp)

{
  "success": true,
  "task_id": "...",
  "results_num": 1,
  "ai_overview_count": 1,
  "ai_overview": [{"content": ["..."], "references": [{"title": "...", "url": "...", "domain": "..."}]}],
  "organic_results": [{"title": "...", "url": "...", "text": "..."}],
  "screenshot": "https://..."
}

Amazon

{
  "success": true,
  "task_id": "...",
  "url": "https://www.amazon.com/dp/...",
  "results_count": 1,
  "product": {"asin": "...", "title": "...", "price": "...", "star": "...", "rating": "..."}
}

See reference files for full response schemas.

Exit Codes

CodeMeaning
0Success
1API error (non-zero response code)
2Usage error (invalid arguments)
3Network error
4Authentication error

Troubleshooting

ProblemSolution
Auth failsCheck PANGOLIN_EMAIL and PANGOLIN_PASSWORD env vars
Empty AI overviewNot all queries trigger AI overview; try informational queries
Token invalid (1004)Script auto-refreshes; ensure email/password env vars are set
Insufficient credits (2001)Top up at pangolinfo.com
TimeoutScript retries 3x with backoff; check network
Amazon returns emptyVerify the URL and parser match (e.g. product URL + amzProductDetail)

See references/error-codes.md for the full error code reference.

Deep-Dive Documentation

ReferenceContent
references/ai-mode-api.mdAI Mode API schema, multi-turn dialogue mechanism
references/ai-overview-serp-api.mdAI Overview SERP API schema, organic result structure
references/amazon-api.mdAmazon Scrape API, all parser types, product fields
references/error-codes.mdError codes, auth lifecycle, credit management

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

Pangolinfo AI SERP: AI Mode Output + AI Overviews

The ultimate automated market research tool for e-commerce. Stop manual product hunting and bypass CAPTCHAs. Perfect for LangChain, AutoGen, OpenDevin, and O...

Registry SourceRecently Updated
2575Profile unavailable
General

Amazon Review Reveyes

使用 Reveyes API 批量抓取亚马逊商品评论,支持 20 个站点。 输出评论列表、星级分布统计和差评摘要。 Use when: 用户提到抓评论、查差评、分析竞品口碑、给出 ASIN 编号需要评论数据。 NOT for: 分析已经抓好的本地评论文件,或查询亚马逊商品价格/销量。

Registry SourceRecently Updated
1211Profile unavailable
General

Reveyes Skill

使用 Reveyes API 批量抓取亚马逊商品评论,支持 20 个站点。 输出评论列表、星级分布统计和差评摘要。 Use when: 用户提到抓评论、查差评、分析竞品口碑、给出 ASIN 编号需要评论数据。 NOT for: 分析已经抓好的本地评论文件,或查询亚马逊商品价格/销量。

Registry SourceRecently Updated
1191Profile unavailable
Web3

Pangolinfo Amazon Scraper: Products + Keywords + Reviews + Categories

Scrape Amazon as JSON — products, keywords, reviews, BSR. 13 regions. Anti-bot. 60 free credits. Claude Code, Cursor, LangChain.

Registry SourceRecently Updated
3104Profile unavailable