E-CommerceDifficulty: Advanced

Amazon Data Extraction

Extract publicly available data from Amazon at scale using AlterLab's API — JavaScript rendering, structured extraction, and automatic retries in one request.

Automatic renderingJavaScript supportStructured data extractionChallenge resolution

Website Compatibility Notes

Amazon deploys a layered defense system: browser fingerprinting, behavioral analysis, CAPTCHA challenges, and rotating detection patterns. JavaScript rendering is required for all product pages — static HTML requests return either blocked pages or incomplete data. Residential proxies significantly improve success rates. Request frequency matters: rapid sequential requests to the same ASIN trigger rate limiting faster than varied browsing patterns. Headers including Accept-Language, User-Agent, and cookie presence are all evaluated.

Technical Context

Amazon's product pages are React-based and load pricing data asynchronously. The Add to Cart button and pricing elements require JavaScript execution to appear. Product pages for high-demand items may show different prices based on location and login state. Challenge pages (404-like 'robot check' pages) appear when detection thresholds are exceeded — AlterLab's challenge resolution handles these automatically.

Common Data Fields

Typical fields available when extracting data from Amazon:

ASIN (product identifier)
Product title and subtitle
Current price and list price
Prime eligibility
Star rating and review count
Bullet points / feature list
Product images (all angles)
Availability and fulfillment type
Seller name and seller rating
Variations (size, color, style)
Best Seller Rank by category
Customer Q&A

Responsible Use

AlterLab is designed for extracting publicly available data. Always review the terms of service for any website you access, respect robots.txt directives, and ensure your use case complies with applicable laws in your jurisdiction. Do not use this service to access non-public, authenticated, or personally identifiable data without appropriate authorization.

Quick Start — Extract from Amazon

cURL
# Always verify the target site's robots.txt and terms of service before extracting data.
curl -X POST https://alterlab.io/api/v1/scrape \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.amazon.com/dp/B0CHX3QBCH",
    "advanced": { "render_js": true }
  }'

Need an API key? — no credit card required.

Python Example

Python
import requests

# Always verify the target site's robots.txt and terms of service before extracting data.
response = requests.post(
    "https://alterlab.io/api/v1/scrape",
    headers={
        "X-API-Key": "YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={
        "url": "https://www.amazon.com/dp/B0CHX3QBCH",
        "advanced": {"render_js": True},
    },
)

data = response.json()
print(data["content"][:500])  # First 500 chars of extracted content

Frequently Asked Questions

How do I extract product data from Amazon?

Send a POST request to AlterLab's /scrape endpoint with the Amazon product URL and enable JavaScript rendering. AlterLab handles challenge resolution and returns the full rendered HTML with product details, pricing, and reviews.

Does AlterLab support Amazon search results pages?

Yes. Pass any Amazon search URL and AlterLab will render the JavaScript-heavy results page, returning structured product listings including titles, prices, ratings, and ASINs.

What data can I extract from Amazon product pages?

You can extract product titles, prices, descriptions, bullet points, images, customer ratings, review counts, availability status, and seller information from publicly accessible Amazon pages.

Why does Amazon show 'robot check' pages?

Amazon's detection systems flag requests that match bot patterns — missing cookies, wrong headers, or too-frequent requests. AlterLab's full browser environment with proper fingerprinting and challenge resolution handles these automatically.

Can I extract Amazon Best Seller Rankings?

Yes. Amazon product pages display BSR data in the Product Information section. AlterLab renders the full page including these rankings, which update hourly for the top 100 and daily for lower positions.

How do I extract Amazon customer reviews at scale?

Request individual review pages via the /product-reviews/ URL pattern. Each page contains up to 10 reviews. AlterLab renders these pages and returns reviewer names, star ratings, verified purchase status, and review text.

How do I extract product data from Amazon?

Send a POST request to AlterLab's /scrape endpoint with the Amazon product URL and enable JavaScript rendering. AlterLab handles challenge resolution and returns the full rendered HTML with product details, pricing, and reviews.

Does AlterLab support Amazon search results pages?

Yes. Pass any Amazon search URL and AlterLab will render the JavaScript-heavy results page, returning structured product listings including titles, prices, ratings, and ASINs.

Related Use Cases

Amazon for a Specific Use Case

Business Data Guide

Your first scrape.
Sixty seconds.

$1 free credit — up to 5,000 scrapes. No credit card.Just a POST request.

terminal
curl -X POST https://api.alterlab.io/v1/scrape \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "formats": ["markdown"]}'

No credit card required · $1 free credit, up to 5,000 scrapes · Balance never expires