Xpersona
阿

阿里商品详情查询

CLAWHUB · Unverified

查询阿里平台(淘宝/天猫)商品详情,支持商品ID或链接输入,返回详情数据 Skill: 阿里商品详情查询 Owner: yjcia Summary: 查询阿里平台(淘宝/天猫)商品详情,支持商品ID或链接输入,返回详情数据 Tags: latest:1.0.5 Version history: v1.0.5 | 2026-04-01T05:26:50.785Z | auto - Added a new API reference documentation file (references/api_reference.md). - Updated SKILL.md to remove duplicated sections related to edge case handling and API usage, streamlining the documentation for clarity. v1.0.4 | 2026-04-01T01:56:54.974Z | auto - Refactore

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.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: low.

clawhub skill install s173vkmtzsr1xwwnsp3hpg0ccd83gxf3:taobao-detail-query
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. 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-yjcia-taobao-detail-query/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

14,982 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: get-tb-detail
description: 查询阿里平台(淘宝/天猫)商品详情,支持商品ID或链接输入,返回详情数据
version: 1.0.5
author: tom.yan@earlydata.com
permissions: 网络访问权限(用于请求第三方API服务)
dependencies: requests
api_provider: EarlyData (mi.earlydata.com)
api_usage: 本技能通过调用第三方API服务获取数据,认证由服务端处理
---

# Get Taobao Product Detail Info Skill(查询淘宝商品详情技能)

## 1. Description
当用户需要查询淘宝/天猫平台商品的详情数据时,使用此技能通过商品ID或商品链接获取商品信息。

## 2. When to use
- 用户说:"帮我查一下这个商品的详情 https://item.taobao.com/item.htm?id=123456789"
- 用户说:"查询淘宝商品ID 123456789 的详情"
- 用户说:"帮我看看这个天猫商品的详细信息"

## 3. How to use
1. 从用户消息中提取核心参数:
   - 必选:商品ID 或 商品链接(支持淘宝/天猫链接,自动解析提取商品ID);
2. 若用户提供链接,自动解析提取商品ID;
3. 调用 agent.py 中的 get_tb_detail 函数执行查询操作;
4. 返回结果:告知用户商品详情数据以markdown形式展示,若查询失败,说明具体原因(如商品不存在、链接无效、网络异常)。

_meta.json

{
  "ownerId": "kn7ermke2p6x25x1jfap36s1y182nceq",
  "slug": "taobao-detail-query",
  "version": "1.0.5",
  "publishedAt": 1775021210785
}

references/api_reference.md

# API 参考文档

## 接口信息

本技能通过调用第三方API服务提供商 **EarlyData (mi.earlydata.com)** 来获取淘宝/天猫商品的详情数据。

**API 配置信息:**
- **API Endpoint:** `https://mi.earlydata.com/detail`
- **API 版本:** 6.0

---

## 请求参数

### `get_tb_detail`

查询淘宝/天猫商品详情。

- `itemId` (string, **必需**): 商品ID
- `v` (string, **必需**): API版本号,固定为 `6.0`

---

## 返回结果

### 成功响应

返回商品详情数据,包含以下字段:

- `success` (boolean): 请求是否成功
- `data` (object): 商品详情数据
  - `title` (string): 商品标题
  - `price` (number): 商品价格
  - `monthSales` (number): 月销量
  - `totalSales` (number): 总销量
  - `images` (array): 商品图片列表
  - `sku` (array): SKU规格信息
  - `shopName` (string): 店铺名称
  - `shopId` (string): 店铺ID
  - 其他商品属性...

### 错误响应

- `success` (boolean): `false`
- `code` (string): 错误代码
- `message` (string): 错误描述

---

## 数据隐私与安全

1. 本技能仅发送商品ID到API服务器以获取商品信息数据
2. API调用使用HTTPS加密传输
3. 不会收集或存储用户的个人信息
4. 查询结果仅包含商品详情数据

---

## 技术实现

- 使用Python `requests`库进行HTTP请求
- 自动解析淘宝/天猫商品链接中的商品ID
- 处理网络异常和API错误响应

---

## 支持

如果您需要更换API服务提供商或使用自定义API配置,请联系 marketing@earlydata.com 获取支持。

skill-card.md

## Description:

查询阿里平台(淘宝/天猫)商品详情,支持商品ID或链接输入,返回详情数据

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

## Publisher:

[yjcia](https://clawhub.ai/user/yjcia)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to look up Taobao/Tmall product details from a product ID or product link and return the result in Markdown. It is useful for product inspection workflows that need item details such as title, price, sales, images, SKU, and shop information.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Product IDs are sent to EarlyData over HTTPS.

Mitigation: Query only product IDs or links that are appropriate to share with the third-party API provider.

Risk: Responses and errors are primarily in Chinese.

Mitigation: Use this skill where Chinese-language output is acceptable, or translate the result before relying on it.

Risk: The third-party API can return missing-product, rate-limit, network, or malformed-response errors.

Mitigation: Surface the returned failure reason to the user and verify important product information before acting on it.

## Reference(s):

- [API Reference](references/api_reference.md)
- [EarlyData Detail API Endpoint](https://mi.earlydata.com/detail)

## Skill Output:

**Output Type(s):** [text, markdown]

**Output Format:** [Markdown-formatted text containing product detail data or Chinese error messages.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Uses a Taobao/Tmall item ID and API version 6.0; no credentials are requested by the artifact.]

## Skill Version(s):

1.0.5 (source: frontmatter and server release metadata)

## 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.

Sponsored

Ads related to 阿里商品详情查询 and adjacent AI workflows.