Amazon.com, from the command line
amz is a single pure-Go binary that puts every public Amazon surface behind a tool that feels like curl. Look up a product, search the catalog, stream the review corpus, list the buying options, read the bestseller charts, and walk a category tree, then render it as a table, JSON, JSONL, CSV, or TSV.
Pulling structured data out of Amazon usually means a pile of brittle scrapers, one per page type, each breaking the next time a selector moves. amz puts all of it behind one tool with sensible defaults, real output formats, and pipelines that compose.
amz product B084DWG2VQ # one product, fully normalized
amz search "mechanical keyboard" -o jsonl
amz reviews B084DWG2VQ --stars 1 -o csv
amz bestsellers electronics # the live top-100 chart
It reads the public pages on amazon.com over plain HTTPS, so there is nothing
to sign up for to get started. The binary is pure Go with no runtime
dependencies. DuckDB is optional and only used for the local store and crawl
queue; without it, amz still fetches and prints everything.
What you can do with it
- Look up products.
amz productfetches a detail page and normalizes title, brand, price and savings, rating, availability, feature bullets, technical specifications, full-resolution images and videos, breadcrumb, variations, the seller, and every Best Sellers Rank into one record, reading both the JSON-LD block and the HTML. - Search the catalog. Stream result cards with refinements for sort, price range, rating, Prime, brand, and department, page after page.
- Read the social proof. Stream the full review corpus with star, verified, and image filters, and pull the classic question-and-answer pairs.
- Compare offers. List every buying option for an ASIN: seller, condition, price, and shipping.
- Walk the charts and trees. Bestsellers, new releases, movers and shakers, most wished for, and most gifted, plus category browse nodes, brand storefronts, seller profiles, author pages, and today's deals.
Where to go next
- New here? Start with the introduction for the mental model, then the quick start.
- Want to install it? See installation.
- Looking for a specific task? The guides cover products, search, reviews and Q&A, offers, charts, crawling at scale, and a page of recipes.
- Need the exact shape of a record? The data model names every field of every surface.
- Need every flag? The CLI reference is the full surface.