1688 Category Tree
1 credits/call
ae_ali1688_category_tree
Query the 1688 product category hierarchy. Omit the optional node_id string to retrieve top-level and second-level categories, or specify a node_id to retrieve that node's child categories. The provider does not specify a fixed output schema.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Omit node_id to retrieve top-level and second-level categories, or specify it to retrieve the node’s child categories. The fixed charge per call is unaffected by whether node_id is specified or how many categories are returned.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
node_id | string | No | Optional: if specified, returns the child categories of this node_id; if not specified, returns the top-level and second-level categories. Data type: string. | "" |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_ali1688_category_tree' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"node_id": "121828001"
}
}'Response exampleresponse.json
{
"data": [
{
"category_name": "嘴套",
"node_id": "201220511"
}
],
"doc": {
"category_name": "Category name.",
"children": "Array of child categories; each element contains category_name and node_id.",
"children.category_name": "Category name of the child category.",
"children.node_id": "NodeID of the child category.",
"node_id": "Category NodeID, used as input for subsequent category-scoped product/report/trend/keyword queries."
}
}This example shows part of the response. Copied content is valid JSON.
Guides using this tool
See how this tool fits into real workflows

