← 返回 Skills 市场
phheng

Amazon Asin Lookup Api Skill

作者 Henk Nie · GitHub ↗ · v0.1.4 · MIT-0
cross-platform ✓ 安全检测通过
1293
总下载
1
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install amazon-asin-lookup-api-skill
功能描述
This skill helps users extract structured product details from Amazon using a specific ASIN (Amazon Standard Identification Number). Use this skill when the...
使用说明 (SKILL.md)

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.
安全使用建议
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.
功能分析
Type: OpenClaw Skill Name: amazon-asin-lookup-api-skill Version: 0.1.4 The skill is a legitimate integration for the BrowserAct Amazon ASIN Lookup API, designed to retrieve structured product data from Amazon. The Python script `amazon_asin_lookup_api.py` communicates exclusively with `api.browseract.com` to process tasks and does not exhibit any signs of data exfiltration, unauthorized execution, or malicious intent. The instructions in `SKILL.md` are consistent with the code's functionality and provide clear guidance on API key management and error handling.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install amazon-asin-lookup-api-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /amazon-asin-lookup-api-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.4
- Initial Python script for Amazon ASIN Lookup API added at scripts/amazon_asin_lookup_api.py. - Enables product lookup and data retrieval using BrowserAct’s API via command line. - No changes to API usage, agent instructions, or parameter handling. - First script implementation—functionality now available outside of documentation.
v0.1.3
- Removed file: `scripts/amazon_asin_lookup_api.py` - API execution via `./scripts/amazon_asin_lookup_api.py` is no longer available. - Documentation may reference a script and usage command that no longer exists in this version. - No changes to input parameters, output schema, or usage instructions aside from removal of the script.
v0.1.2
- Added a metadata field specifying required binaries and environment variables for the skill. - Revised and clarified documentation on API key setup, agent instructions, and error handling. - Improved descriptions for features, execution monitoring, and retry behavior. - No code changes; documentation enhancements only.
v0.1.1
amazon-asin-lookup-api-skill v0.1.1 - Updated usage instructions: script example is now shown as ./scripts/amazon_asin_lookup_api.py instead of ./.cursor/skills/amazon-asin-lookup-api-skill/scripts/amazon_asin_lookup_api.py. - Description in SKILL.md compacted to remove numbered list formatting for use cases. - Added a new "Typical Use Cases" section outlining 10 example applications of the skill. - No changes to functional logic; documentation improved for clarity and guidance.
v0.1.0
Initial release of amazon-asin-lookup-api-skill. - Retrieve structured Amazon product details using ASIN via the BrowserAct API. - Supports fetching titles, prices, ratings, images, brand, material, features, and more. - Handles global access, bypasses CAPTCHA, and ensures reliable, fast data extraction. - Includes API key validation and user prompts for missing credentials. - Implements robust error handling and a retry mechanism for failed lookups.
元数据
Slug amazon-asin-lookup-api-skill
版本 0.1.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Amazon Asin Lookup Api Skill 是什么?

This skill helps users extract structured product details from Amazon using a specific ASIN (Amazon Standard Identification Number). Use this skill when the... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1293 次。

如何安装 Amazon Asin Lookup Api Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install amazon-asin-lookup-api-skill」即可一键安装,无需额外配置。

Amazon Asin Lookup Api Skill 是免费的吗?

是的,Amazon Asin Lookup Api Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Amazon Asin Lookup Api Skill 支持哪些平台?

Amazon Asin Lookup Api Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Amazon Asin Lookup Api Skill?

由 Henk Nie(@phheng)开发并维护,当前版本 v0.1.4。

💬 留言讨论