使用 AlphaShop API,通过 URL 中提取或直接提供的 productId 查询 1688 跨境商品详情。**必须用于所有涉及此类请求的操作**
ALWAYS use this skill when the user requests anything related to 1688 product information, including but not limited to:
User provides a 1688 product URL (e.g. https://detail.1688.com/offer/945957565364.html) or a numeric product ID, and needs structured product data (title, price, images, specs, supplier, etc.).
⚠️ 使用本 SKILL 前,必须先配置以下密钥,否则商品详情查询会失败。
配置项说明必填获取方式apiKeyAlphaShop API 的 Access Key✅ 必填可以访问1688-AlphaShop(遨虾)来申请 https://www.alphashop.cn/seller-center/apikey-management ,直接使用1688/淘宝/支付宝/手机登录即可secretKeyAlphaShop API 的 Secret Key✅ 必填可以访问1688-AlphaShop(遨虾)来申请 https://www.alphashop.cn/seller-center/apikey-management ,直接使用1688/淘宝/支付宝/手机登录即可
如果用户没有提供这些密钥, 必须先询问用户获取后再继续操作。
⚠️ AlphaShop 接口欠费处理: 如果调用 AlphaShop 接口时返回欠费/余额不足相关的错误, 必须立即中断当前流程,提示用户前往 https://www.alphashop.cn/seller-center/home/api-list 购买积分后再继续操作。
在 OpenClaw config 中配置(注意:本 SKILL 使用 apiKey/ secretKey 字段,而非 env):
json5
{
skills: {
entries: {
"query-1688-product-detail": {
apiKey: "YOUR_ALPHASHOP_ACCESS_KEY",
secretKey: "YOUR_ALPHASHOP_SECRET_KEY"
}
}
}
}
POST https://api.alphashop.cn/alphashop.openclaw.offer.detail.query/1.0Authorization: Bearer <api_key>{"productId": "<id>"}bash
# By URL
python3 query.py "https://detail.1688.com/offer/945957565364.html"
# By product ID
python3 query.py "945957565364"
# Multiple IDs
python3 query.py "945957565364,653762281679"
Accepts three formats:
/offer/<id>.html path or ?offerId=<id> query paramrequests