Shopee Category Request
1积分/次
ae_shopee_category_request
通过必填的类目 ID(node_id)查询 Shopee 类目下的畅销商品。可选 site 指定站点,支持 Unknown、VN、ID、SG、TH、MY、TW、PH、BR,默认 Unknown;可选 page 指定结果页码,默认第 1 页,每页 20 条记录。仅子类目支持历史回溯:可传入 yyyy-MM-dd 格式的 query_date,查询该日期所在自然周的历史数据;非子类目使用此日期参数无效。上游未提供固定的结果字段结构。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
每次调用查询指定的一页结果;查询其他页需另行调用,并按次收费。
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_shopee_category_request' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"node_id": "xxx"
}
}'- 请求方式
- POST
- 接口地址
- /agent-api/v1/tool/execute
- 鉴权方式
- X-Api-Key
- 超时时间
- 60 秒
响应示例
{
"error_no": 0,
"error_msg": "",
"result": [
{
"type": "text",
"text": "xxx"
}
],
"platform_annotations": {
"source": "AgentEarth",
"platform_note": "xxx",
"platform_suggestion": "xxx"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
page | integer | 否 | The page index of the query result. Defaults to page 1. Each page returns 20 records. | 1 |
site | enum (Unknown | VN | ID | SG | TH | MY | TW | PH | BR) | 否 | Shopee site. | Unknown |
node_id | string | 是 | The category ID to look up. | — |
query_date | string | 否 | Optional, format yyyy-MM-dd. If specified, used to query historical data for the natural week containing the date (only sub-categories support historical review; for non-sub-categories this parameter is invalid). | — |
使用该工具的指南
看看真实工作流里怎么用这个工具

