Amazon product search api skill
/SKILLThis skill is designed to help users automatically extract product data from Amazon search results.
--- name: amazon-product-search-api-skill description: "Thisskill is designed to help users automatically extract product data from Amazon search results. The Agent should proactively apply thisskill when users request to search for products related to keywords, find best-selling items from specific brands, monitor product prices and availability on Amazon, extract product listings for market research, collecting product ratings and review counts for competitive analysis, finding specific products with the highest count, searching Amazon in different languages for localized results, tracking monthly sales estimates for brand products, gathering product URLs and titles for a product catalog, scanning Amazon for "Best Seller" tags in a specific category, monitoring shipping and delivery information for brand items, and building a structured dataset of Amazon search results." metadata: {"openclaw":{"emoji":"🌐","requires":{"bins":["python"],"env":["BROWSERACTAPIKEY "]}}} --- # Amazon Product Search Automation Skill ## 📖 Introduction Thisskill provides a one-stop product data collection service through BrowserAct’s Amazon Product SearchAPI template. It directly extracts structured product results from Amazon search lists. Simply enter search keywords, brand filters, and quantity limits to obtain clean, usable product data. ## ✨ Features 1. No Hallucinations: Pre-workflows s prevent AI-generated hallucinations, ensuring stable and precise data extraction. 2. No Captcha Issues: No need to deal withreCAPTCHA or other verification challenges. 3. No IP Restrictions: No need to deal with regional IP restrictions or geofencing. 4. Faster Execution: Tasks run faster compared to purely AI-driven browser automation solutions. 5. Cost-Effective: Significantly reduces data acquisition costs compared to AI solutions that consume large amounts of tokens. ## 🔑 Setting Up theAPI Key Before running, check the `BROWSERACT_API_KEY environment variable. If it is not set, do not take any further action; prompt the user and wait for them to provide it. **The Agent must inform the user**: > "Since you haven't configured the BrowserActAPI Key, please visit the [BrowserAct Console](https://www.browseract.com/reception/integrations ) to get your Key." ## 🛠️ Input Parameters When calling the script, the Agent should flexibly configure the following parameters based on user needs: 1. **KeyWords (Search Keywords)** - **Type**:string - **Description**: The keywords the user wants to search for on Amazon. - **Example**:phone ,wireless earbuds ,laptop stand 2. **Brand (Brand Filter)** - **Type**:string - **Description**: Filter products by brand name shown in the listing. - **Example**:Apple ,Samsung ,Sony 3. **Maximum_date (Maximum Products)** - **Type**:number - **Description**: The maximum number of products to extract across paginated search results. - **Default**:50 4. **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 ## 🚀 Usage The Agent should execute the following independent script to achieve a "one-line command result": `bash # 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 name - product_url `: Detail