amazon-product-api-skill
它能做什么
它使用 BrowserAct Amazon Product 服务,从 Amazon 搜索结果中提取结构化的商品列表。适用于进行商品研究的卖家和分析人员。
适用场景
- ✓当卖家想获取 Amazon 上某个关键词对应的商品列表,包括价格和评分时。
- ✓当研究人员想比较 Amazon 某一类目中的不同品牌时。
- ✓当有人想跟踪一组 Amazon 商品的价格变化时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/amazon-product-api-skill/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在 Amazon 上搜索无线耳机,并列出前几名结果的标题、ASIN、价格和评分。”
每周 5 个新技能,1 分钟读完。
工作原理
如果需要,该技能会请用户提供 BrowserAct API 密钥,然后将关键词和筛选条件发送给服务,并返回结构化的商品行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Amazon Product Search Skill
📖 Introduction
This skill utilizes BrowserAct's Amazon Product API template to extract structured product listings from Amazon search results. It provides detailed information including titles, ASINs, prices, ratings, and product specifications, enabling efficient market research and product monitoring without manual data collection.
✨ Features
- No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
- No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
- No IP Restrictions: No need to handle regional IP restrictions or geofencing.
- Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
- 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:
KeyWords
- Type:
string - Description: Search keywords used to find products on Amazon.
- Required: Yes
- Example:
laptop,wireless earbuds
- Type:
Brand
- Type:
string - Description: Filter products by brand name.
- Default:
Apple - Example:
Dell,Samsung
- Type:
Maximum_number_of_page_turns
- Type:
number - Description: Number of search result pages to paginate through.
- Default:
1
- Type:
language
- Type:
string - Description: UI language for the Amazon browsing session.
- Default:
en - Example:
zh-CN,de
- Type:
🚀 Usage
Agent should use the following independent script to achieve "one-line command result":
# Example Usage
python -u ./scripts/amazon_product_api.py "keywords" "brand" pages "language"
⏳ 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: Amazon Standard Identification Number.product_url: URL of the Amazon product page.brand: Brand name.price_current_amount: Current price.price_original_amount: Original price (if applicable).rating_average: Average star rating.rating_count: Total number of ratings.featured: Badges like "Best Seller" or "Amazon's Choice".color,material,style: Product attributes (if available).
⚠️ Error Handling & Retry
If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:
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 withError:or returns empty results), the Agent should automatically try to re-execute the script once.
- If the output contains
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
- Market Research: Search for a specific product category to analyze top brands and pricing.
- Competitor Monitoring: Track product listings and price changes for specific competitor brands.
- Product Catalog Enrichment: Ext
常见问题
它接受哪些输入?
它接受搜索关键词以及品牌或类目等选项,根据用户需求进行选择。
每个结果包含什么?
在可用的情况下,每个结果包含标题、ASIN、价格、评分和规格。
它需要 API 密钥吗?
需要。如果尚未配置,该技能会请用户提供 BrowserAct API 密钥。
详情
作者的原始描述
This skill helps users extract structured product listings from Amazon, including titles, ASINs, prices, ratings, and specifications. Use this skill when users want to search for products on Amazon, find the best selling brand products, track price changes for items, get a list of categories with high ratings, compare different brand products on Amazon, extract Amazon product data for market research, look for products in a specific language or marketplace, analyze competitor pricing for keywords, find featured products for search terms, get technical specifications like material or color for
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14256
- 许可证
- MIT
- 更新时间
- 2026/8/24
评论
- …
同一仓库的更多技能
browser-act-skill-forge
6.3k帮你的智能体探索一次网站,并保存一个带脚本的可复用技能,使之后从该网站提取数据更快。
browser-act
6.3k帮你的智能体运行浏览器自动化工具,打开页面、读取渲染后的内容、填写表单、截图,并管理已登录的会话。
1688-product-detail
6.3k帮你的智能体从 1688.com 批发页面提取商品详情,例如价格阶梯、规格变体、卖家统计数据和属性。
airbnb-listing-detail
6.3k帮你的智能体根据 ID 获取 Airbnb 房源的公开详情,例如照片、设施、评分和房屋规则。