编程

Shopee-商品详情

试用

查询单个 Shopee 公共商品详情。输入带有 -i.数字店铺ID.数字商品ID 的商品直链,支持新加坡、印度尼西亚、马来西亚、菲律宾、泰国、台湾、越南和巴西站点,返回来源当前可获取的价格、折扣、销量、库存、SKU 变体、图片、品牌、类目、店铺与评分等结构化数据。当用户提到 Shopee 商品详情、虾皮商品链接解析、价格库存核对、SKU 变体、竞品页面拆解、Shopee product details、Shopee listing lookup 时触发。即使用户未明确说“商品详情”,只要提供 Shopee 商品直链并希望读取当前公开页面数据,也应触发此技能。

它能做什么

查询单个 Shopee 公共商品详情。输入带有 -i.数字店铺ID.数字商品ID 的商品直链,支持新加坡、印度尼西亚、马来西亚、菲律宾、泰国、台湾、越南和巴西站点,返回来源当前可获取的价格、折扣、销量、库存、SKU 变体、图片、品牌、类目、店铺与评分等结构化数据。当用户提到 Shopee 商品详情、虾皮商品链接解析、价格库存核对、SKU 变体、竞品页面拆解、Shopee product details、Shopee listing lookup 时触发。即使用户未明确说“商品详情”,只要提供 Shopee 商品直链并希望读取当前公开页面数据,也应触发此技能。

技能文档

Shopee Product Detail Lookup

Fetch the current public detail of one Shopee product from a supported marketplace URL.

Core Concepts

  • One product per call: productUrl identifies one listing; this is not a keyword-search tool.
  • Market from URL: the storefront, currency, and locale are inferred from the URL.
  • Direct-listing mode: the tool auto-detects the supplied product URL and requests exactly one matching listing row.
  • Current snapshot: available price, inventory, sales, rating, and shop values reflect the public page at request time.

Data Fields

Each object in data can contain:

GroupRepresentative fields
IdentityitemId, shopId, url, name, brand, categoryId, categoryBreadcrumb
Mediaimage, images, videos
Pricingprice, priceBeforeDiscount, priceMin, priceMax, discountPercent, currency
Demandsold, soldDisplayed, rating, ratingCount, ratingDistribution, likedCount
Inventorystock, tierVariations, models
ShopshopName, shopRating, shopLocation, isMall, official and verification signals, nested shop data
Contentdescription, attributes, category data, availability and condition when supplied

Less-common and newly introduced top-level fields are preserved in the returned product object. Fields may be absent or null.

Parameter Guide

ParameterRequiredDefaultDescription
productUrlYes-Shopee HTTPS product URL whose path ends with -i..

Supported hosts: shopee.sg, shopee.co.id, shopee.com.my, shopee.ph, shopee.co.th, shopee.tw, shopee.vn, and shopee.com.br.

调用方式

  • API 端点POST /shopee/product/detail(完整参数/响应/错误码见 references/api.md
  • Python 脚本python scripts/shopee_product_detail.py '' [--inline]
  • 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。

输出策略(脚本默认行为)

  • 始终将完整响应写入 /linkfox///data/linkfox-shopee-product-detail-.json 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录; 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
  • 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 total/costToken、最大列表字段的长度 + 前 3 条样本)
  • --inline 强制全量打印到 stdout(同样落盘)

读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jqConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

解决认证和积分问题

发生以下异常情况时,采用 references/onboarding.md 引导解决问题:

  • LINKFOX_AGENT_API_KEYLINKFOXAGENT_API_KEY 均未配置。
  • 响应状态为 401 或 402。
  • 响应提示积分、余额、套餐或配额不足。

Usage Example

python scripts/shopee_product_detail.py '{"productUrl":"https://shopee.sg/%28LENECT-OFFICIAL-STORE%29-Flash-I-Aurora-Dual-Highlighter-7.2g-COCOMO-i.9641401.29691169956"}'

Display Rules

  1. Lead with the listing name, item ID, shop, marketplace, current price, currency, stock, and public sold count.
  2. Show current/original price and discount exactly as returned; do not convert currencies unless requested.
  3. Present SKU models and per-variant stock in a compact table when available.
  4. Render a small selection of images inline when useful instead of flooding the response.
  5. Treat Shopee Mall, official-shop, and verified-seller flags independently.
  6. State when descriptions, models, inventory, sold count, or other enrichment fields are unavailable.
  7. Read exact large nested sections from the saved JSON only when the user needs them.

Important Limitations

  1. The URL must use a documented -i.. path; canonical /product// URLs are not accepted by this tool.
  2. Customer review rows are not returned. ratingCount and ratingDistribution are only aggregate signals when the source supplies them.
  3. Public fields vary by market, listing state, seller, and source-page completeness. Indonesia, Singapore, Malaysia, Thailand, and the Philippines usually expose richer detail on the cloud source; Vietnam, Brazil, and Taiwan may return a lighter record.
  4. models provides variant stock, while a separate price for every individual variant may be unavailable.
  5. Invalid, removed, or market-mismatched listings return an error rather than a successful empty list.
  6. This tool does not search Shopee, provide historical trends, or manage an authorized seller account.

User Expression & Scenario Quick Reference

Applicable — one known Shopee listing:

User SaysScenario
“查这个虾皮商品链接”Listing detail lookup
“看一下价格、销量和库存”Current listing audit
“提取变体、图片和品牌”SKU and content extraction
“这个店铺是不是官方店?”Public shop-signal check

Not applicable:

  • Keyword search, rankings, or bulk product screening
  • Full customer-review collection or sentiment mining
  • Historical price and inventory monitoring
  • Authorized seller listing, order, promotion, or account operations

积分消耗规则

消耗 53 积分。

用户会因积分消耗而支付费用。重复查询不同商品会分别计费;继续调用前应让用户知晓额外消耗。

Feedback:

Auto-detect and report feedback via the Feedback API when the described capability differs from actual behavior, results miss the user's intent, the user expresses praise or dissatisfaction, or the skill can be improved. Follow references/api.md without interrupting the user's flow.


For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.

相关技能

友鹰Shopee商品选品工具,支持Shopee全站点的商品查询与筛选,覆盖马来西亚、中国台湾、印尼、泰国、菲律宾、新加坡、越南、巴西、墨西哥、智利、哥伦比亚等11个站点。当用户提到Shopee选品、虾皮商品搜索、Shopee爆款、虾皮市场分析、Shopee品类选品、虾皮关键词选品、Shopee销量筛选、虾皮价格筛选、东南亚电商选品、Shopee product search, Shopee product selection, Shopee bestsellers, Shopee market analysis时触发此技能。即使用户未明确提及"友鹰"或"Shopee",只要其需求涉及在虾皮平台上搜索商品或筛选Shopee商品数据,也应触发此技能。

查询 TikTok Shop 公共商品详情。输入完整商品 URL 或 19 位商品 ID,可指定美国、英国、东南亚及欧洲主要站点,返回商品标题、类目、价格、销量、SKU 库存、图片、店铺、评论概况、物流与促销等分组数据。当用户提到 TikTok Shop 商品详情、TikTok 商品链接解析、商品 ID 查询、价格库存核对、SKU 变体、竞品页面拆解、TikTok product details、TikTok Shop listing lookup 时触发。即使用户未明确说“商品详情”,只要希望根据一个 TikTok Shop 商品 URL 或 19 位商品 ID 读取当前公开商品页数据,也应触发此技能。

1 次安装

通过 Clawec API 批量查询 Shopee 商品详情(最多10个商品ID,含价格、日/周/月销量销售额、评分等)。在用户需要虾皮商品详情、SKU 深度调研、竞品单品分析、批量查货时使用。

通过 Clawec API 批量查询 Shopee 店铺详情(最多10个店铺ID,含销量销售额、动销率、粉丝、主营类目等)。在用户需要虾皮店铺详情、竞店分析、批量查店时使用。

Shopee(虾皮)店铺授权与管理技能,支持 ERP 与广告(AD)双应用分开授权。提供授权流程、已授权店铺查询以及授权状态读取。授权时可填写店铺名 shopName,region 支持 cn / global / br,appType 支持 erp / ad。当用户提到 Shopee 店铺授权、虾皮店铺绑定、ERP 授权、广告授权、appType、查询已授权 Shopee 店铺、Shopee seller authorization, bind Shopee shop, Shopee Ads authorization 时触发。即使未明确提及"Shopee"或"授权",只要涉及虾皮卖家账号绑定、ERP/广告应用授权或店铺列表查询,也应触发。

1 次安装