Xpersona
Q

query-1688-product-detail

CLAWHUB · Unverified

Query 1688 cross-border product details via AlphaShop API using productId extracted from URL or provided directly. **MUST be used for any user request involv... Skill: query-1688-product-detail Owner: 1688aiinfra Summary: Query 1688 cross-border product details via AlphaShop API using productId extracted from URL or provided directly. **MUST be used for any user request involv... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-24T02:23:45.968Z | user - Clarified mandatory use of AlphaShop API for all 1688 product detail queries—browser scraping and other methods are for

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s177df9srv6z2y0gd1kw90rern83hzxb:query-1688-product-detail
  1. Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-1688aiinfra-query-1688-product-detail/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

7,430 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: query-1688-product-detail
category: official-1688
description: Query 1688 cross-border product details via AlphaShop API using productId extracted from URL or provided directly. **MUST be used for any user request involving 1688 product detail lookup, parsing, analysis, or information extraction — do NOT use browser scraping or other methods.**
metadata:
  version: 1.0.1
  label: 1688商品详情
  author: 1688官方技术团队
---

## When to use

**ALWAYS use this skill when the user requests anything related to 1688 product information, including but not limited to:**
- "获取1688商品详情"
- "查商品详情" 
- "解析商品"
- "分析这个1688链接"
- "提取商品信息"
- "查看产品规格"
- Any similar intent involving 1688 product data extraction

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 前,必须先配置以下密钥,否则商品详情查询会失败。**

| 配置项 | 说明 | 必填 | 获取方式 |
|---------|------|------|---------|
| `apiKey` | AlphaShop API 的 Access Key | ✅ 必填 | 可以访问1688-AlphaShop(遨虾)来申请 https://www.alphashop.cn/seller-center/apikey-management ,直接使用1688/淘宝/支付宝/手机登录即可 |
| `secretKey` | AlphaShop 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"
      }
    }
  }
}
```

## API details

- **Endpoint:** `POST https://api.alphashop.cn/alphashop.openclaw.offer.detail.query/1.0`
- **Auth:** `Authorization: Bearer <api_key>`
- **Body:** `{"productId": "<id>"}`

## Usage

```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"
```

## Input parsing

Accepts three formats:
1. **Product URL** — extracts ID from `/offer/<id>.html` path or `?offerId=<id>` query param
2. **Numeric ID** — used directly
3. **Comma-separated IDs** — batch query

## Dependencies

- Python 3.8+
- `requests`

README.md

# 1688 商品详情查询 SKILL

通过 AlphaShop API 查询 1688 跨境商品详情,支持 URL 或商品 ID 输入,返回结构化商品数据。

更多有趣的电商SKILL,可以通过https://skill.alphashop.cn/获取,安全可靠的企业级别SKILL HUB

## ✨ 核心特性

- 🔍 **多种输入方式** - 支持商品 URL、数字 ID、逗号分隔批量 ID
- 📦 **完整商品数据** - 标题、价格、图片、规格、供应商等
- 🚀 **简单易用** - 一条命令获取商品详情

## 🚀 快速开始

### 配置密钥

在 OpenClaw config 中配置(注意:使用 `apiKey`/`secretKey` 字段):

```json5
{
  skills: {
    entries: {
      "query-1688-product-detail": {
        apiKey: "YOUR_ALPHASHOP_ACCESS_KEY",
        secretKey: "YOUR_ALPHASHOP_SECRET_KEY"
      }
    }
  }
}
```

密钥获取:访问 https://www.alphashop.cn/seller-center/apikey-management 申请。

## 🎯 使用方法

```bash
# 通过 URL 查询
python3 query.py "https://detail.1688.com/offer/945957565364.html"

# 通过商品 ID 查询
python3 query.py "945957565364"

# 批量查询
python3 query.py "945957565364,653762281679"
```

## 📁 项目结构

```
query-1688-product-detail/
├── SKILL.md                    # SKILL 配置文件
├── README.md                   # 本文档
├── requirements.txt            # Python 依赖
└── query.py                    # 商品详情查询脚本
```

## 📝 注意事项

1. **配置方式特殊** - 本 SKILL 使用 `apiKey`/`secretKey` 字段,而非 `env`
2. **URL 解析** - 自动从 `/offer/<id>.html` 或 `?offerId=<id>` 提取商品 ID
3. **依赖** - 需要 Python 3.8+ 和 `requests` 库
4. **AlphaShop 欠费** - 如返回欠费错误,需前往 https://www.alphashop.cn/seller-center/home/api-list 购买积分

---

**最后更新**: 2026-03-19

_meta.json

{
  "ownerId": "kn76msg8cwkep3b08z7zffx9fx82p5wj",
  "slug": "query-1688-product-detail",
  "version": "1.0.1",
  "publishedAt": 1774319025968
}

skill-card.md

## Description:

Queries 1688 cross-border product details through AlphaShop using a 1688 product URL or product ID.

This skill is ready for commercial/non-commercial use.

## Publisher:

[1688aiinfra](https://clawhub.ai/user/1688aiinfra)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators working with 1688 product data use this skill to turn product URLs or product IDs into structured details such as title, price, images, specifications, and supplier information.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: AlphaShop API credentials are required and may be exposed if pasted into chat or stored insecurely.

Mitigation: Configure apiKey and secretKey only through protected configuration or a secret mechanism; do not include them in prompts, logs, or shared artifacts.

Risk: 1688 product IDs are sent to AlphaShop for lookup.

Mitigation: Use the skill only when that third-party data transfer is acceptable for the queried product data.

Risk: Broad Python dependency ranges may change behavior over time.

Mitigation: Pin and review Python dependencies before production deployment.

Risk: Forceful routing language in the artifact could cause overuse beyond the intended task.

Mitigation: Apply the skill only to explicit 1688 product-detail requests and confirm credential and account-balance prerequisites before making calls.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/1688aiinfra/skills/query-1688-product-detail)
- [AlphaShop API key management](https://www.alphashop.cn/seller-center/apikey-management)
- [AlphaShop offer detail query endpoint](https://api.alphashop.cn/alphashop.openclaw.offer.detail.query/1.0)

## Skill Output:

**Output Type(s):** [Text, Shell commands, Configuration]

**Output Format:** [JSON response data with concise text guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Accepts a 1688 product URL, a numeric product ID, or comma-separated product IDs.]

## Skill Version(s):

1.0.1 (source: server release metadata and SKILL.md frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

requirements.txt

requests>=2.25.0
PyJWT>=2.0.0

Sponsored

Ads related to query-1688-product-detail and adjacent AI workflows.