Extract structured product details and image links from Amazon.com product pages without using cookies. Use when the user provides an Amazon URL or ASIN and asks for product metadata, pricing context, variations, specifications, or gallery image URLs in JSON format.
Extract Amazon product information from a product URL or ASIN and return normalized JSON.
Run the extractor:
python scripts/amazon_extract.py "<amazon_url_or_asin>" --pretty
Examples:
python scripts/amazon_extract.py "https://www.amazon.com/dp/B0FTTF3RB5" --pretty
python scripts/amazon_extract.py "B0FSMZ57LP" --pretty
python scripts/amazon_extract.py "B0FSMZ57LP" --output /tmp/amazon.json --pretty
python scripts/amazon_extract.py "B0FSMZ57LP" --error-json --pretty
python scripts/amazon_extract.py "B0FSMZ57LP" --extract-script /home/ubuntu/.codex/skills/extract/scripts/extract.sh --pretty
python scripts/amazon_extract.py "B0FSMZ57LP" --no-verify-main-image --pretty
https://www.amazon.com/dp/<ASIN> when possible.extract skill script for Tavily-assisted extraction and merge fields.See references/schema.md for full field definitions and status semantics.
Top-level fields include:
schema_versionstatus (success, partial_success, error)asincanonical_urlproduct, offer, content, specs, media, variant, ratingdiagnostics (confidence, missing fields, error code)Common diagnostics.error_code values:
BLOCKED_BY_BOTCAPTCHA_REQUIREDNOT_FOUNDPARTIAL_SUCCESSEXTRACTION_FAILEDextract/Tavily fallback automatically unless --no-extract-fallback is set.--extract-script, env AMAZON_EXTRACT_EXTRACT_SCRIPT, sibling ../extract/scripts/extract.sh, default absolute path.media.product_main_image prioritizes hi-res Amazon hero image variants (for example _AC_SL1500_).media.product_images stores the main product gallery image set.media.other_images stores other captured image URLs after filtering.offer includes seller, sold_by, and ships_from when available.diagnostics.main_image_verified indicates whether the selected main image URL passed reachability verification.status, confidence, and missing_fields for downstream decisions.Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer