New to Claude Skills? Learn how to install them →

sickn33 on GitHub

E-commerce Data Extraction

Free

Efficiently extract data from any e-commerce platform.

Get this skill

Free · Opens the source repo

What E-commerce Data Extraction does

E-commerce Data Extraction is a skill designed to help users gather essential product information from various online marketplaces. Utilizing Apify's E-commerce Scraping Tool, it enables the extraction of product data, prices, reviews, and seller information, making it a valuable asset for businesses and analysts alike. This skill is particularly useful for tasks such as price monitoring, competitor analysis, and review sentiment analysis, providing a structured approach to data collection from e-commerce sites.

The skill features three distinct workflows tailored to specific user needs. The first workflow focuses on products and pricing, allowing users to track prices, detect minimum advertised price (MAP) violations, and benchmark products across different platforms. The second workflow is dedicated to customer reviews, enabling sentiment analysis and monitoring brand perception. Lastly, the seller intelligence workflow helps users discover unauthorized resellers and evaluate vendor options by leveraging Google Shopping data.

To effectively use this skill, users must set up their environment with a valid Apify token and ensure they are running Node.js version 20.6 or higher. The skill provides a clear step-by-step progress tracking system, guiding users through selecting workflows, configuring inputs, and summarizing results. Each workflow includes detailed input options and examples, ensuring that users can tailor their data extraction to meet their specific requirements.

Whether you are a pricing analyst, product manager, or brand protection team member, E-commerce Data Extraction offers a comprehensive solution for gathering and analyzing e-commerce data, making it easier to make informed business decisions based on real-time insights.

When to use it

Use this skill when you need to extract detailed product information, track competitor pricing, or analyze customer reviews across multiple e-commerce sites.

When not to use it

This skill may not be suitable for users looking for real-time data updates or those needing direct integration with e-commerce platforms, as it primarily focuses on data extraction.

What you can build with it

Price Monitoring

Track competitor prices and detect MAP violations by extracting product pricing data from multiple e-commerce platforms.

Review Analysis

Analyze customer sentiment and brand perception by extracting reviews for specific products across various marketplaces.

Seller Discovery

Identify unauthorized resellers and evaluate vendor options by scraping seller information from Google Shopping.

How to install E-commerce Data Extraction

View source

1. Install with the skills CLI

npx skills add sickn33/agentic-awesome-skills/apify-ecommerce --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by sickn33

E-commerce Data Extraction

Extract product data, prices, reviews, and seller information from any e-commerce platform using Apify's E-commerce Scraping Tool.

When to Use

  • You need product, pricing, review, stock, or seller data from e-commerce sites.
  • The task involves price monitoring, competitor product comparison, MAP enforcement, or review analysis.
  • You need a guided workflow for extracting marketplace data and summarizing findings.

Prerequisites

  • .env file with APIFY_TOKEN (at ~/.claude/.env)
  • Node.js 20.6+ (for native --env-file support)

Workflow Selection

User NeedWorkflowBest For
Track prices, compare productsWorkflow 1: Products & PricingPrice monitoring, MAP compliance, competitor analysis. Add AI summary for insights.
Analyze reviews (sentiment or quality)Workflow 2: ReviewsBrand perception, customer sentiment, quality issues, defect patterns
Find sellers across storesWorkflow 3: SellersUnauthorized resellers, vendor discovery via Google Shopping

Progress Tracking

Task Progress:
- [ ] Step 1: Select workflow and determine data source
- [ ] Step 2: Configure Actor input
- [ ] Step 3: Ask user preferences (format, filename)
- [ ] Step 4: Run the extraction script
- [ ] Step 5: Summarize results

Workflow 1: Products & Pricing

Use case: Extract product data, prices, and stock status. Track competitor prices, detect MAP violations, benchmark products, or research markets.

Best for: Pricing analysts, product managers, market researchers.

Input Options

Input TypeFieldDescription
Product URLsdetailsUrlsDirect URLs to product pages (use object format)
Category URLslistingUrlsURLs to category/search result pages
Keyword Searchkeyword + marketplacesSearch term across selected marketplaces

Example - Product URLs

{
  "detailsUrls": [
    {"url": "https://www.amazon.com/dp/B09V3KXJPB"},
    {"url": "https://www.walmart.com/ip/123456789"}
  ],
  "additionalProperties": true
}

Example - Keyword Search

{
  "keyword": "Samsung Galaxy S24",
  "marketplaces": ["www.amazon.com", "www.walmart.com"],
  "additionalProperties": true,
  "maxProductResults": 50
}

Optional: AI Summary

Add these fields to get AI-generated insights:

FieldDescription
fieldsToAnalyzeData points to analyze: ["name", "offers", "brand", "description"]
customPromptCustom analysis instructions

Example with AI summary:

{
  "keyword": "robot vacuum",
  "marketplaces": ["www.amazon.com"],
  "maxProductResults": 50,
  "additionalProperties": true,
  "fieldsToAnalyze": ["name", "offers", "brand"],
  "customPrompt": "Summarize price range and identify top brands"
}

Output Fields

  • name - Product name
  • url - Product URL
  • offers.price - Current price
  • offers.priceCurrency - Currency code (may vary by seller region)
  • brand.slogan - Brand name (nested in object)
  • image - Product image URL
  • Additional seller/stock info when additionalProperties: true

Note: Currency may vary in results even for US searches, as prices reflect different seller regions.


Workflow 2: Customer Reviews

Use case: Extract reviews for sentiment analysis, brand perception monitoring, or quality issue detection.

Best for: Brand managers, customer experience teams, QA teams, product managers.

Input Options

Input TypeFieldDescription
Product URLsreviewListingUrlsProduct pages to extract reviews from
Keyword SearchkeywordReviews + marketplacesReviewsSearch for product reviews by keyword

Example - Extract Reviews from Product

{
  "reviewListingUrls": [
    {"url": "https://www.amazon.com/dp/B09V3KXJPB"}
  ],
  "sortReview": "Most recent",
  "additionalReviewProperties": true,
  "maxReviewResults": 500
}

Example - Keyword Search

{
  "keywordReviews": "wireless earbuds",
  "marketplacesReviews": ["www.amazon.com"],
  "sortReview": "Most recent",
  "additionalReviewProperties": true,
  "maxReviewResults": 200
}

Sort Options

  • Most recent - Latest reviews first (recommended)
  • Most relevant - Platform default relevance
  • Most helpful - Highest voted reviews
  • Highest rated - 5-star reviews first
  • Lowest rated - 1-star reviews first

Note: The sortReview: "Lowest rated" option may not work consistently across all marketplaces. For quality analysis, collect a large sample and filter by rating in post-processing.

Quality Analysis Tips

  • Set high maxReviewResults for statistical significance
  • Look for recurring keywords: "broke", "defect", "quality", "returned"
  • Filter results by rating if sorting doesn't work as expected
  • Cross-reference with competitor products for benchmarking

Workflow 3: Seller Intelligence

Use case: Find sellers across stores, discover unauthorized resellers, evaluate vendor options.

Best for: Brand protection teams, procurement, supply chain managers.

Note: This workflow uses Google Shopping to find sellers across stores. Direct seller profile URLs are not reliably supported.

Input Configuration

{
  "googleShoppingSearchKeyword": "Nike Air Max 90",
  "scrapeSellersFromGoogleShopping": true,
  "countryCode": "us",
  "maxGoogleShoppingSellersPerProduct": 20,
  "maxGoogleShoppingResults": 100
}

Options

FieldDescription
googleShoppingSearchKeywordProduct name to search
scrapeSellersFromGoogleShoppingSet to true to extract sellers
scrapeProductsFromGoogleShoppingSet to true to also extract product details
countryCodeTarget country (e.g., us, uk, de)
maxGoogleShoppingSellersPerProductMax sellers per product
maxGoogleShoppingResultsTotal result limit

Supported Marketplaces

Amazon (20+ regions)

www.amazon.com, www.amazon.co.uk, www.amazon.de, www.amazon.fr, www.amazon.it, www.amazon.es, www.amazon.ca, www.amazon.com.au, www.amazon.co.jp, www.amazon.in, www.amazon.com.br, www.amazon.com.mx, www.amazon.nl, www.amazon.pl, www.amazon.se, www.amazon.ae, www.amazon.sa, www.amazon.sg, www.amazon.com.tr, www.amazon.eg

Major US Retailers

www.walmart.com, www.costco.com, www.costco.ca, www.homedepot.com

European Retailers

allegro.pl, allegro.cz, allegro.sk, www.alza.cz, www.alza.sk, www.alza.de, www.alza.at, www.alza.hu, www.kaufland.de, www.kaufland.pl, www.kaufland.cz, www.kaufland.sk, www.kaufland.at, www.kaufland.fr, www.kaufland.it, www.cdiscount.com

IKEA (40+ country/language combinations)

Supports all major IKEA regional sites with multiple language options.

Google Shopping

Use for seller discovery across multiple stores.


Running the Extraction

Step 1: Set Skill Path

SKILL_PATH=~/.claude/skills/apify-ecommerce

Step 2: Run Script

Quick answer (display in chat):

node --env-file=~/.claude/.env $SKILL_PATH/reference/scripts/run_actor.js \
  --actor "apify/e-commerce-scraping-tool" \
  --input 'JSON_INPUT'

CSV export:

node --env-file=~/.claude/.env $SKILL_PATH/reference/scripts/run_actor.js \
  --actor "apify/e-commerce-scraping-tool" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_filename.csv \
  --format csv

JSON export:

node --env-file=~/.claude/.env $SKILL_PATH/reference/scripts/run_actor.js \
  --actor "apify/e-commerce-scraping-tool" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_filename.json \
  --format json

Step 3: Summarize Results

Report:

  • Number of items extracted
  • File location (if exported)
  • Key insights based on workflow:
    • Products: Price range, outliers, MAP violations
    • Reviews: Average rating, sentiment trends, quality issues
    • Sellers: Seller count, unauthorized sellers found

Error Handling

ErrorSolution
APIFY_TOKEN not foundEnsure ~/.claude/.env contains APIFY_TOKEN=your_token
Actor not foundVerify Actor ID: apify/e-commerce-scraping-tool
Run FAILEDCheck Apify console link in error output
TimeoutReduce maxProductResults or increase --timeout
No resultsVerify URLs are valid and accessible
Invalid marketplaceCheck marketplace value matches supported list exactly

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Frequently asked questions about E-commerce Data Extraction

Similar skills