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)

FieldAPI NameDescriptionExample
商品IDpid商品唯一标识12345678
商品标题title商品名称Storage Box Organizer
商品描述description商品详细描述...
商品主图imageUrl商品主图URLhttps://...
商品链接productUrlShopee商品页面链接https://...
默认价price商品默认价格(当地货币)29.90
最低价minPriceSKU最低价19.90
最高价maxPriceSKU最高价39.90
前30天销售件数sold近30天实际销量1500
估算前30天销量estimateSold估算的近30天销量1200
总销售件数historicalSold商品累计总销量50000
前30天销售额payment近30天销售金额(当地货币)45000
商品评分rating0-5分4.8
评分数ratings收到的评分总数320
收藏数favorite被收藏次数2800
浏览数viewCount浏览次数15000
库存stock当前库存数量500
SKU数量skuNumberSKU变体数量8
上架时间genTime商品首次上架日期2025-06-01
类目结构categoryStructure所属类目层级路径Home & Living > Storage
店铺名称shopName所属店铺名称BestHome Official
店铺链接shopUrl店铺页面链接https://...
是否官方店铺isOfficialShop1=是, 0=否1
虾皮优选isShopeeVerified1=优选, 0=非优选1
发货类型cbOption1=跨境, 0=本土0
店铺所在地类型shippingIconType0=本地, 1=海外0
商品状态status1=正常, 0=下架1
FieldAPI NameDescriptionExample
Product IDpidUnique product identifier12345678
Product TitletitleProduct nameStorage Box Organizer
Product DescriptiondescriptionDetailed product description...
Product Main ImageimageUrlURL of product main imagehttps://...
Product LinkproductUrlShopee product page linkhttps://...
Default PricepriceDefault product price (local currency)29.90
Minimum PriceminPriceMinimum SKU price19.90
Maximum PricemaxPriceMaximum SKU price39.90
Sales in Last 30 DayssoldActual sales in the last 30 days1500
Estimated Sales in Last 30 DaysestimateSoldEstimated sales in the last 30 days1200
Total Historical SaleshistoricalSoldCumulative total sales of the product50000
Sales Revenue in Last 30 DayspaymentSales revenue in the last 30 days (local currency)45000
Product Ratingrating0-5 scale4.8
Number of RatingsratingsTotal number of ratings received320
Number of FavoritesfavoriteNumber of times the product was favorited2800
Number of ViewsviewCountNumber of views15000
StockstockCurrent stock quantity500
Number of SKUsskuNumberNumber of SKU variants8
Listing TimegenTimeDate when the product was first listed2025-06-01
Category StructurecategoryStructureCategory hierarchy pathHome & Living > Storage
Store NameshopNameName of the affiliated storeBestHome Official
Store LinkshopUrlStore page linkhttps://...
Official StoreisOfficialShop1=Yes, 0=No1
Shopee VerifiedisShopeeVerified1=Verified, 0=Not Verified1
Shipping TypecbOption1=Cross-border, 0=Local0
Store Location TypeshippingIconType0=Local, 1=Overseas0
Product Statusstatus1=Active, 0=Offline1

Supported Marketplaces

Supported Marketplaces

站点station 值代码
马来西亚malaysiaMY
中国台湾taiwan_chinaTaiwan_CHN
印度尼西亚indonesiaID
泰国thailandTH
菲律宾philippinesPH
新加坡singaporeSG
越南vietnamVN
巴西brazilBR
墨西哥mexicoMX
智利chileCL
哥伦比亚columbiaCO
station
必填参数,可传站点名(如
malaysia
)或代码(如
MY
)。当用户未指定站点时,需要询问用户想查询哪个站点。
Marketplacestation ValueCode
MalaysiamalaysiaMY
Taiwan (China)taiwan_chinaTaiwan_CHN
IndonesiaindonesiaID
ThailandthailandTH
PhilippinesphilippinesPH
SingaporesingaporeSG
VietnamvietnamVN
BrazilbrazilBR
MexicomexicoMX
ChilechileCL
ColombiacolumbiaCO
station
is a required parameter, which can be passed as the marketplace name (e.g.,
malaysia
) or code (e.g.,
MY
). When the user does not specify a marketplace, you must ask the user which marketplace they want to query.

调用方式

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
    <cwd>
    为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;
    <session>
    取自环境变量
    SESSION_ID
    ,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
  • 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如
    total
    /
    costToken
    、最大列表字段的长度 + 前 3 条样本)
  • --inline
    强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用
jq
ConvertFrom-Json
从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
  • API Endpoint:
    POST /youying/shopee/getProductInfos
    (complete parameters/responses/error codes can be found in
    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>.json
    (
    <cwd>
    is the working directory where the script is executed, which is the current project directory in Claude Code;
    <session>
    is obtained from the environment variable
    SESSION_ID
    and is automatically aggregated by user tasks; prohibited from writing to /tmp, report an error if the current directory is not writable)
  • 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
    /
    costToken
    , length of the largest list field + first 3 samples)
  • Add
    --inline
    to force full printing to stdout (also saves to disk)
Data Reading Recommendations: First check the summary to see if it is sufficient; when specific fields are needed, use
jq
or
ConvertFrom-Json
to extract from the saved JSON file on demand to avoid loading the entire JSON into the context.

解决认证和积分问题

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
    LINKFOX_AGENT_API_KEY
    is not configured, nor is
    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

  1. 必填站点:每次调用必须指定
    station
    。用户说"马来""马来西亚"→
    malaysia
    ;"中国台湾"→
    taiwan_china
    ;"印尼"→
    indonesia
  2. 关键词搜索
    keyword
    为标题关键词,搭配
    keywordType
    控制匹配模式(1=整句匹配,2=多词AND,3=多词OR)
  3. 数值范围:大多数筛选条件使用 Start/End 或 Min/Max 成对参数,按需设置单侧或双侧
  4. 排序
    orderBy
    指定排序字段,
    orderByType
    指定升/降序(默认 DESC 降序)
  5. 分页
    page
    从 1 开始,
    pageSize
    范围 1-1000,默认 1000
  6. 排除逻辑
    notExistKeyword
    可排除包含特定词的商品,
    notExistShopIdList
    可排除特定店铺
  1. Required Marketplace: The
    station
    parameter must be specified for each call. If the user says "Malaysia" →
    malaysia
    ; "Taiwan (China)" →
    taiwan_china
    ; "Indonesia" →
    indonesia
    , etc.
  2. Keyword Search:
    keyword
    is the title keyword, paired with
    keywordType
    to control the matching mode (1=Exact phrase match, 2=Multi-word AND, 3=Multi-word OR)
  3. Numeric Ranges: Most filtering conditions use Start/End or Min/Max paired parameters; set one-sided or two-sided as needed
  4. Sorting:
    orderBy
    specifies the sorting field,
    orderByType
    specifies ascending/descending order (default DESC descending order)
  5. Pagination:
    page
    starts from 1,
    pageSize
    ranges from 1-1000, default is 1000
  6. Exclusion Logic:
    notExistKeyword
    can exclude products containing specific words,
    notExistShopIdList
    can exclude specific stores

Common Query Scenarios

Common Query Scenarios

1. 关键词选品 — 按销量筛选热销商品
station: malaysia
keyword: Storage Box
keywordType: 2
soldMin: 100
orderBy: sold
orderByType: DESC
pageSize: 100
2. 新品发现 — 近期上架且有一定销量的商品
station: thailand
keyword: Phone Case
listingDateFrom: 2025-06-01
soldMin: 50
orderBy: gen_time
orderByType: DESC
3. 高潜力商品 — 低价高销量
station: indonesia
keyword: LED Light
priceMax: 50000
soldMin: 500
orderBy: payment
orderByType: DESC
4. 跨境卖家商品筛选
station: malaysia
keyword: Wireless Earbuds
cbOption: 1
soldMin: 200
orderBy: sold
orderByType: DESC
5. 品类选品 — 按类目 + 销售额筛选
station: vietnam
pL1Id: 11036379
paymentStart: 10000000
orderBy: payment
orderByType: DESC
pageSize: 200
6. 竞品店铺分析 — 查看特定店铺的商品
station: malaysia
shopIdList: 123456789
orderBy: sold
orderByType: DESC
7. 优选商品筛选 — 虾皮优选 + 高评分
station: philippines
keyword: Beauty
isShopeeVerified: 1
ratingMin: 4.5
soldMin: 100
orderBy: rating
orderByType: DESC
8. 大卖排除 — 发现中小卖家机会
station: taiwan_china
keyword: 收纳盒
notExistShopIdList: 111111,222222,333333
soldMin: 50
soldMax: 500
orderBy: sold
orderByType: DESC
1. Keyword-based Selection — Filter Hot-selling Products by Sales Volume
station: malaysia
keyword: Storage Box
keywordType: 2
soldMin: 100
orderBy: sold
orderByType: DESC
pageSize: 100
2. 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: DESC
3. High-potential Products — Low Price with High Sales Volume
station: indonesia
keyword: LED Light
priceMax: 50000
soldMin: 500
orderBy: payment
orderByType: DESC
4. Cross-border Seller Product Filtering
station: malaysia
keyword: Wireless Earbuds
cbOption: 1
soldMin: 200
orderBy: sold
orderByType: DESC
5. Category-based Selection — Filter by Category + Sales Revenue
station: vietnam
pL1Id: 11036379
paymentStart: 10000000
orderBy: payment
orderByType: DESC
pageSize: 200
6. Competitor Store Analysis — View Products of a Specific Store
station: malaysia
shopIdList: 123456789
orderBy: sold
orderByType: DESC
7. Shopee Verified Product Filtering — Shopee Verified + High Rating
station: philippines
keyword: Beauty
isShopeeVerified: 1
ratingMin: 4.5
soldMin: 100
orderBy: rating
orderByType: DESC
8. 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: DESC

Display Rules

Display Rules

  1. Present data only: Show query results in clear tables without subjective business advice
  2. 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
  3. Volume notice: When results are large, show core data (title, price, sold, payment, rating) and remind users they can view more via pagination
  4. Key metrics highlight: Prioritize showing
    sold
    (前30天销量),
    payment
    (前30天销售额),
    price
    ,
    rating
    as these are the most decision-relevant metrics
  5. Error handling: When a query fails, explain the reason based on the error response and suggest adjusting query criteria
  6. Image display: When
    imageUrl
    is available, include product images to help users make visual assessments
  1. Present data only: Show query results in clear tables without subjective business advice
  2. 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
  3. 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
  4. Key metrics highlight: Prioritize showing
    sold
    (sales volume in last 30 days),
    payment
    (sales revenue in last 30 days),
    price
    ,
    rating
    as these are the most decision-relevant metrics
  5. Error handling: When a query fails, explain the reason based on the error response and suggest adjusting query criteria
  6. Image display: When
    imageUrl
    is available, include product images to help users make visual assessments

Important Limitations

Important Limitations

  • Result cap:
    pageSize
    maximum is 1000 records per request
  • Required field:
    station
    is always required — if missing, ask the user which marketplace to query
  • Price currency: Prices are in local currency of the selected marketplace, not USD
  • Data freshness: Data depends on 友鹰's crawling schedule, see
    lastModiTime
    for last update time
  • Result cap:
    pageSize
    maximum is 1000 records per request
  • Required field:
    station
    is always required — if missing, ask the user which marketplace to query
  • Price currency: Prices are in local currency of the selected marketplace, not USD
  • Data freshness: Data depends on YouYing's crawling schedule, see
    lastModiTime
    for last update time

User Expression & Scenario Quick Reference

User Expression & Scenario Quick Reference

Applicable - Shopee product search and filtering:
User SaysScenario
"虾皮上什么好卖" "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 SaysScenario
"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:
  1. The functionality or purpose described in this skill does not match actual behavior
  2. The skill's results do not match the user's intent
  3. The user expresses dissatisfaction or praise about this skill
  4. 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, 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:
  1. The functionality or purpose described in this skill does not match actual behavior
  2. The skill's results do not match the user's intent
  3. The user expresses dissatisfaction or praise about this skill
  4. 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, visit LinkFox Skills.