linkfox-youying-shopee-get-product-infos
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese友鹰-Shopee 商品选品
YouYing - Shopee Product Selection
This skill guides you on how to query and filter Shopee product data across 11 marketplaces, helping cross-border sellers discover trending products and market opportunities on Shopee.
This skill guides you on how to query and filter Shopee product data across 11 marketplaces, helping cross-border sellers discover trending products and market opportunities on Shopee.
Core Concepts
Core Concepts
友鹰(YouYing)Shopee 商品选品工具提供 Shopee 全站商品的结构化查询能力。卖家可通过关键词、价格区间、销量、上架时间、店铺属性等多维度条件灵活组合筛选,发现爆款货源与市场机会。
核心数据维度:
- 销量数据:前30天销售件数(sold)、估算前30天销售件数(estimateSold)、商品总销售件数(historicalSold)、前30天销售额(payment)
- 价格数据:默认价(price)、最低价(minPrice)、最高价(maxPrice)
- 店铺数据:店铺名称、是否官方店铺、虾皮优选、本地/海外、跨境/本土
- 商品属性:评分、评分数、收藏数、浏览数、SKU 数量、上架时间、类目结构
YouYing Shopee Product Selection Tool provides structured query capabilities for products across all Shopee sites. Sellers can flexibly combine multi-dimensional filters such as keywords, price ranges, sales volume, listing time, and store attributes to discover best-selling product sources and market opportunities.
Core Data Dimensions:
- Sales Volume Data: Sales in the last 30 days (sold), estimated sales in the last 30 days (estimateSold), total historical sales (historicalSold), sales revenue in the last 30 days (payment)
- Price Data: Default price (price), minimum price (minPrice), maximum price (maxPrice)
- Store Data: Store name, official store status, Shopee Verified status, local/overseas, cross-border/local
- Product Attributes: Rating, number of ratings, number of favorites, number of views, number of SKUs, listing time, category structure
Data Fields
Data Fields
Product Fields (Output)
Product Fields (Output)
| Field | API Name | Description | Example |
|---|---|---|---|
| 商品ID | pid | 商品唯一标识 | 12345678 |
| 商品标题 | title | 商品名称 | Storage Box Organizer |
| 商品描述 | description | 商品详细描述 | ... |
| 商品主图 | imageUrl | 商品主图URL | https://... |
| 商品链接 | productUrl | Shopee商品页面链接 | https://... |
| 默认价 | price | 商品默认价格(当地货币) | 29.90 |
| 最低价 | minPrice | SKU最低价 | 19.90 |
| 最高价 | maxPrice | SKU最高价 | 39.90 |
| 前30天销售件数 | sold | 近30天实际销量 | 1500 |
| 估算前30天销量 | estimateSold | 估算的近30天销量 | 1200 |
| 总销售件数 | historicalSold | 商品累计总销量 | 50000 |
| 前30天销售额 | payment | 近30天销售金额(当地货币) | 45000 |
| 商品评分 | rating | 0-5分 | 4.8 |
| 评分数 | ratings | 收到的评分总数 | 320 |
| 收藏数 | favorite | 被收藏次数 | 2800 |
| 浏览数 | viewCount | 浏览次数 | 15000 |
| 库存 | stock | 当前库存数量 | 500 |
| SKU数量 | skuNumber | SKU变体数量 | 8 |
| 上架时间 | genTime | 商品首次上架日期 | 2025-06-01 |
| 类目结构 | categoryStructure | 所属类目层级路径 | Home & Living > Storage |
| 店铺名称 | shopName | 所属店铺名称 | BestHome Official |
| 店铺链接 | shopUrl | 店铺页面链接 | https://... |
| 是否官方店铺 | isOfficialShop | 1=是, 0=否 | 1 |
| 虾皮优选 | isShopeeVerified | 1=优选, 0=非优选 | 1 |
| 发货类型 | cbOption | 1=跨境, 0=本土 | 0 |
| 店铺所在地类型 | shippingIconType | 0=本地, 1=海外 | 0 |
| 商品状态 | status | 1=正常, 0=下架 | 1 |
| Field | API Name | Description | Example |
|---|---|---|---|
| Product ID | pid | Unique product identifier | 12345678 |
| Product Title | title | Product name | Storage Box Organizer |
| Product Description | description | Detailed product description | ... |
| Product Main Image | imageUrl | URL of product main image | https://... |
| Product Link | productUrl | Shopee product page link | https://... |
| Default Price | price | Default product price (local currency) | 29.90 |
| Minimum Price | minPrice | Minimum SKU price | 19.90 |
| Maximum Price | maxPrice | Maximum SKU price | 39.90 |
| Sales in Last 30 Days | sold | Actual sales in the last 30 days | 1500 |
| Estimated Sales in Last 30 Days | estimateSold | Estimated sales in the last 30 days | 1200 |
| Total Historical Sales | historicalSold | Cumulative total sales of the product | 50000 |
| Sales Revenue in Last 30 Days | payment | Sales revenue in the last 30 days (local currency) | 45000 |
| Product Rating | rating | 0-5 scale | 4.8 |
| Number of Ratings | ratings | Total number of ratings received | 320 |
| Number of Favorites | favorite | Number of times the product was favorited | 2800 |
| Number of Views | viewCount | Number of views | 15000 |
| Stock | stock | Current stock quantity | 500 |
| Number of SKUs | skuNumber | Number of SKU variants | 8 |
| Listing Time | genTime | Date when the product was first listed | 2025-06-01 |
| Category Structure | categoryStructure | Category hierarchy path | Home & Living > Storage |
| Store Name | shopName | Name of the affiliated store | BestHome Official |
| Store Link | shopUrl | Store page link | https://... |
| Official Store | isOfficialShop | 1=Yes, 0=No | 1 |
| Shopee Verified | isShopeeVerified | 1=Verified, 0=Not Verified | 1 |
| Shipping Type | cbOption | 1=Cross-border, 0=Local | 0 |
| Store Location Type | shippingIconType | 0=Local, 1=Overseas | 0 |
| Product Status | status | 1=Active, 0=Offline | 1 |
Supported Marketplaces
Supported Marketplaces
| 站点 | station 值 | 代码 |
|---|---|---|
| 马来西亚 | malaysia | MY |
| 中国台湾 | taiwan_china | Taiwan_CHN |
| 印度尼西亚 | indonesia | ID |
| 泰国 | thailand | TH |
| 菲律宾 | philippines | PH |
| 新加坡 | singapore | SG |
| 越南 | vietnam | VN |
| 巴西 | brazil | BR |
| 墨西哥 | mexico | MX |
| 智利 | chile | CL |
| 哥伦比亚 | columbia | CO |
stationmalaysiaMY| Marketplace | station Value | Code |
|---|---|---|
| Malaysia | malaysia | MY |
| Taiwan (China) | taiwan_china | Taiwan_CHN |
| Indonesia | indonesia | ID |
| Thailand | thailand | TH |
| Philippines | philippines | PH |
| Singapore | singapore | SG |
| Vietnam | vietnam | VN |
| Brazil | brazil | BR |
| Mexico | mexico | MX |
| Chile | chile | CL |
| Colombia | columbia | CO |
stationmalaysiaMY调用方式
Calling Methods
- API 端点:(完整参数/响应/错误码见
POST /youying/shopee/getProductInfos)references/api.md - Python 脚本:
python scripts/youying_shopee_search.py '<JSON 参数>' [--inline] - 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入 (
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-youying-shopee-get-product-infos-<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 Endpoint: (complete parameters/responses/error codes can be found in
POST /youying/shopee/getProductInfos)references/api.md - Python Script:
python scripts/youying_shopee_search.py '<JSON parameters>' [--inline] - Cost Constraints: This tool consumes points; by default, the same parameter combination in the same session is only called once, and the script has a 24-hour local cache. Do not automatically try different keywords, pagination, or zip codes continuously for failed/empty results; explain to the user that additional consumption will occur before continuing the search.
Output Strategy (Default Script Behavior):
- Always write the complete response to (
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-youying-shopee-get-product-infos-<timestamp>.jsonis the working directory where the script is executed, which is the current project directory in Claude Code;<cwd>is obtained from the environment variable<session>and is automatically aggregated by user tasks; prohibited from writing to /tmp, report an error if the current directory is not writable)SESSION_ID - Response body ≤ 8 KB: After saving to disk, print the complete JSON to stdout
- Response body > 8 KB: After saving to disk, only output a summary to stdout (top-level fields, common counts such as /
total, length of the largest list field + first 3 samples)costToken - Add to force full printing to stdout (also saves to disk)
--inline
Data Reading Recommendations: First check the summary to see if it is sufficient; when specific fields are needed, use or to extract from the saved JSON file on demand to avoid loading the entire JSON into the context.
jqConvertFrom-Json解决认证和积分问题
Resolving Authentication and Point Issues
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
When the following exceptions occur, guide users to resolve them using references/onboarding.md:
异常情况
Exception Scenarios
- 未配置API Key:环境变量未配置 ,也未配置
LINKFOX_AGENT_API_KEY。LINKFOXAGENT_API_KEY - 响应401或402状态码
- 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
- API Key Not Configured: The environment variable is not configured, nor is
LINKFOX_AGENT_API_KEY.LINKFOXAGENT_API_KEY - Response with 401 or 402 Status Code
- Insufficient Points or Balance: The message contains content such as "insufficient point balance/insufficient billing/insufficient balance/quota exceeded/insufficient balance/package expired/need to recharge/please recharge" or similar meanings.
How to Build Queries
How to Build Queries
根据用户需求,将自然语言转换为 API 参数组合。核心原则是精确映射用户的筛选条件到对应参数。
Convert natural language user requirements into API parameter combinations. The core principle is to accurately map user filtering conditions to corresponding parameters.
Principles for Building API Calls
Principles for Building API Calls
- 必填站点:每次调用必须指定 。用户说"马来""马来西亚"→
station;"中国台湾"→malaysia;"印尼"→taiwan_china等indonesia - 关键词搜索:为标题关键词,搭配
keyword控制匹配模式(1=整句匹配,2=多词AND,3=多词OR)keywordType - 数值范围:大多数筛选条件使用 Start/End 或 Min/Max 成对参数,按需设置单侧或双侧
- 排序:指定排序字段,
orderBy指定升/降序(默认 DESC 降序)orderByType - 分页:从 1 开始,
page范围 1-1000,默认 1000pageSize - 排除逻辑:可排除包含特定词的商品,
notExistKeyword可排除特定店铺notExistShopIdList
- Required Marketplace: The parameter must be specified for each call. If the user says "Malaysia" →
station; "Taiwan (China)" →malaysia; "Indonesia" →taiwan_china, etc.indonesia - Keyword Search: is the title keyword, paired with
keywordto control the matching mode (1=Exact phrase match, 2=Multi-word AND, 3=Multi-word OR)keywordType - Numeric Ranges: Most filtering conditions use Start/End or Min/Max paired parameters; set one-sided or two-sided as needed
- Sorting: specifies the sorting field,
orderByspecifies ascending/descending order (default DESC descending order)orderByType - Pagination: starts from 1,
pageranges from 1-1000, default is 1000pageSize - Exclusion Logic: can exclude products containing specific words,
notExistKeywordcan exclude specific storesnotExistShopIdList
Common Query Scenarios
Common Query Scenarios
1. 关键词选品 — 按销量筛选热销商品
station: malaysia
keyword: Storage Box
keywordType: 2
soldMin: 100
orderBy: sold
orderByType: DESC
pageSize: 1002. 新品发现 — 近期上架且有一定销量的商品
station: thailand
keyword: Phone Case
listingDateFrom: 2025-06-01
soldMin: 50
orderBy: gen_time
orderByType: DESC3. 高潜力商品 — 低价高销量
station: indonesia
keyword: LED Light
priceMax: 50000
soldMin: 500
orderBy: payment
orderByType: DESC4. 跨境卖家商品筛选
station: malaysia
keyword: Wireless Earbuds
cbOption: 1
soldMin: 200
orderBy: sold
orderByType: DESC5. 品类选品 — 按类目 + 销售额筛选
station: vietnam
pL1Id: 11036379
paymentStart: 10000000
orderBy: payment
orderByType: DESC
pageSize: 2006. 竞品店铺分析 — 查看特定店铺的商品
station: malaysia
shopIdList: 123456789
orderBy: sold
orderByType: DESC7. 优选商品筛选 — 虾皮优选 + 高评分
station: philippines
keyword: Beauty
isShopeeVerified: 1
ratingMin: 4.5
soldMin: 100
orderBy: rating
orderByType: DESC8. 大卖排除 — 发现中小卖家机会
station: taiwan_china
keyword: 收纳盒
notExistShopIdList: 111111,222222,333333
soldMin: 50
soldMax: 500
orderBy: sold
orderByType: DESC1. Keyword-based Selection — Filter Hot-selling Products by Sales Volume
station: malaysia
keyword: Storage Box
keywordType: 2
soldMin: 100
orderBy: sold
orderByType: DESC
pageSize: 1002. New Product Discovery — Recently Listed Products with Certain Sales Volume
station: thailand
keyword: Phone Case
listingDateFrom: 2025-06-01
soldMin: 50
orderBy: gen_time
orderByType: DESC3. High-potential Products — Low Price with High Sales Volume
station: indonesia
keyword: LED Light
priceMax: 50000
soldMin: 500
orderBy: payment
orderByType: DESC4. Cross-border Seller Product Filtering
station: malaysia
keyword: Wireless Earbuds
cbOption: 1
soldMin: 200
orderBy: sold
orderByType: DESC5. Category-based Selection — Filter by Category + Sales Revenue
station: vietnam
pL1Id: 11036379
paymentStart: 10000000
orderBy: payment
orderByType: DESC
pageSize: 2006. Competitor Store Analysis — View Products of a Specific Store
station: malaysia
shopIdList: 123456789
orderBy: sold
orderByType: DESC7. Shopee Verified Product Filtering — Shopee Verified + High Rating
station: philippines
keyword: Beauty
isShopeeVerified: 1
ratingMin: 4.5
soldMin: 100
orderBy: rating
orderByType: DESC8. Exclude Top Sellers — Discover Opportunities for Small and Medium Sellers
station: taiwan_china
keyword: Storage Box
notExistShopIdList: 111111,222222,333333
soldMin: 50
soldMax: 500
orderBy: sold
orderByType: DESCDisplay Rules
Display Rules
- Present data only: Show query results in clear tables without subjective business advice
- Currency notice: Different marketplaces use different currencies (MYR, TWD, IDR, THB, PHP, SGD, VND, BRL, MXN, CLP, COP). Always remind users of the currency context when showing price/payment data
- Volume notice: When results are large, show core data (title, price, sold, payment, rating) and remind users they can view more via pagination
- Key metrics highlight: Prioritize showing (前30天销量),
sold(前30天销售额),payment,priceas these are the most decision-relevant metricsrating - Error handling: When a query fails, explain the reason based on the error response and suggest adjusting query criteria
- Image display: When is available, include product images to help users make visual assessments
imageUrl
- Present data only: Show query results in clear tables without subjective business advice
- Currency notice: Different marketplaces use different currencies (MYR, TWD, IDR, THB, PHP, SGD, VND, BRL, MXN, CLP, COP). Always remind users of the currency context when showing price/payment data
- Volume notice: When results are large, show core data (title, price, sold (sales volume in last 30 days), payment (sales revenue in last 30 days), rating) and remind users they can view more via pagination
- Key metrics highlight: Prioritize showing (sales volume in last 30 days),
sold(sales revenue in last 30 days),payment,priceas these are the most decision-relevant metricsrating - Error handling: When a query fails, explain the reason based on the error response and suggest adjusting query criteria
- Image display: When is available, include product images to help users make visual assessments
imageUrl
Important Limitations
Important Limitations
- Result cap: maximum is 1000 records per request
pageSize - Required field: is always required — if missing, ask the user which marketplace to query
station - Price currency: Prices are in local currency of the selected marketplace, not USD
- Data freshness: Data depends on 友鹰's crawling schedule, see for last update time
lastModiTime
- Result cap: maximum is 1000 records per request
pageSize - Required field: is always required — if missing, ask the user which marketplace to query
station - Price currency: Prices are in local currency of the selected marketplace, not USD
- Data freshness: Data depends on YouYing's crawling schedule, see for last update time
lastModiTime
User Expression & Scenario Quick Reference
User Expression & Scenario Quick Reference
Applicable - Shopee product search and filtering:
| User Says | Scenario |
|---|---|
| "虾皮上什么好卖" "Shopee爆款" | Hot-selling product discovery |
| "帮我在Shopee上搜xx商品" | Keyword product search |
| "马来站最近上架的新品" | New product discovery by listing date |
| "销量过千的商品有哪些" | Volume-based product filtering |
| "东南亚哪些品类有机会" | Category-level opportunity scan |
| "帮我看看这个店铺的商品" | Competitor shop analysis |
| "跨境商品和本土商品对比" | Cross-border vs local comparison |
| "Shopee优选商品筛选" | Shopee Verified product filtering |
| "低价高销量的商品" | Price-volume opportunity mining |
Not applicable - Needs beyond Shopee product search:
- Amazon, TikTok, eBay, 1688 等其他平台的商品搜索
- Shopee 广告投放策略
- Shopee 店铺运营建议
- Shopee 物流/仓储方案
- 已有本地 Shopee 数据文件的处理
Boundary judgment: When users say "东南亚选品", "虾皮市场分析", or "跨境电商选品", if it boils down to searching and filtering products on Shopee by various criteria, this skill applies. If they're asking about logistics planning, advertising strategy, or store operations, it does not apply.
Applicable - Shopee product search and filtering:
| What User Says | Scenario |
|---|---|
| "What sells well on Shopee?" "Shopee bestsellers" | Hot-selling product discovery |
| "Help me search for xx products on Shopee" | Keyword product search |
| "New products recently listed on Malaysia site" | New product discovery by listing date |
| "Which products have sales over 1000?" | Volume-based product filtering |
| "Which categories have opportunities in Southeast Asia?" | Category-level opportunity scan |
| "Help me check the products of this store" | Competitor shop analysis |
| "Comparison between cross-border and local products" | Cross-border vs local comparison |
| "Filter Shopee Verified products" | Shopee Verified product filtering |
| "Low-price products with high sales volume" | Price-volume opportunity mining |
Not applicable - Needs beyond Shopee product search:
- Product search on other platforms such as Amazon, TikTok, eBay, 1688, etc.
- Shopee advertising strategy
- Shopee store operation suggestions
- Shopee logistics/warehousing solutions
- Processing of existing local Shopee data files
Boundary judgment: When users say "Southeast Asian product selection", "Shopee market analysis", or "cross-border e-commerce product selection", this skill applies if it boils down to searching and filtering products on Shopee by various criteria. If they're asking about logistics planning, advertising strategy, or store operations, it does not apply.
积分消耗规则
Point Consumption Rules
消耗 4 积分。
用户会因积分消耗而支付费用。请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。
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.
references/api.mdFor more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.
Costs 4 points.
Users will pay fees based on point consumption. Please fully evaluate: when this skill needs to be called frequently, or when users have insufficient expectations about point consumption, be sure to remind users and let them decide whether to continue.
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.
references/api.mdFor more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.