amazon-product-search-api-skill
Fungsinya
Dokumen ini memakai layanan Amazon Product Search dari BrowserAct untuk mengekstrak hasil terstruktur dari daftar pencarian Amazon, dengan opsi kata kunci, merek, dan jumlah. Skill ini ditujukan untuk penjual dan peneliti pasar.
Kapan dipakai
- βSaat penjual ingin memantau harga dan ketersediaan untuk sebuah kata kunci di Amazon.
- βKetika analis membutuhkan daftar produk dari pencarian Amazon untuk riset pasar.
- βSaat seseorang ingin barang terlaris dari satu merek di Amazon.
Link skill
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/amazon-product-search-api-skill/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βCari 30 meja berdiri teratas di Amazon dari merek bernama Acme, beserta harga dan ulasannya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini meminta kunci API BrowserAct jika diperlukan, lalu mengirim kata kunci, filter merek, dan batas hasil ke layanan dan mengembalikan daftar produk.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Input apa yang dibutuhkan?
Ia membutuhkan kata kunci pencarian, filter merek opsional, dan batas hasil.
Apakah perlu kunci API?
Ya. Skill ini meminta kunci tersebut jika belum diatur.
Apa yang dikembalikan?
Ia mengembalikan hasil produk dengan harga, rating, ulasan, dan detail terkait.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 6.3k
- Peringkat
- #14258
- Lisensi
- MIT
- Diperbarui
- 24/8/2026
Komentar
- β¦
Skill lain dari repositori ini
browser-act-skill-forge
6.3kMembantu agent Anda menjelajahi sebuah situs web sekali dan menyimpan skill yang bisa dipakai ulang beserta skripnya, sehingga pengambilan data dari situs itu nanti lebih cepat.
browser-act
6.3kMembantu agent Anda menjalankan alat otomasi browser untuk membuka halaman, membaca konten yang sudah dirender, mengisi formulir, mengambil tangkapan layar, dan mengelola sesi yang sudah masuk.
1688-product-detail
6.3kMembantu agent Anda mengambil detail produk dari halaman grosir 1688.com, seperti tingkat harga, varian, statistik penjual, dan atribut.
airbnb-listing-detail
6.3kMembantu agent Anda mengambil detail publik sebuah listing Airbnb berdasarkan ID-nya, seperti foto, fasilitas, rating, dan aturan rumah.
Skill serupa
tavily
394kMembantu agent Anda mencari di web dengan Tavily dan mengambil teks dari halaman web tertentu, dengan opsi kedalaman, domain, dan tanggal.
blogwatcher
394kMemungkinkan agent Anda mengikuti blog dan feed RSS atau Atom, memeriksanya untuk artikel baru, dan menandai artikel yang sudah Anda baca.
data-scraper-agent
280kMembantu agent mengumpulkan data otomatis dari sumber publik. Bisa dijadwalkan, memperkaya informasi, dan menyimpan hasil. Berguna untuk memantau data online.