Installs into .claude/skills of the current project.
Are you the author of Wenmai Keepa Product History?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/wenmai-ai-wenmai-keepa-product-history)
---
name: wenmai-keepa-product-history
description: "Keepa 商品历史接口,用于按 Amazon ASIN 查询价格、BSR、Buy Box、报价、评分、评论数、卖家数量和月销量等时间序列。当用户提到 Keepa 历史、价格走势、BSR 趋势、Buy Box 变化、销量历史、评论增长或 ASIN 时间序列时触发此技能。只要用户需要判断 Amazon 商品在一段时间内的变化趋势,也应触发此技能。"
metadata:
author: wenmai-ai
version: "1.0.0"
---
# Wenmai Keepa Product History
## Purpose
Use this Skill to fetch Keepa 历史数据 data through Wenmai standard API.
The Skill calls exactly one fixed standard API endpoint:
- Endpoint: `POST /wmapi/v1/keepa/get-keepa-product-history`
- Auth: Header `secret-key: $WENMAI_API_KEY`
- Script: `scripts/keepa_product_history.py`
## How To Run
请参考 https://skill.wenmai-ai.com/wenmaiskills/use_guide.html 获取 `secret-key`;额度或余额不足时,按该指南完成充值。运行脚本前,把复制的 key 导出为 `WENMAI_API_KEY`(或 `WENMAI_SECRET_KEY`)。
```bash
export WENMAI_API_KEY=sk-...
python3 scripts/keepa_product_history.py '{"domain": 1, "asin": "B08GHW4TBS", "stats": 90, "history": true, "rating": true}'
```
The script prints the raw Wenmai API response as formatted JSON. Read `references/api.md` when you need parameter details, field meanings, or the exact API payload.
## Parameter Rules
Required top-level fields: `asin`, `domain`.
Default marketplace assumptions: use Amazon US / `US` / domain `1` unless the user specifies another marketplace. Preserve the user's requested time window, ASIN list, keyword, filters, pagination, and sort order.
## Response Rules
Present the returned data in compact tables when the user asks for inspection or comparison. For long arrays, summarize the most decision-relevant rows first, then offer to continue with more rows. Keep raw numbers traceable to the response fields.
If the API response contains an `error` or a non-`OK` `code`, report the message and suggest parameter corrections. Never invent missing data.