← Back to Skills Marketplace
phheng

Amazon Reviews Api Skill

by Henk Nie · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ✓ Security Clean
2559
Downloads
4
Stars
9
Active Installs
3
Versions
Install in OpenClaw
/install amazon-reviews-api-skill
Description
This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express...
README (SKILL.md)

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.
Usage Guidance
This skill calls BrowserAct's API (api.browseract.com) and requires your BrowserAct API key. Only provide the BROWSERACT_API_KEY if you trust BrowserAct and are comfortable that review data (ASIN and request metadata) will be sent to that service. Verify BrowserAct's terms/privacy and watch for costs or rate limits. Do not share other account credentials. If you want tighter control, run the included script locally yourself (set the env var locally) so you can inspect network traffic or logs before giving the key to an automated agent.
Capability Analysis
Type: OpenClaw Skill Name: amazon-reviews-api-skill Version: 0.1.2 The skill is a legitimate integration for extracting Amazon product reviews via the BrowserAct API. The Python script (amazon_reviews_api.py) uses a user-provided API key to trigger a specific workflow template on api.browseract.com and polls for results. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description claim extraction via BrowserAct; the included Python script calls api.browseract.com and requires BROWSERACT_API_KEY—this is proportionate and expected for the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the included script with an ASIN, to check for the BROWSERACT_API_KEY, and to monitor stdout logs. It does not direct the agent to read unrelated files or exfiltrate arbitrary system data.
Install Mechanism
No install spec (instruction-only behavior) and a single small Python script are included. No external/untrusted downloads, installers, or archive extraction steps are present.
Credentials
Only BROWSERACT_API_KEY is required. That credential is directly used to authenticate requests to BrowserAct and is consistent with the skill's functionality; no other secrets or unrelated env vars are requested.
Persistence & Privilege
The skill is not force-installed (always: false) and does not request persistent system-wide changes or access to other skills' configuration. Autonomous invocation is allowed (default) but not elevated beyond normal.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install amazon-reviews-api-skill
  3. After installation, invoke the skill by name or use /amazon-reviews-api-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.2
amazon-reviews-api-skill v0.1.2 - Initial implementation of the skill, enabling automated extraction of Amazon product reviews using BrowserAct's Amazon Reviews API. - Added the scripts/amazon_reviews_api.py script for fetching and parsing review data by ASIN. - Provides robust error handling and one-time retry on failures (excluding invalid authorization). - Monitors execution progress with continuous status logs. - Supports fetching rich review attributes including reviewer, rating, verified status, and more.
v0.1.1
- Removed the main script file (scripts/amazon_reviews_api.py), effectively disabling direct review extraction functionality. - Updated documentation (SKILL.md) to refine feature descriptions, clarify agent behavior, and expand the list of use cases. - Added metadata in SKILL.md to specify environment and runtime requirements. - Adjusted instructions and language for improved clarity regarding API key setup, error handling, and retry logic. - Expanded typical use cases and provided more detailed data output descriptions.
v0.1.0
Initial release of amazon-reviews-api-skill - Enables automatic extraction of Amazon product reviews via BrowserAct's Amazon Reviews API using a simple ASIN input. - No need for Amazon login or manual scraping; bypasses anti-bot measures and regional restrictions. - Delivers structured review data including reviewer info, ratings, comments, and verification status. - Requires users to provide a BrowserAct API key before operation; guides users if the key is missing or invalid. - Includes automated error handling and retry logic for robust performance. - Suitable for competitor analysis, sentiment monitoring, market research, product feedback, and QA insights.
Metadata
Slug amazon-reviews-api-skill
Version 0.1.2
License MIT-0
All-time Installs 9
Active Installs 9
Total Versions 3
Frequently Asked Questions

What is Amazon Reviews Api Skill?

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express... It is an AI Agent Skill for Claude Code / OpenClaw, with 2559 downloads so far.

How do I install Amazon Reviews Api Skill?

Run "/install amazon-reviews-api-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Amazon Reviews Api Skill free?

Yes, Amazon Reviews Api Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Amazon Reviews Api Skill support?

Amazon Reviews Api Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Amazon Reviews Api Skill?

It is built and maintained by Henk Nie (@phheng); the current version is v0.1.2.

💬 Comments