Amazon Asin Lookup Api Skill

v0.1.4

This skill helps users extract structured product details from Amazon using a specific ASIN (Amazon Standard Identification Number). Use this skill when the...

1· 1.3k·1 current·1 all-time
byHenk Nie@phheng

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for phheng/amazon-asin-lookup-api-skill.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Amazon Asin Lookup Api Skill" (phheng/amazon-asin-lookup-api-skill) from ClawHub.
Skill page: https://clawhub.ai/phheng/amazon-asin-lookup-api-skill
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: BROWSERACT_API_KEY
Required binaries: python
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install phheng/amazon-asin-lookup-api-skill

ClawHub CLI

Package manager switcher

npx clawhub@latest install amazon-asin-lookup-api-skill
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill claims to lookup Amazon product data by ASIN and requires only a BrowserAct API key and python to run. The included script actually calls api.browseract.com with a template ID to start and poll a task — this matches the described purpose.
Instruction Scope
SKILL.md instructs the agent to run the provided Python script and to only use the BROWSERACT_API_KEY. The script only reads the ASIN argument and the BROWSERACT_API_KEY environment variable, calls BrowserAct endpoints, polls for status, and prints results. It does not read other files, system credentials, or send data to unexpected endpoints.
Install Mechanism
No install spec is present (instruction-only), and the script requires only python and the requests library at runtime. Nothing is downloaded or extracted from arbitrary URLs by the skill itself.
Credentials
The only required environment variable is BROWSERACT_API_KEY, which is appropriate for a skill that calls the BrowserAct API. No unrelated tokens, passwords, or config paths are requested.
Persistence & Privilege
The skill is not marked always:true and does not request modification of other skills or system-wide settings. Autonomous invocation is allowed (platform default), which is expected for a user-invocable skill.
Assessment
This skill contacts BrowserAct (api.browseract.com) and will send ASINs and the API key you provide to that external service. Only install it if you trust BrowserAct and are comfortable with that data flow. Before using: (1) confirm billing/usage implications on your BrowserAct account, (2) avoid sending any sensitive or private identifiers as ASIN input, (3) store and supply the BROWSERACT_API_KEY securely (rotate if exposed), and (4) review BrowserAct's privacy policy if you need to know what additional metadata the service may record. The package itself appears coherent and limited in scope.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🌐 Clawdis
Binspython
EnvBROWSERACT_API_KEY
latestvk97b4665bcz1gcbbkt9gmp5ez983307c
1.3kdownloads
1stars
5versions
Updated 1mo ago
v0.1.4
MIT-0

Amazon ASIN Lookup Skill

📖 Introduction

This skill utilizes BrowserAct's Amazon ASIN Lookup API template to provide a seamless way to retrieve comprehensive product information from Amazon. By simply providing an ASIN, you can extract structured data including title, price, ratings, brand, and detailed descriptions directly into your application without manual scraping.

✨ 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

The agent should configure the following parameters based on user requirements:

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

🚀 Usage

The agent should execute the following script to get results in one command:

# Example Usage
python -u ./scripts/amazon_asin_lookup_api.py "ASIN_VALUE"

⏳ 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

Upon success, the script parses and prints the structured product data from the API response, which includes:

  • product_title: Full title of the product.
  • ASIN: The provided ASIN.
  • product_url: URL of the Amazon product page.
  • brand: Brand name.
  • price_current_amount: Current price.
  • price_original_amount: Original price (if applicable).
  • price_discount_amount: Discount amount (if applicable).
  • rating_average: Average star rating.
  • rating_count: Total number of ratings.
  • featured: Badges like "Amazon's Choice".
  • color: Color variant (if applicable).
  • compatible_devices: List of compatible devices (if applicable).
  • product_description: Full product description.
  • special_features: Highlighted features.
  • style: Style attribute (if applicable).
  • material: Material used (if applicable).

⚠️ 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. Product Data Enrichment: Retrieve full details for a list of ASINs to update an e-commerce database.
  2. Price Comparison: Lookup current Amazon prices for specific ASINs to compare with other retailers.
  3. Review Monitoring: Track changes in rating averages and review counts for key products.
  4. Availability Checks: Automatically verify if a specific product is currently in stock on Amazon.
  5. Brand Analysis: Identify the brand and manufacturer of products identified by ASIN.
  6. Detailed Specifications: Fetch material, style, and color information for catalog management.
  7. Feature Highlighting: Extract "special features" and detailed descriptions for marketing copy.
  8. Compatibility Verification: Check "compatible devices" for electronics or accessories.
  9. Market Research: Analyze featured badges like "Amazon's Choice" for specific product IDs.
  10. URL Resolution: Convert a list of ASINs into full Amazon product page URLs.

Comments

Loading comments...