New to Claude Skills? Learn how to install them →

browser-act on GitHub

Amazon Reviews API

Free

Effortlessly extract Amazon product reviews with ease.

by browser-act5.3k stars on browser-act/skills
3 views
Updated Aug 5, 2026
Get this skill

Free · Opens the source repo

What Amazon Reviews API does

The Amazon Reviews API skill provides a streamlined solution for developers and designers looking to gather product reviews from Amazon without the hassle of manual scraping or login requirements. By utilizing the Amazon Reviews API, users can input a product's ASIN (Amazon Standard Identification Number) to retrieve structured review data, which includes detailed information such as ratings, comments, and reviewer profiles. This skill is particularly useful for those needing to analyze customer feedback, track sentiment, or conduct market research based on real user experiences.

One of the key benefits of this skill is its ability to bypass common obstacles associated with web scraping, such as CAPTCHA verifications and IP restrictions. The skill is designed to execute tasks quickly and efficiently, making it a cost-effective alternative to traditional data acquisition methods. Users can expect a straightforward setup process, requiring only the BrowserAct API Key to get started. Once configured, the skill can be run with a simple command, providing immediate access to valuable insights from Amazon reviews.

This skill is ideal for product managers, marketers, and data analysts who require reliable customer feedback to inform product development and marketing strategies. By extracting verified purchase reviews, users can assess product quality and performance, while also identifying trends and common complaints across different products. The structured output format allows for easy integration into existing analysis workflows, enhancing productivity and decision-making processes.

Overall, the Amazon Reviews API skill is a powerful tool for anyone looking to leverage customer feedback from Amazon to improve their products and strategies. With its user-friendly interface and robust functionality, this skill can significantly enhance the efficiency of review collection and analysis.

When to use it

Use this skill when you need to gather and analyze customer reviews for specific Amazon products quickly and efficiently.

When not to use it

This skill may not be suitable for users looking for non-Amazon data sources or those requiring highly customized scraping solutions.

What you can build with it

Competitor Analysis

Extract reviews for competitors' products to understand their strengths and weaknesses.

Product Feedback

Summarize feedback for your own products to identify areas for improvement.

Market Research

Collect data on customer preferences and common complaints in a specific category.

How to install Amazon Reviews API

View source

1. Install with the skills CLI

npx skills add browser-act/skills/amazon-reviews-api-skill --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 browser-act

Amazon Reviews Automation Extraction Skill

📖 Introduction

This skill provides a one-stop Amazon review collection service through BrowserAct's Amazon Reviews API template. It can directly extract structured review results from Amazon product pages. By simply providing an ASIN, you can get clean, usable review data without building crawler scripts or requiring an Amazon account login.

✨ Features

  1. No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
  2. No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP Restrictions: No need to handle regional IP restrictions or geofencing.
  4. Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
  5. Cost-Effective: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.

🔑 API Key Setup

Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other measures; ask and wait for the user to provide it. Agent must inform the user:

"Since you haven't configured the BrowserAct API Key, please visit the BrowserAct Console to get your Key."

🛠️ Input Parameters

When calling the script, the Agent should flexibly configure parameters based on user needs:

  1. ASIN (Amazon Standard Identification Number)
    • Type: string
    • Description: The unique identifier for the product on Amazon.
    • Example: B07TS6R1SF, B08N5WRWJ6

🚀 Usage

The Agent should execute the following independent script to achieve "one-line command result":

# Example call
python -u ./scripts/amazon_reviews_api.py "ASIN_HERE"

⏳ Execution Monitoring

Since this task involves automated browser operations, it may take some time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running). Agent Instructions:

  • While waiting for the script result, keep monitoring the terminal output.
  • As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
  • Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.

📊 Data Output

After successful execution, the script will parse and print results directly from the API response. Each review item includes:

  • Commentator: Reviewer's name
  • Commenter profile link: Link to the reviewer's profile
  • Rating: Star rating
  • reviewTitle: Headline of the review
  • review Description: Full text of the review
  • Published at: Date the review was published
  • Country: Reviewer's country
  • Variant: Product variant info (if available)
  • Is Verified: Whether it's a verified purchase

⚠️ Error Handling & Retry

If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:

  1. Check Output Content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. Do not retry; guide the user to re-check and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task failed (e.g., output starts with Error: or returns empty results), the Agent should automatically try to re-execute the script once.
  2. Retry Limit:

    • Automatic retry is limited to one time. If the second attempt fails, stop retrying and report the specific error information to the user.

🌟 Typical Use Cases

  1. Competitor Analysis: Extract reviews for competitors' products to understand their strengths and weaknesses.
  2. Product Feedback: Summarize feedback for your own products to identify areas for improvement.
  3. Market Research: Collect data on customer preferences and common complaints in a specific category.
  4. Sentiment Monitoring: Monitor recent reviews to detect shifts in customer sentiment.
  5. QA Insights: Use customer reviews to identify potential quality issues or bugs.
  6. Sentiment Analysis Prep: Gather review text and ratings for detailed emotion modeling.
  7. Verified Purchase Analysis: Compare feedback from verified vs. unverified buyers.
  8. Geographic Insights: Analyze product performance across different reviewer countries.
  9. Variant Comparison: Understand which product variants (size/color) receive the best feedback.
  10. Historical Trend Tracking: Retrieve and analyze review publication dates to track product lifecycle sentiment.

Frequently asked questions about Amazon Reviews API

Similar skills