Tutorials

How to Scrape E-commerce Prices (Without Getting Blocked)

Monitor competitor prices automatically. Step-by-step guide to scraping Amazon, eBay, and other retailers.

Try Apify TeamJanuary 1, 20268 min read

TL;DR

Price monitoring requires reliable scraping at scale. Use pre-built actors for major retailers. Schedule daily runs. Export to spreadsheets or databases. Expect to pay $10-50/month for serious monitoring.

Why Scrape Prices?

Competitors change prices constantly. Amazon updates prices 2.5 million times per day. You cannot track this manually.

Automated price monitoring lets you:

  • Match or beat competitor prices instantly
  • Spot pricing trends before they hurt you
  • Find arbitrage opportunities across marketplaces
  • Track MAP (minimum advertised price) violations

The Challenge

E-commerce sites fight scrapers hard. Amazon, eBay, Walmart, and others use:

  • CAPTCHA challenges
  • IP blocking and rate limits
  • Bot detection services
  • Dynamic content loading

Simple scripts fail fast. You need infrastructure.

Option 1: Pre-built Actors (Recommended)

For major retailers, someone already solved this. Apify's Store has tested actors for:

Site Actor Data Points
Amazon Amazon Product Scraper Price, reviews, rank, stock
eBay eBay Scraper Price, bids, seller, condition
Walmart Walmart Scraper Price, availability, ratings
Target Target Product Scraper Price, stock, promotions

These actors handle proxies, retries, and anti-bot measures. You provide product URLs. They return clean data.

Step-by-Step Setup

Step 1: Create Your Product List

Start with competitor product URLs. Organize by category:

Category,Product,URL
Electronics,Sony Headphones,https://amazon.com/dp/B0BT8LG7TY
Electronics,Bose Headphones,https://amazon.com/dp/B0CCZ26B5V
Home,Dyson Vacuum,https://amazon.com/dp/B0CDFPKR9B

Step 2: Pick the Right Actor

Search Apify Store for your retailer. Look for:

  • High success rate (95%+)
  • Recent updates (within 30 days)
  • Good reviews
  • Active maintainer

Step 3: Configure the Run

Most e-commerce actors need:

  • Product URLs or search queries
  • Max items to scrape
  • Output format (JSON, CSV, Excel)

Step 4: Schedule Daily Runs

Apify lets you schedule actors to run automatically. Daily price checks work for most use cases. Hourly for high-volume competitive markets.

Step 5: Export and Analyze

Data goes to Apify storage. Export to:

  • Google Sheets (built-in integration)
  • Your database via API
  • Excel download
  • Webhook to your systems

Cost Breakdown

Price monitoring costs vary by scale:

Scale Products Monthly Cost
Small 100 products/day $5-10
Medium 1,000 products/day $25-50
Large 10,000 products/day $100-300

Apify's free tier covers small monitoring. The $49/month plan handles most medium businesses.

Common Mistakes

Scraping too fast. Aggressive rates trigger blocks. Let the actor handle timing.

Ignoring failures. Some products fail. Check success rates. Investigate persistent failures.

Not scheduling. Manual runs create gaps. Schedule and forget.

Storing too little history. Keep at least 90 days of price data. Trends matter more than snapshots.

Advanced: Building Your Own

For niche retailers without pre-built actors, you can build custom scrapers. Apify supports:

  • Puppeteer (JavaScript)
  • Playwright (JavaScript/Python)
  • Cheerio (HTML parsing)
  • Crawlee (full framework)

But this requires developer time. For one-off sites, often cheaper to hire someone on Apify's marketplace.

Start Price Monitoring Today

Free $5 monthly credit covers basic monitoring. Scale up when you need to.

Browse E-commerce Actors