Skip to content
Back to skills

Wenmai Keepa Product History

ASecurity

Keepa 商品历史接口,用于按 Amazon ASIN 查询价格、BSR、Buy Box、报价、评分、评论数、卖家数量和月销量等时间序列。当用户提到 Keepa 历史、价格走势、BSR 趋势、Buy Box 变化、销量历史、评论增长或 ASIN 时间序列时触发此技能。只要用户需要判断 Amazon 商品在一段时间内的变化趋势,也应触发此技能。

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
documentationpythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add wenmai-ai/wenmai-skills --skill wenmai-keepa-product-history --agent claude-code

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.

Security grade badge for Wenmai Keepa Product History
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenmai-ai-wenmai-keepa-product-history/badge)](https://www.skillsdirectory.com/skills/wenmai-ai-wenmai-keepa-product-history)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md2.1 KB
  • agents/openai.yaml270 B
  • references/api.md3.9 KB
  • scripts/_wenmai_api.py3.9 KB
  • scripts/keepa_product_history.py401 B
  • skill-card.md475 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…