Linkfox Amazon Search
模拟真实用户在亚马逊前台搜索,获取实时关键词排名和搜索结果页数据。当用户提到亚马逊商品搜索、搜索结果抓取、关键词在搜索页的排名、ASIN排名位置查询、竞品发现、搜索页价格对比、广告商品分析、新品…
by linkfox-ai · MIT
The skill
模拟真实用户在亚马逊前台搜索,获取实时关键词排名和搜索结果页数据。当用户提到亚马逊商品搜索、搜索结果抓取、关键词在搜索页的排名、ASIN排名位置查询、竞品发现、搜索页价格对比、广告商品分析、新品监控、前台搜索模拟、Amazon search, keyword ranking, search results, ASIN ranking position, competitor discovery, price comparison, sponsored product analysis, real-time search, new product monitoring时触发此技能。即使用户未明确提及"搜索模拟",只要其需求涉及实时亚马逊搜索结果、商品排位数据或前台SERP分析,也应触发此技能。
Amazon Product Search
This skill guides you on how to perform Amazon storefront search simulations, helping Amazon sellers retrieve real-time search result data including product rankings, prices, ratings, and more.
Core Concepts
This tool simulates a real user searching on Amazon's storefront. It returns live search result page (SERP) data: product listings with their positions, prices, ratings, review counts, brands, delivery info, sponsored flags, and more. This is real-time data directly from the Amazon frontend, not historical analytics.
Key distinction from ABA data: ABA data is aggregated historical search term analytics. This tool returns the actual product listings a user would see when searching a keyword on Amazon right now.
Keyword language: Keywords should be in the language of the target marketplace. For example, use English keywords for amazon.com, German keywords for amazon.de, Japanese keywords for amazon.co.jp, etc.
卖家精灵销量数据开关(重要)
includeSellerSpriteData 控制是否使用卖家精灵补全竞品数据,每次调用都必须显式传入:
- 默认传
false:只返回 Amazon 前台搜索数据,不调用卖家精灵。 - 当用户需要商品月销量、月销售额、品牌、卖家数量、履约方式或其他卖家精灵竞品字段时,必须向用户说明可启用
includeSellerSpriteData,并在调用时传true。 - 传
true会产生额外的动态积分消耗;启用前应明确提醒用户,费用随成功补全的批次数变化。 - 不得因为用户只说“找竞品”就自动开启;只有需求包含上述卖家精灵补全数据,或用户明确要求启用时,才传
true。
需要销量数据的调用示例:
{"keyword": "neck massager", "amazonDomain": "amazon.com", "includeSellerSpriteData": true}
Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
| keyword | string | No | Search keyword (translate to the target marketplace's language) | - |
| amazonDomain | string | No | Amazon marketplace domain | amazon.com |
| node | string | No | Amazon category node ID for category-scoped searches | - |
| language | string | No | Language locale code (e.g., en_US, de_DE, ja_JP) | - |
| sort | string | No | Sort order for results | relevanceblender |
| page | integer | No | Page number (starting from 1, ~20 results per page) | 1 |
| deliveryZip | string | No | Postal/zip code for delivery location simulation | - |
| device | string | No | Device type: desktop, mobile, or tablet | desktop |
| includeSellerSpriteData | boolean | Yes | 高级参数:每次调用必须显式传入。true 时调用卖家精灵补全销量、销售额、品牌、履约等竞品数据,并产生额外动态算力消耗;不需要补全时传 false |
false(仅服务端兜底) |
Supported Marketplaces
| Domain | Country |
|---|---|
| amazon.com | United States |
| amazon.co.uk | United Kingdom |
| amazon.de | Germany |
| amazon.fr | France |
| amazon.it | Italy |
| amazon.es | Spain |
| amazon.co.jp | Japan |
| amazon.ca | Canada |
| amazon.com.au | Australia |
| amazon.com.br | Brazil |
| amazon.in | India |
| amazon.nl | Netherlands |
| amazon.se | Sweden |
| amazon.pl | Poland |
| amazon.sg | Singapore |
| amazon.sa | Saudi Arabia |
| amazon.ae | United Arab Emirates |
| amazon.com.mx | Mexico |
| amazon.com.tr | Turkey |
| amazon.com.be | Belgium |
| amazon.cn | China |
| amazon.eg | Egypt |
Default marketplace is amazon.com. Use amazon.com when the user doesn't specify a marketplace.
Sort Options
| Value | Description |
|---|---|
| relevanceblender | Featured / Relevance (default) |
| price-asc-rank | Price: Low to High |
| price-desc-rank | Price: High to Low |
| review-rank | Average Customer Review |
| date-desc-rank | Newest Arrivals |
| exact-aware-popularity-rank | Best Sellers |
调用方式
- API 端点:
POST /amazon/search(完整参数/响应/错误码见references/api.md) - Python 脚本:
python scripts/amazon_search.py '<JSON 参数>' [--inline] - 成本约束:本工具会消耗算力;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-search-<timestamp>.json(<cwd>为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session>取自环境变量SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错) - 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如
total/costToken、最大列表字段的长度 + 前 3 条样本) - 加
--inline强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
解决认证和算力问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
异常情况
- 未配置API Key:环境变量未配置
LINKFOX_AGENT_API_KEY,也未配置LINKFOXAGENT_API_KEY。 - 响应401或402状态码
- 响应提示算力或余额不足:消息含"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
How to Build Queries
Construct the request parameters based on the user's intent:
- Determine the marketplace: Map the user's target country to the correct
amazonDomainvalue - Set the keyword: Translate the search term into the target marketplace's language
- Choose sort order: If the user wants results sorted by price, reviews, or newness, set the
sortparameter - Pagination: Use the
pageparameter to fetch additional result pages if needed - Category scope: If the user wants to search within a specific category, provide the
nodeparameter - Delivery simulation: Use
deliveryZipto see location-specific availability and delivery info - SellerSprite enrichment: 每次调用必须显式传入
includeSellerSpriteData。只有用户明确要求卖家精灵数据、月销量、销售额、品牌、履约等补全字段时才传true,并提前说明会增加动态算力消耗;其他情况必须传false
Usage Examples
1. Basic keyword search on US marketplace
{"keyword": "wireless earbuds", "amazonDomain": "amazon.com", "includeSellerSpriteData": false}
2. Search on German marketplace with German keyword
{"keyword": "kabellose Kopfhoerer", "amazonDomain": "amazon.de", "language": "de_DE", "includeSellerSpriteData": false}
3. Search sorted by price (low to high)
{"keyword": "phone case", "amazonDomain": "amazon.com", "sort": "price-asc-rank", "includeSellerSpriteData": false}
4. Search for best sellers in a category
{"keyword": "yoga mat", "amazonDomain": "amazon.com", "sort": "exact-aware-popularity-rank", "includeSellerSpriteData": false}
5. Search for newest arrivals on Japan marketplace
{"keyword": "USB充電器", "amazonDomain": "amazon.co.jp", "language": "ja_JP", "sort": "date-desc-rank", "includeSellerSpriteData": false}
6. Multi-page search to analyze deeper results
{"keyword": "laptop stand", "amazonDomain": "amazon.com", "page": 2, "includeSellerSpriteData": false}
7. Mobile device search simulation
{"keyword": "running shoes", "amazonDomain": "amazon.com", "device": "mobile", "includeSellerSpriteData": false}
8. Category-scoped search with delivery zip
{"keyword": "office chair", "amazonDomain": "amazon.com", "deliveryZip": "10001", "includeSellerSpriteData": false}
9. 高级查询:启用卖家精灵数据补全
{"keyword": "neck massager", "amazonDomain": "amazon.com", "includeSellerSpriteData": true}
Display Rules
- Present data clearly: Show search results in well-structured tables with key fields: position, ASIN, title, price, rating, review count, brand
- Highlight sponsored products: Clearly mark which results are sponsored ads vs organic listings
- Price formatting: Display prices with the correct currency symbol for the marketplace
- Position context: Remind users that position reflects the actual ranking on the search result page
- Pagination notice: When results span multiple pages, inform the user how many total results were found and suggest fetching additional pages if needed
- Error handling: When a query fails, explain the reason based on the error response and suggest adjusting parameters
- Image links: If image URLs are available, mention them but do not attempt to render them inline unless the user requests it
Important Limitations
- Real-time only: This tool returns live search results, not historical data. For historical search term analytics, use ABA data instead
- Rate awareness: Each call simulates a real search request; avoid excessive rapid-fire calls
- ~20 results per page: Each page returns approximately 20 product listings
- Keyword language matters: Results quality depends on using the correct language for the target marketplace
User Expression & Scenario Quick Reference
Applicable -- Real-time Amazon search result queries:
| User Says | Scenario |
|---|---|
| "Search for XX on Amazon" | Basic product search |
| "What products appear for keyword XX" | Keyword SERP analysis |
| "Where does my ASIN rank for XX keyword" | Position / ranking check |
| "Show me the top results for XX" | Competitive landscape |
| "What's the price range for XX" | Price comparison |
| "Any sponsored products for XX keyword" | Sponsored ad analysis |
| "New products for XX keyword" | New arrival monitoring |
| "Search XX on Amazon Germany/Japan/UK" | Cross-marketplace search |
| "What are the best sellers for XX" | Best seller discovery |
| "Compare search results on mobile vs desktop" | Device-specific SERP |
Not applicable -- Needs beyond real-time search results:
- Historical search term volume or ranking trends (use ABA data)
- Advertising campaign management or bid optimization
- Product review analysis or sentiment analysis
- Sales estimation or revenue analytics
- Listing optimization or copywriting suggestions
- Inventory or supply chain data
Boundary judgment: When users say "product research" or "competitor analysis", if it boils down to seeing what currently appears on Amazon search results for a keyword (product positions, prices, ratings), then this skill applies. If they want historical trends, search volume data, or aggregated analytics, ABA data is more appropriate.
算力消耗规则
算力动态计算:
Amazon 搜索基础 costToken(20000)
+ 实际成功执行的卖家精灵补全批次 costToken 之和
- Skill 调用必须显式传入
includeSellerSpriteData;不需要卖家精灵补全时传false,此时仅产生 Amazon 搜索基础消耗。服务端为兼容旧调用仍保留缺省值false。 - 开启后,搜索结果按批次调用卖家精灵,成功批次返回的
costToken会逐批累加;最终消耗以响应中的顶层costToken为准。 - 失败且未返回
costToken的卖家精灵批次不追加算力。 - 多页搜索中每一页都是独立请求,会分别计算算力。
用户会因算力消耗而支付费用。请充分评估:当需要高频调用本技能,或用户对算力消耗量预期不足时,务必提醒用户,由用户决定是否继续。
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 references/api.md. Do not interrupt the user's flow.
For more high-quality, professional cross-border e-commerce skills, set LinkFox Skills.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: linkfox-ai/linkfox-amazon-search-65379062598.
Details
- Publisher
- linkfox-ai
- Category
- Business › SEO & copywriting
- License
- MIT
- Updated
- 2026-10-16
References
More from linkfox-ai
- Linkfox 1688 Procurement 1688采购全流程技能。用于1688授权链接、授权店铺检查、收货地址、商品SKU、下单预览、创建订单、支付链接、订单状态、物流、物流轨迹、取消订单、确认收货、开发票等已授权采购履约场景。用户提到…
- Linkfox 1688 Product Detail 1688 商品详情查询。通过 offerId 获取商品标题、属性、SKU/库存、1 件零售价、2 件及以上批发阶梯价、外币价、起批量、图片/视频、物流包装、供应商服务、混批、发票与证书等采购信息…
- Linkfox 1688 Search By Image 1688平台以图搜图,通过商品图片精准检索外观相似或同款的1688货源,返回标题、价格、起批量、月销量、复购率、交易评分等核心数据。当用户提到1688以图搜图、1688找货源、以图找同款、跨境找…
- Linkfox Aba Intelligent Query 亚马逊ABA(品牌分析)搜索词数据的查询与分析,涵盖15个站点近3年的周维度数据。当用户提到ABA数据、亚马逊搜索词分析、关键词挖掘、搜索排名趋势、市场机会分析、季节性关键词、高点击低转化分析、…