linkfox-sorftime-walmart-keyword-research
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWalmart 关键词研究
Walmart 关键词研究
Use one Sorftime endpoint to research Walmart US keywords or explicitly manage the saved-keyword library.
通过一个Sorftime端点研究Walmart美国站关键词,或明确管理已保存关键词库。
Core Concepts
核心概念
- Send exactly one per request. Never run multiple keyword operations as an automatic discovery chain.
operation - Use a flat JSON body. The only business nesting is the optional object for
pattern.marketQuery - values are case-sensitive. A different operation, page, or filter is another paid call.
operation - and
favoriteAddmutate external account data and require an explicit, unambiguous user request.favoriteChange
- 每个请求仅发送一个。切勿将多个关键词操作作为自动发现链运行。
operation - 使用扁平JSON请求体。唯一的业务嵌套是可选的
marketQuery对象。pattern - 值区分大小写。不同的操作、页码或筛选条件会产生额外付费调用。
operation - 和
favoriteAdd会修改外部账户数据,需要用户明确、无歧义的请求。favoriteChange
Operation Routing
操作路由
| Intent | operation | Required input | Sorftime Request |
|---|---|---|---|
| Filter current hot keywords | | None; filters optional | 5 |
| Find hot keywords from a name | | | 1 |
| Find products for a hot keyword | | | 5 |
| Inspect keyword metrics | | | 1 |
| Find a product's associated keywords | | | 1 |
| Expand related keywords | | | 5 |
| Add a saved keyword | | | 1 |
| Delete or move a saved keyword | | | 0 |
| List saved keywords or folders | | | 1 |
Read for the complete conditional parameter matrix before calling.
references/api.md| 意图 | operation | 必填输入 | Sorftime 请求次数 |
|---|---|---|---|
| 筛选当前热门关键词 | | 无;可选筛选条件 | 5 |
| 通过名称查找热门关键词 | | | 1 |
| 查找热门关键词对应的商品 | | | 5 |
| 查看关键词指标 | | | 1 |
| 查找商品的关联关键词 | | | 1 |
| 扩展相关关键词 | | | 5 |
| 添加已保存关键词 | | | 1 |
| 删除或移动已保存关键词 | | | 0 |
| 列出已保存关键词或文件夹 | | | 1 |
调用前请阅读获取完整的条件参数矩阵。
references/api.mdParameter Guide
参数指南
- : optional
marketQuery,pattern.keyword, andpattern.rankCondition;pattern.searchVolumeConditiondefaults to 1 andpageIndexto 20 (20–200).pageSize - A one-value condition such as is a lower bound.
[10000]follows Sorftime's documented less-than-10000 semantics.[0,10000] - :
searchByNameis a product or category name;namedefaults to 1, and Sorftime returns at most 200 rows per page.pageIndex - ,
searchProducts, andproductKeywords: pagination defaults to page 1 and 20 rows, maximum 200.relatedKeywords - exposes
favoriteList(default 1); the backend maps it to Sorftime's upstreampageIndexfield.Page
- :可选
marketQuery、pattern.keyword和pattern.rankCondition;pattern.searchVolumeCondition默认值为1,pageIndex默认值为20(范围20–200)。pageSize - 单值条件如表示下限。
[10000]遵循Sorftime文档中“小于10000”的语义。[0,10000] - :
searchByName为商品或分类名称;name默认值为1,Sorftime每页最多返回200行数据。pageIndex - 、
searchProducts和productKeywords:分页默认值为第1页、20行,最多200行。relatedKeywords - 支持
favoriteList(默认值为1);后端会将其映射到Sorftime上游的pageIndex字段。Page
调用方式
调用方式
- API 端点:(完整参数/响应/错误码见
POST /sorftime/walmart/keywordResearch)references/api.md - Python 脚本:
python scripts/sorftime_walmart_keyword_research.py '<JSON 参数>' [--inline] - 成本约束:本工具会消耗积分;只读研究操作对同一参数组合使用 24h 本地缓存,、
favoriteAdd、favoriteChange始终绕过缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。favoriteList
输出策略(脚本默认行为):
- 始终将完整响应写入 (
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-sorftime-walmart-keyword-research-<timestamp>.json为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<cwd>取自环境变量<session>,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)SESSION_ID - 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 /
total、最大列表字段的长度 + 前 3 条样本)costToken - 加 强制全量打印到 stdout(同样落盘)
--inline
读数据建议:先看摘要判断是否足够;需要具体字段时优先用 或 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
jqConvertFrom-Json- API 端点:(完整参数/响应/错误码见
POST /sorftime/walmart/keywordResearch)references/api.md - Python 脚本:
python scripts/sorftime_walmart_keyword_research.py '<JSON 参数>' [--inline] - 成本约束:本工具会消耗积分;只读研究操作对同一参数组合使用 24h 本地缓存,、
favoriteAdd、favoriteChange始终绕过缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。favoriteList
输出策略(脚本默认行为):
- 始终将完整响应写入 (
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-sorftime-walmart-keyword-research-<timestamp>.json为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<cwd>取自环境变量<session>,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)SESSION_ID - 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 /
total、最大列表字段的长度 + 前 3 条样本)costToken - 加 强制全量打印到 stdout(同样落盘)
--inline
读数据建议:先看摘要判断是否足够;需要具体字段时优先用 或 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
jqConvertFrom-Json解决认证和积分问题
解决认证和积分问题
发生以下异常情况时,采用 引导解决问题:
references/onboarding.md- 未配置 API Key:环境变量未配置 ,也未配置
LINKFOX_AGENT_API_KEYLINKFOXAGENT_API_KEY - 响应 401 或 402 状态码
- 响应提示积分或余额不足:消息含“积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值”或类似含义
发生以下异常情况时,采用 引导解决问题:
references/onboarding.md- 未配置 API Key:环境变量未配置 ,也未配置
LINKFOX_AGENT_API_KEYLINKFOXAGENT_API_KEY - 响应 401 或 402 状态码
- 响应提示积分或余额不足:消息含“积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值”或类似含义
Keyword Library Safety
关键词库安全
- Add to the default “未分类” folder by omitting ; a provided folder may be created by Sorftime.
dict - Delete with . Omitting
command="del"deletes the keyword from every folder, so explicitly confirm that scope.dict - Move with . Omitting
command="move=<目标目录>"means the source is “未分类”.dict - List with equal to
command,all, ordict.dict=<目录> - If an explicitly authorized mutation truly must be repeated after external state changed, use ; never use it to bypass the confirmation guard.
--no-cache - ,
favoriteAdd, andfavoriteChangealways bypass the local cache, so mutations are never suppressed and list results reflect the latest upstream state.favoriteList
- 省略时,关键词会添加到默认的“未分类”文件夹;指定的文件夹可能由Sorftime创建。
dict - 使用进行删除操作。省略
command="del"会从所有文件夹中删除该关键词,因此需明确确认操作范围。dict - 使用进行移动操作。省略
command="move=<目标目录>"表示源目录为“未分类”。dict - 使用值为
command、all或dict进行列表查询。dict=<目录> - 如果外部状态变更后确实需要重复执行已授权的修改操作,请使用;切勿用它绕过确认机制。
--no-cache - 、
favoriteAdd和favoriteChange始终绕过本地缓存,因此修改操作不会被抑制,列表结果会反映最新的上游状态。favoriteList
Usage Examples
使用示例
bash
python scripts/sorftime_walmart_keyword_research.py '{"operation":"marketQuery","pattern":{"keyword":"wireless","searchVolumeCondition":[10000]},"pageIndex":1,"pageSize":20}'
python scripts/sorftime_walmart_keyword_research.py '{"operation":"detail","keyword":"wireless earbuds"}'
python scripts/sorftime_walmart_keyword_research.py '{"operation":"productKeywords","productId":"5169493923","pageIndex":1,"pageSize":20}'
python scripts/sorftime_walmart_keyword_research.py '{"operation":"favoriteList","command":"dict","pageIndex":1}'Run mutation operations only after explicit authorization.
bash
python scripts/sorftime_walmart_keyword_research.py '{"operation":"marketQuery","pattern":{"keyword":"wireless","searchVolumeCondition":[10000]},"pageIndex":1,"pageSize":20}'
python scripts/sorftime_walmart_keyword_research.py '{"operation":"detail","keyword":"wireless earbuds"}'
python scripts/sorftime_walmart_keyword_research.py '{"operation":"productKeywords","productId":"5169493923","pageIndex":1,"pageSize":20}'
python scripts/sorftime_walmart_keyword_research.py '{"operation":"favoriteList","command":"dict","pageIndex":1}'仅在获得明确授权后执行修改操作。
Display Rules
展示规则
- State the selected operation and show and
requestConsumedwhen returned.costToken - Preserve metric meanings and observation windows; do not turn estimates into guaranteed demand or sales.
- Report the requested page and offer another only after explaining that it creates another paid call.
- Treat product IDs and keywords as strings.
- For mutations, report the returned data code; HTTP 200 alone does not prove mutation success.
- 说明所选操作,返回时显示和
requestConsumed。costToken - 保留指标含义和观察窗口;不要将估算值转化为确定的需求或销量。
- 报告请求的页码,仅在说明会产生额外付费调用后,才提供下一页的选项。
- 将商品ID和关键词视为字符串处理。
- 对于修改操作,报告返回的数据代码;仅HTTP 200状态码不能证明修改操作成功。
Important Limitations
重要限制
- This integration targets Walmart US only.
- Current-hot-keyword data, the 15-day product window, and the 30-day product-keyword window are Sorftime constraints.
- A single saved-keyword folder supports at most 2,000 keywords.
- The API saved-keyword library is separate from Sorftime Professional favorites; data is not synchronized between them.
- Read the Sorftime business response from ; its JSON shape varies by operation.
data.value - Empty results must not trigger automatic variants, pagination, or related-keyword calls.
- This skill excludes Sorftime Walmart “其他” APIs.
- 本集成仅针对Walmart美国站。
- 当前热门关键词数据、15天商品窗口和30天商品关键词窗口是Sorftime的限制条件。
- 单个已保存关键词文件夹最多支持2000个关键词。
- API已保存关键词库与Sorftime Professional收藏夹相互独立;两者数据不同步。
- 从读取Sorftime业务响应;其JSON结构因操作而异。
data.value - 空结果不得触发自动变体查询、分页或相关关键词调用。
- 本技能不包含Sorftime Walmart“其他”API。
User Expression & Scenario Quick Reference
用户表述与场景速查
Applicable: Walmart keyword discovery, keyword metrics, product-to-keyword research, related terms, or an explicit saved-keyword-library action.
Not applicable: category-market reports, product detail/trend analysis, or any Sorftime Walmart “其他” capability.
Boundary judgment: Choose exactly one operation that matches the user's stated intent; never turn one keyword request into an automatic multi-step research chain.
适用场景:Walmart关键词挖掘、关键词指标分析、商品到关键词的研究、相关术语查询,或明确的已保存关键词库操作。
不适用场景:分类市场报告、商品详情/趋势分析,或任何Sorftime Walmart“其他”功能。
边界判断:选择与用户明确意图完全匹配的一个操作;切勿将一个关键词请求转化为自动多步研究链。
积分消耗规则
积分消耗规则
按动态规则计费:消耗积分 = Sorftime内部查询次数 × 12。Sorftime内部查询次数:不同 operation 需要的查询次数可能不同,实际次数由 Sorftime 决定。
用户会因积分消耗而支付费用。高消耗筛选、扩展词或连续分页前必须提醒用户;任何收藏变更都须明确授权。
Feedback:
Auto-detect and report feedback via the Feedback API when behavior or results mismatch intent, the user expresses praise or dissatisfaction, or an improvement is apparent. Follow without interrupting the user's flow.
references/api.mdFor more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.
按动态规则计费:消耗积分 = Sorftime内部查询次数 × 12。Sorftime内部查询次数:不同 operation 需要的查询次数可能不同,实际次数由 Sorftime 决定。
用户会因积分消耗而支付费用。高消耗筛选、扩展词或连续分页前必须提醒用户;任何收藏变更都须明确授权。
反馈机制:
当行为或结果与意图不符、用户表达赞扬或不满,或存在明显改进空间时,通过Feedback API自动检测并提交反馈。遵循的要求,且不中断用户流程。
references/api.md如需更多高质量、专业的跨境电商技能,请访问LinkFox Skills.