本文へ移動
cccskills
無料GitHub で公開

ecommerce.amazon-product-history

Retrieve Amazon product details by ASIN, including price, title, main image, listing date, material, weight, variant monthly sales, and up to 12 months of monthly sales history. Triggered when users query Amazon product details, ASIN lookup, product pricing, sales rank history, monthly sales trends, product dimensions, FBA fees, product specifications, batch ASIN query, Nexscope product details, ASIN detail lookup, monthly sales data, pricing info, product specifications, FBA fees, batch ASIN query. Even if users do not explicitly mention "Nexscope", this skill should be triggered whenever the task involves obtaining structured product data for one or more Amazon ASINs.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md9.5 KB
  • manifest.json243 B
  • references/api.md8.2 KB
  • scripts/amazon_product_history.py6.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Nexscope Product Data Request

This skill guides you on how to retrieve Amazon product details via the Nexscope product request API, helping Amazon sellers and analysts obtain structured product data for one or more ASINs across multiple Amazon marketplaces.

Core Concepts

The Nexscope Product Request API returns detailed product listing data from Amazon, sourced through Nexscope. Given one or more ASINs and a marketplace, it returns comprehensive product information: pricing, title, Item Highlights (itemHighlights, when available), main image, listing date, material, weight, dimensions, sales rank, monthly sales units (current and up to 12 months of history), FBA fees, ratings, review counts, category tree, and more.

Key points:

  • You can query up to 5 ASINs in a single request by separating them with commas.
  • The domain parameter is a numeric marketplace ID (e.g., 1 = Amazon.com US), not a country code.
  • Setting history to 1 includes historical sales data (monthly sales for up to 12 prior months, average sales rank over 30/90/180 days). Setting it to 0 returns only current product information.
  • products[].itemHighlights is a short product-information string separate from title; it may be null, blank, or absent and requires no extra request parameter.
  • The response does not include full product descriptions or review content. Item Highlights are not bullet points (features) or a full description.

Parameter Guide

domain (Required)

Numeric Amazon marketplace ID. The mapping is:

Domain IDMarketplace
1Amazon.com (US)
2Amazon.co.uk (UK)
3Amazon.de (Germany)
4Amazon.fr (France)
5Amazon.co.jp (Japan)
6Amazon.ca (Canada)
8Amazon.it (Italy)
9Amazon.es (Spain)
10Amazon.in (India)
11Amazon.com.mx (Mexico)
12Amazon.com.br (Brazil)

Default to 1 (US) when the user does not specify a marketplace.

asin (Required)

One or more Amazon Standard Identification Numbers. For multiple ASINs, separate with commas. Maximum 5 ASINs per request, with a total string length limit of 300 characters.

history (Optional)

Whether to include historical data such as monthly sales for the past 12 months and average sales rank over 30/90/180 days. Set to 1 to include history, 0 (default) for basic info only.

Usage Examples

1. Single ASIN lookup (US marketplace, basic info)

{"asin": "B0088PUEPK", "domain": "1"}

2. Single ASIN with historical sales data

{"asin": "B0088PUEPK", "domain": "1", "history": 1}

3. Batch lookup of multiple ASINs (Germany)

{"asin": "B0088PUEPK,B00U26V4VQ,B07M68S376", "domain": "3", "history": 1}

4. Product lookup on Amazon Japan

{"asin": "B09V3KXJPB", "domain": "5", "history": 0}

5. Competitor comparison across multiple ASINs (US, with sales history)

{"asin": "B0CXYZ1234,B0CXYZ5678,B0CXYZ9012,B0CXYZABCD", "domain": "1", "history": 1}

API Invocation

  • API Endpoint: POST /keepa/productRequest (see references/api.md for full parameters/responses/error codes)
  • Python Script: python scripts/amazon_product_history.py '<JSON params>' [--inline]
  • Cost Constraints: This tool consumes credits. The same parameter combination in the same session is only called once by default, with 24h local caching in the script. Failed or empty results should not trigger automatic retries with different keywords, pagination, or postal codes. Inform the user before making additional queries that will incur extra costs.

Output Strategy (default script behavior):

  • Always write the full response to <cwd>/nexscope/<YYYY-MM-DD>/<session>/data/nexscope-keepa-product-request-<timestamp>.json (<cwd> is the working directory at script execution time, which in Claude Code is the current project directory; <session> is taken from the SESSION_ID environment variable, auto-grouped by user task; do not write to /tmp, error out if the current directory is not writable)
  • Response body less than or equal to 8 KB: print the full JSON to stdout after saving to disk
  • Response body greater than 8 KB: after saving, stdout prints only a summary (top-level fields, common counts like total/costToken, length of the largest list field + first 3 samples)
  • Add --inline to force full output to stdout (still saves to disk)

Data Reading Tips: Check the summary first to determine if it is sufficient. When specific fields are needed, use jq or ConvertFrom-Json to extract from the saved JSON file on demand, avoiding loading the entire JSON into context.

Authentication

Set the NEXSCOPE_API_KEY environment variable. If authentication fails (401/402) or you see insufficient balance errors, visit https://www.nexscope.ai/help/skills-external-access?co-from=skillNS to get an API Key or top up credits.

Display Rules

  1. Present data clearly: Show product details in well-structured tables. Group related fields (e.g., dimensions together, sales data together) for readability.
  2. Price and currency: Always display the price alongside its currency (e.g., "$29.99 USD"). The currency field in the response indicates the local currency.
  3. Sales trend: When historical data is included, present the 12-month sales trend in a table or describe the trajectory (growing, declining, stable) to help users quickly assess momentum.
  4. Dimensions and weight: Convert millimeter values to more intuitive units when appropriate (e.g., show both mm and inches, or mm and cm). Note that weight is in grams.
  5. Unavailable data: Fields with value 0 or -1 indicate data is unavailable. Do not display these as actual measurements; instead note "N/A" or omit them.
  6. Image display: If imageUrl is present, display the product image to help users visually identify the product.
  7. Error handling: When a query fails, explain the issue based on the response and suggest corrections (e.g., invalid ASIN format, unsupported marketplace).
  8. Large batch results: For batch queries with many ASINs, present a summary table first and offer to show individual product details on request.
  9. Item Highlights: Read products[].itemHighlights from the full response and display the original value separately from title. If it is missing, null, or blank, label it unavailable; do not reconstruct it from the title, features, or description.

Important Limitations

  • No full product descriptions or reviews: The API may return short Item Highlights, but not full product description text or review content.
  • Item Highlights availability: Do not promise a value for every ASIN; availability depends on upstream data and backend pass-through.
  • Maximum 5 ASINs per request: Batch queries are capped at 5 ASINs.
  • ASIN string length limit: The asin parameter has a maximum length of 300 characters.
  • Historical data is optional: Monthly sales history is only returned when history is set to 1.
  • Data freshness: The lastUpdate field indicates when the product data was last refreshed.

User Expression and Scenario Quick Reference

Applicable -- Product data retrieval by ASIN:

User SaysScenario
"Look up this ASIN", "Get product details for B0XXXXXXXX"Single ASIN lookup
"Get this ASIN's Item Highlights"Retrieve existing itemHighlights separately from title
"What is the price of this product on Amazon"Price query
"How many units does this product sell per month"Monthly sales check
"Compare these ASINs", "batch lookup these products"Multi-ASIN comparison
"Show me the sales trend for this ASIN"Historical sales analysis
"What category is this product in"Category / classification lookup
"Product dimensions", "how much does it weigh"Physical specs query
"FBA fees for this product"Fee estimation
"When was this product listed", "listing date"Listing age / launch date
"Is this product FBA or FBM"Fulfillment method check

Not applicable -- Needs beyond ASIN-level product data:

  • Search term / keyword analysis (use ABA data tools instead)
  • Full product descriptions, review text, or generating new listing copy; retrieving existing itemHighlights is supported
  • Advertising / PPC campaign data
  • Seller account or store-level analytics
  • Product research without specific ASINs (e.g., "find trending products in kitchen category")
  • Price history charts or Buy Box history over time (only current and average rank data are available)

Boundary judgment: When users say "product research" or "competitor analysis", if they have specific ASINs and want structured product data (price, sales, dimensions, category), this skill applies. If they want keyword-level analysis, market-wide trends without specific ASINs, or advertising metrics, this skill does not apply.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Query 1688 product bestseller billboard data for sourcing discovery and wholesale product research. Trigger when the user mentions 1688 product rankings, 1688 bestseller lists, wholesale hot products, domestic sourcing rankings, dropshipping product selection, 1688 trending products, bulk purchase popular items, supplier product rankings, 1688 billboard, 1688 bestsellers, sourcing rankings, wholesale hot products, trending product rankings, supplier rankings, 1688 trends. Even if the user does not explicitly mention "1688 billboard", if their need involves discovering hot-selling wholesale products or sourcing opportunities on the 1688 platform, this skill should also be triggered.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Query 1688 public product details through the Nexscope research proxy. Use when the user requests this public marketplace or patent data; do not use for seller-console or store-authorized operations.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Search and analyze products on the Chinese 1688 wholesale platform (Alibaba domestic B2B market) for sourcing, supplier discovery, and product selection. Trigger when the user mentions 1688 product search, finding suppliers on 1688, wholesale product queries, factory sourcing, dropshipping supplier search, 1688 keyword product selection, wholesale price comparison, filtering by sales volume, any product research on the 1688 platform, 1688 search, 1688 product selection, find suppliers, factory lookup, wholesale pricing, supplier search, domestic sourcing, 1688 products. Even if the user does not explicitly say "1688", if their need involves searching for wholesale products, finding domestic suppliers, or sourcing from the domestic Chinese market, this skill should also be triggered.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Perform image-based product search on the 1688 platform. Use an image URL to find visually similar supplier products, returning title, price, minimum order quantity, monthly sales, repurchase rate, trade score, and seller identity. Triggered when users mention 1688 image search, 1688 visual search, find supplier by image, reverse image search 1688, 1688 product sourcing by image, or Alibaba 1688 image search. Even if the user does not explicitly mention "image search," this skill should be triggered whenever a user provides an image URL and wants to find matching or similar products on the 1688 wholesale platform.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Authorize Amazon Ads accounts and inspect safe connection and profile metadata.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Read and mutate SP, SB, and SD campaigns, ad groups, ads, targeting, and budget rules.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

nexscope-ai のスキルをすべて見る

このスキルの問題を報告する