This skill extracts weekly search‑term rankings from Amazon Brand Analytics via the public AMZ123 site. It returns a CSV (or JSON) containing the keyword, current week rank, last week rank, and trend (up/down/flat/new).
scripts/amz_scraper.py launches a headless Selenium Chrome session, navigates to AMZ123, searches the keyword, and scrapes up to 200 related terms.amz123_hotwords_<keyword>_<timestamp>.csv (or .json).bash
# Basic usage – CSV output
python3 $(pwd)/scripts/amz_scraper.py --keyword "dog bed"
# Limit results to 100 entries and specify output folder
python3 $(pwd)/scripts/amz_scraper.py \
--keyword "yoga mat" \
--max-results 100 \
--output-dir ./data
FlagRequiredDescriptionDefault--keywordYesSearch term to seed the scrape---max-resultsNoMax number of keywords to collect (max 200)200--output-dirNoDirectory for the CSV/JSON filecurrent directory--formatNocsv or json (default csv)--headlessNoRun Chrome headlessly ( true/ false)true
references/workflow.md for a step‑by‑step guide and troubleshooting tips.references/output.md for the exact CSV column order and JSON schema.The scraper implementation lives in scripts/amz_scraper.py.
Created by Simon Cai · More e-commerce skills: github.com/simoncai519/open-accio-skill