1688 Get Shop Category

17.46积分/次
ae_ali1688_get_shop_category

获取指定 1688 店铺的所有分类,便于在采购过程中浏览店铺目录。请至少提供 shopUrl(店铺主页 URL)或 memberId(卖家会员 ID)中的一项,值为字符串。返回结果中,data 承载分类数据,code 表示结果代码,message 为可为空的说明,recordTime 为记录时间元数据。分类数据的具体结构未定义;本工具查询店铺分类,不直接返回商品列表或商品详情。

效率工具
17.46积分/次

价格说明

17.46积分/次
条件费用
每次调用17.46积分/次

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
shopUrlstring否1688 店铺主页 URL。请提供 shopUrl 或 memberId。—
memberIdstring否卖家会员 ID。请提供 memberId 或 shopUrl。—

调用示例

复制请求代码,查看对应的返回示例。

POST/agent-api/v1/tool/executeX-Api-Key
请求代码request.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_ali1688_get_shop_category' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "shopUrl": "https://shop9516620082g68.1688.com/"
  }
}'
返回示例response.json
JSON部分内容
{
  "code": 0,
  "data": {
    "is_custom": false,
    "list": [
      {
        "children": [],
        "count": 16,
        "full_name": "耳环",
        "id": 122700006,
        "name": "耳环"
      }
    ],
    "member_id": "b2b-2218547296452f47ac"
  },
  "message": null,
  "recordTime": "2026-11-08T15:40:05.935869042",
  "requestParams": {
    "body": null,
    "query": {
      "shopUrl": "https://shop9516620082g68.1688.com/"
    }
  }
}

返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。