Xpersona
P

Pangolinfo Scrape (Legacy)

CLAWHUB · Unverified

Search Google and scrape Amazon using Pangolin APIs. Supports AI Mode search (Google AI Overview with multi-turn dialogue), standard SERP with AI Overview ex... Skill: Pangolinfo Scrape (Legacy) Owner: tammy-hash Summary: Search Google and scrape Amazon using Pangolin APIs. Supports AI Mode search (Google AI Overview with multi-turn dialogue), standard SERP with AI Overview ex... Tags: ai-overview:0.1.0, amazon:0.1.0, ecommerce:0.1.0, google:0.1.0, latest:1.0.1, legacy:1.0.1, pangolinfo:0.1.0, redirect:1.0.1, scraping:0.1.0, search:0.1.0, serp:0.1.0 Version history: v1.0.1 |

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17em4tfcj0zcpj2j7s3x5g7qx83gzme:pangolinfo-scrape-legacy
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tammy-hash-pangolinfo-scrape-legacy/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

44,972 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: pangolin-serp
description: >
  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).
---

# 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](https://www.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)

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

### Standard SERP with AI Overview

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

### Multi-Turn Dialogue

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

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

### Amazon Keyword Search

```bash
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.

```bash
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.

```bash
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):

```bash
python3 scripts/pangolin.py --q "kubernetes" --mode ai-mode \
  --follow-up "how to deploy" \
  --follow-up

_meta.json

{
  "ownerId": "kn71n4895ntspaee3vq26cjk5182e9q4",
  "slug": "pangolinfo-scrape-legacy",
  "version": "1.0.1",
  "publishedAt": 1774333905026
}

references/ai-mode-api.md

# AI Mode API Reference

Google AI Mode search via `udm=50` parameter. Returns AI-generated answers with references.

## Endpoint

```
POST https://scrapeapi.pangolinfo.com/api/v2/scrape
```

**Headers:**
- `Content-Type: application/json`
- `Authorization: Bearer <token>`

## Request Body

| Field | Required | Type | Description |
|-------|----------|------|-------------|
| url | Yes | string | Google search URL with `udm=50` |
| parserName | Yes | string | Must be `"googleAISearch"` |
| screenshot | No | boolean | Capture page screenshot |
| param | No | string[] | Follow-up questions for multi-turn dialogue |

### URL Format

```
https://www.google.com/search?num=10&udm=50&q=<encoded_query>
```

- `udm=50` enables Google AI Mode results
- `num` controls the number of results
- `q` is the URL-encoded search query

### Single Query Example

```json
{
  "url": "https://www.google.com/search?num=10&udm=50&q=javascript",
  "parserName": "googleAISearch",
  "screenshot": true
}
```

### Multi-Turn Example

```json
{
  "url": "https://www.google.com/search?num=10&udm=50&q=javascript",
  "parserName": "googleAISearch",
  "param": ["how to setup", "best frameworks"]
}
```

The `param` array contains follow-up questions. Each element is processed as a subsequent turn in the conversation. When the array length exceeds 5, response efficiency decreases -- keep it at 5 or fewer for optimal performance.

## Response

```json
{
  "code": 0,
  "message": "ok",
  "data": {
    "results_num": 1,
    "ai_overview": 1,
    "json": {
      "type": "organic",
      "items": [
        {
          "type": "ai_overview",
          "items": [
            {
              "type": "ai_overview_elem",
              "content": [
                "JavaScript is a high-level programming language..."
              ]
            }
          ],
          "references": [
            {
              "type": "ai_overview_reference",
              "title": "JavaScript - Wikipedia",
              "url": "https://en.wikipedia.org/wiki/JavaScript",
              "domain": "Wikipedia"
            }
          ]
        }
      ]
    },
    "screenshot": "https://image.datasea.network/screenshots/...",
    "taskId": "1768988520324-766a695d93b57aad",
    "url": "https://www.google.com/search?num=10&udm=50&q=javascript"
  }
}
```

### Response Fields

| Field | Type | Description |
|-------|------|-------------|
| code | int | `0` = success, see error-codes.md for others |
| data.results_num | int | Number of result items |
| data.ai_overview | int | Number of AI overview blocks |
| data.json.items[] | array | Result items (ai_overview, organic) |
| data.screenshot | string | Screenshot URL (if requested) |
| data.taskId | string | Unique task identifier |

### AI Overview Item Structure

| Field | Type | Description |
|-------|------|-------------|
| type | string | `"ai_overview"` |
| items[].type | string | `"ai_overview_elem"` |
| items[].content | string[] | AI-generated text paragraphs 

references/ai-overview-serp-api.md

# AI Overview SERP API Reference

Standard Google search results with AI Overview extraction. Returns both organic results and AI-generated overview when available.

## Endpoint

```
POST https://scrapeapi.pangolinfo.com/api/v2/scrape
```

**Headers:**
- `Content-Type: application/json`
- `Authorization: Bearer <token>`

## Request Body

| Field | Required | Type | Description |
|-------|----------|------|-------------|
| url | Yes | string | Standard Google search URL (no `udm=50`) |
| parserName | Yes | string | Must be `"googleSearch"` |
| screenshot | No | boolean | Capture page screenshot |

### URL Format

```
https://www.google.com/search?num=10&q=<encoded_query>
```

No `udm=50` parameter -- this uses standard Google search.

### Request Example

```json
{
  "url": "https://www.google.com/search?num=10&q=how+java+work",
  "parserName": "googleSearch",
  "screenshot": true
}
```

## Response

```json
{
  "code": 0,
  "message": "ok",
  "data": {
    "results_num": 3,
    "ai_overview": 1,
    "json": {
      "type": "organic",
      "items": [
        {
          "type": "ai_overview",
          "items": [
            {
              "type": "ai_overview_elem",
              "content": ["Java works by compiling source code..."]
            }
          ],
          "references": [
            {
              "type": "ai_overview_reference",
              "title": "How Java Works - Oracle",
              "url": "https://docs.oracle.com/...",
              "domain": "Oracle"
            }
          ]
        },
        {
          "type": "organic",
          "items": [
            {
              "type": "organic",
              "url": "https://example.com/java-tutorial",
              "title": "Java Tutorial for Beginners",
              "text": "Learn how Java works from the ground up..."
            }
          ]
        }
      ]
    },
    "screenshot": "https://image.datasea.network/screenshots/...",
    "taskId": "1768988520324-abcdef123456"
  }
}
```

### Response Fields

| Field | Type | Description |
|-------|------|-------------|
| code | int | `0` = success, see error-codes.md for others |
| data.results_num | int | Total number of result items |
| data.ai_overview | int | `1` if AI overview present, `0` if not |
| data.json.items[] | array | Mixed array of ai_overview and organic items |
| data.screenshot | string | Screenshot URL (if requested) |
| data.taskId | string | Unique task identifier |

### AI Overview Detection

- Check `data.ai_overview == 1` to confirm presence
- The AI overview item appears first in the `items` array with `type: "ai_overview"`
- Not all queries trigger an AI overview -- the field will be `0` when absent

### Organic Result Structure

| Field | Type | Description |
|-------|------|-------------|
| type | string | `"organic"` |
| items[].url | string | Result page URL |
| items[].title | string | Result page title |
| items[].text | string | Result snippet text |

## Differences from AI Mode API

| 

references/amazon-api.md

# Amazon Scrape API Reference

Scrape Amazon product data: details, search results, category listings, best sellers, and more.

## Endpoint

```
POST https://scrapeapi.pangolinfo.com/api/v1/scrape
```

Note: Amazon uses **v1** endpoint, not v2 (which is used by Google SERP APIs).

**Headers:**
- `Content-Type: application/json`
- `Authorization: Bearer <token>`

## Request Body

| Field | Required | Type | Description |
|-------|----------|------|-------------|
| url | Yes | string | Amazon page URL |
| format | Yes | string | `"json"`, `"rawHtml"`, or `"markdown"` |
| parserName | Yes | string | Parser type (see below) |
| bizContext | Yes | object | Business context |
| bizContext.zipcode | Yes | string | US zipcode for localized pricing |

## Parser Types

| Parser | Use Case | URL Example |
|--------|----------|-------------|
| `amzProductDetail` | Single product page | `https://www.amazon.com/dp/B0DYTF8L2W` |
| `amzKeyword` | Keyword search results | `https://www.amazon.com/s?k=wireless+mouse` |
| `amzProductOfCategory` | Category listing | Category page URL |
| `amzProductOfSeller` | Seller's products | Seller storefront URL |
| `amzBestSellers` | Best sellers ranking | Best sellers page URL |
| `amzNewReleases` | New releases ranking | New releases page URL |
| `amzFollowSeller` | Variants / other sellers | Product page URL |

## Request Example

```json
{
  "url": "https://www.amazon.com/dp/B0DYTF8L2W",
  "format": "json",
  "parserName": "amzProductDetail",
  "bizContext": {
    "zipcode": "10041"
  }
}
```

## Response

```json
{
  "code": 0,
  "message": "ok",
  "data": {
    "json": [
      {
        "asin": "B0DYTF8L2W",
        "title": "Product Title",
        "brand": "Brand Name",
        "price": "$29.99",
        "star": "4.5",
        "rating": "1,234",
        "image": "https://m.media-amazon.com/images/...",
        "images": ["url1", "url2"],
        "inStock": "In Stock",
        "seller": "Seller Name",
        "features": ["Feature 1", "Feature 2"],
        "category_name": "Electronics",
        "bestSellersRank": "#1,234",
        "deliveryTime": "Tomorrow",
        "sales": "10K+ bought in past month"
      }
    ],
    "url": "https://www.amazon.com/dp/B0DYTF8L2W",
    "taskId": "02b3e90810f0450ca6d41244d6009d0f"
  }
}
```

### Product Detail Fields (amzProductDetail)

**Core:**
`asin`, `title`, `brand`, `price`, `strikethroughPrice`, `star`, `rating`, `image`, `images`, `highResolutionImages`

**Inventory & Seller:**
`inStock`, `merchant_id`, `seller`, `shipper`, `has_cart`

**Attributes:**
`color`, `size`, `features`, `badge`, `acBadge` (Amazon's Choice)

**Category & Ranking:**
`category_id`, `category_name`, `bestSellersRank`

**Dimensions:**
`pkg_dims`, `pkg_weight`, `product_dims`, `product_weight`

**Additional:**
`deliveryTime`, `first_date`, `coupon`, `sales`, `ratingDistribution`, `reviews`, `aiReviewsSummary`, `productDescription`, `productOverview`, `attributes`, `otherAsins`

### Keyword Search Fields (a

Sponsored

Ads related to Pangolinfo Scrape (Legacy) and adjacent AI workflows.