amazon-product-search-api-skill
它能做什么
它使用 BrowserAct Amazon Product Search 服务,从 Amazon 搜索列表中提取结构化结果,并支持关键词、品牌和数量选项。适用于卖家和市场研究人员。
适用场景
- ✓当卖家想监控 Amazon 某个关键词的价格和库存时。
- ✓当分析人员需要从 Amazon 搜索结果中获取一份用于市场研究的商品列表时。
- ✓当有人想获取 Amazon 上某个品牌最畅销的商品时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/amazon-product-search-api-skill/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在 Amazon 上找出品牌 Acme 的前 30 款升降办公桌,包括价格和评价。”
每周 5 个新技能,1 分钟读完。
工作原理
如果需要,该技能会请用户提供 BrowserAct API 密钥,然后将关键词、品牌筛选和结果数量限制发送给服务,并返回商品列表。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Amazon Product Search Automation Skill
📖 Introduction
This skill provides a one-stop product data collection service through BrowserAct's Amazon Product Search API template. It directly extracts structured product results from Amazon search lists. Simply input search keywords, brand filters, and quantity limits to get clean, usable product data.
✨ 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
When calling the script, the Agent should flexibly configure the following parameters based on user needs:
KeyWords (Search Keywords)
- Type:
string - Description: The keywords the user wants to search for on Amazon.
- Example:
phone,wireless earbuds,laptop stand
- Type:
Brand (Brand Filter)
- Type:
string - Description: Filter products by brand name shown in the listing.
- Example:
Apple,Samsung,Sony
- Type:
Maximum_date (Maximum Products)
- Type:
number - Description: The maximum number of products to extract across paginated search results.
- Default:
50
- Type:
language (UI Language)
- Type:
string - Description: UI language for the Amazon browsing session.
- Options:
en,de,fr,it,es,ja,zh-CN,zh-TW - Default:
en
- Type:
🚀 Usage
The Agent should execute the following independent script to achieve "one-line command result":
# Example Call
python -u ./scripts/amazon_product_search_api.py "Keywords" "Brand" Quantity "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
After successful execution, the script will parse and print results directly from the API response. Results include:
product_title: Product nameproduct_url: Detail page URLrating_score: Average star ratingreview_count: Total number of reviewsmonthly_sales: Estimated monthly sales (if available)current_price: Current selling pricelist_price: Original list price (if available)delivery_info: Delivery or fulfillment informationshipping_location: Shipping origin or locationis_best_seller: Whether marked as Best Selleris_available: Whether available for purchase
⚠️ 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 "wireless earbuds" from "Sony" to a
常见问题
需要哪些输入?
它需要搜索关键词、可选的品牌筛选以及结果数量限制。
它需要 API 密钥吗?
需要。如果尚未设置,该技能会请用户提供。
它返回什么?
它返回包含价格、评分、评论和相关详情的商品结果。
详情
作者的原始描述
This skill is designed to help users automatically extract product data from Amazon search results. The Agent should proactively apply this skill when users request searching for products related to keywords, finding best-selling items from specific brands, monitoring product prices and availability on Amazon, extracting product listings for market research, collecting product ratings and review counts for competitive analysis, finding specific products with a maximum count, searching Amazon in different languages for localized results, tracking monthly sales estimates for brand products, gath
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14258
- 许可证
- 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 房源的公开详情,例如照片、设施、评分和房屋规则。