Back to skills
amazon-orders
by pfernandez98
Shopping & E-commerce—Not yet rated
Your rating
Brief
Download and query your Amazon order history via an unofficial Python API and CLI.
Description
What This Skill Does
Downloads and queries Amazon.com order history using an unofficial scraper-based Python package. Supports year-based and time-filtered lookups, full order details, and CLI or library usage. Works with MFA via TOTP secret key.
When to Use It
- Pulling last 30 days of Amazon orders to review spending
- Exporting a full year of order history to JSON
- Searching for a specific past order by checking recent history
- Automating order tracking with environment variable credentials
- Getting full order details including item-level breakdowns
Example Workflow
INPUT
User asks: "How much did I spend on Amazon last month?"
AGENT
- 1
Runs amazon-orders history --last-30-days --full-details
- 2
Parses the output for order totals
- 3
Sums up the grand_total across all orders
OUTPUT
12 orders totaling $847.32 in the last 30 days
Requirements
- Amazon.com account credentials (username, password)
- AMAZON_OTP_SECRET_KEY for MFA-enabled accounts
Installation
clawhub install pfernandez98/amazon-ordersRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.