Sorftime Product Detail
This skill guides you on how to query Amazon product detail and historical trend data by ASIN via Sorftime, helping Amazon sellers analyze product performance, pricing strategy, and competitive positioning.
Core Concepts
Sorftime Product Detail provides comprehensive product-level data by ASIN, with historical trend data going back to 2021. It covers sales volume & revenue trends, price & promotion tracking, multi-level BSR ranking history, and real-time profit analysis with FBA fee breakdown.
Key differentiator: This tool returns trend/time-series data for individual products. If you need to search/filter products across a category, brand, or seller, use the Sorftime Product Search skill instead.
Data Fields
Response data covers the following categories (see
for complete field reference):
- Basic info: title, brand, ASIN, listing URL, images (main + A+), store name, bullet points, product badges, off-sale status, last update date, weight, size
- Variations: parent ASIN, variation count, child ASINs, variation attributes
- Pricing & profit: sale price, coupon, platform fee, FBA fees (with detail breakdown), FBM shipping cost, profit amount & rate
- Sales: official monthly sales (Amazon-published)
- Rankings: BSR rank, category tree, sub-category rankings, listing date, days online
- Ratings: rating score, rating count, star distribution (1-5 star percentages)
- Seller: Buybox seller name/ID/country, FBA status, seller count
- Listing features: A+ content, video, brand store, feature ratings, product info, properties
- Promotions: brand promotion, deal type, extra savings
- Trends (time-series): BSR rank, sub-BSR rank, daily/monthly sales volume, daily/monthly revenue, price, list price, deal status
Supported Marketplaces
US (United States), GB (United Kingdom), DE (Germany), FR (France), IN (India), CA (Canada), JP (Japan), ES (Spain), IT (Italy), MX (Mexico), AE (United Arab Emirates), AU (Australia), BR (Brazil), SA (Saudi Arabia)
Default marketplace is
US. Use
when the user doesn't specify a marketplace.
Note: Sorftime uses lowercase codes (e.g.,
,
,
), and UK is coded as
(not
).
调用方式
- API 端点:
POST /sorftime/amazon/productDetail
(完整参数/响应/错误码见 )
- Python 脚本:
python scripts/sorftime_product_detail.py '<JSON 参数>' [--inline]
- 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-sorftime-amazon-product-detail-<timestamp>.json
( 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录; 取自环境变量 ,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
- 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 /、最大列表字段的长度 + 前 3 条样本)
- 加 强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用
或
从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
解决认证和积分问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
异常情况
- 未配置API Key:环境变量未配置 ,也未配置 。
- 响应401或402状态码
- 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
How to Build Queries
The key parameters are
and
(both required), plus optional trend date range controls.
Principles for Building Queries
- Always specify the marketplace: Use lowercase site codes, e.g., , ,
- Choose trend inclusion carefully: Default includes trends (last 15 days). Set if only basic product info is needed - this saves cost and speeds up response
- Specify date range for historical analysis: Use and (yyyy-MM-dd) when users need trends beyond the default 15 days. Be aware this costs double
- Batch ASINs when comparing: Up to 10 ASINs can be queried at once, comma-separated - use this for competitive comparison rather than calling one at a time
Query Examples for Common Scenarios
1. Quick product check (default 15-day trend)
asin: B00FLYWNYQ, marketplace: us
2. Long-range trend analysis (specify dates)
asin: B00FLYWNYQ, marketplace: us
queryTrendStartDate: 2025-01-01, queryTrendEndDate: 2025-03-31
3. Batch ASIN comparison
asin: B0088PUEPK,B00U26V4VQ,B0CVM8TXHP, marketplace: us
4. Product info only, no trends
asin: B0088PUEPK, marketplace: us, includeTrend: 2
5. BSR ranking history (German market)
asin: B00FLYWNYQ, marketplace: de
queryTrendStartDate: 2024-06-01, queryTrendEndDate: 2025-01-01
Trend Data Interpretation
Trend arrays use an interleaved format: even indices are dates, odd indices are values.
[20250101, 150, 20250102, 180, 20250103, 165, ...]
^date ^val ^date ^val ^date ^val
- Sales volume/revenue trends: value of means "cannot estimate" (e.g., category changed to Amazon Renewed)
- Price trends: units are in local currency smallest unit (cents for USD); means no available price that day
- BSR rank trends: for , format is
[{NodeId: xxx, Rank: [date, rank, ...]}]
per sub-category
- Deal trend: value = has active Deal that day, = no Deal
Display Rules
- Present data only: Show query results in clear tables without subjective business advice
- Ranking clarification: When showing ranking data, remind users that lower values mean better rankings
- Price unit awareness: Trend data uses smallest currency unit (cents for USD). Convert to standard currency when displaying to users
- Sales estimation caveat: Values of in sales/revenue fields mean "cannot estimate" - explain this to the user rather than showing -1 directly
- Trend visualization: When showing trend data, present key data points in a readable table rather than dumping raw arrays
- Off-sale handling: When is true, clearly inform the user the product is currently unavailable/off-sale
- Error handling: When a query fails, explain the reason based on the field and suggest adjusting query criteria
Important Limitations
- Max 10 ASINs per query
- Trend cost: Default returns last 15 days; querying > 15 days costs double
- Non-structured data: Results do not support secondary analysis via
_dataQuery_executeDynamicQuery
- Sales estimation: Products in non-standard categories (e.g., Amazon Renewed) may return -1 for sales fields
User Expression & Scenario Quick Reference
Applicable - Product detail and trend queries by ASIN:
| User Says | Scenario |
|---|
| "查一下这个ASIN的销量走势" | Sales trend |
| "这个产品最近价格变化如何" | Price history |
| "帮我看看这个产品的利润空间" | Profit analysis |
| "这个ASIN的BSR排名趋势" | Ranking history |
| "对比一下这几个ASIN的数据" | Multi-ASIN comparison |
| "这个产品的FBA费用是多少" | FBA fee breakdown |
| "产品上架多久了,评分怎么样" | Basic product info |
| "这个产品还在售吗" | Off-sale status check |
| "这个产品有没有Deal促销记录" | Deal history |
| "看看这个产品的变体信息" | Variation details |
Not applicable - Needs beyond single-product detail:
- Searching/filtering products across a category or brand (use Sorftime Product Search)
- ABA search term ranking data (use ABA Data Explorer)
- Advertising / PPC strategy
- Product reviews content analysis
- Patent or trademark checks
Boundary judgment: When users say "product analysis" or "competitor comparison", if it boils down to checking specific ASINs' detail data and trend curves, then this skill applies. If they're asking to discover or filter products across a market, it does not apply.
积分消耗规则
按动态规则计费:消耗积分 = Sorftime内部查询次数 × 12。Sorftime内部查询次数:不同查询条件需要的查询次数可能不同,该次数由Sorftime决定。
重要:本技能的服务按倍数动态计算,可能一次性消耗大量积分,必须提醒用户,由用户决定是否继续。
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
- The functionality or purpose described in this skill does not match actual behavior
- The skill's results do not match the user's intent
- The user expresses dissatisfaction or praise about this skill
- Anything you believe could be improved
Call the feedback API as specified in
. Do not interrupt the user's flow.
For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.