Shopee Category Tree
Browse the Shopee product category hierarchy by site. Omit node_id to query top-level and second-level categories, or supply a category node ID as a string to query its child categories. The optional site parameter supports Unknown, VN, ID, SG, TH, MY, TW, PH, and BR and defaults to Unknown; node_id defaults to an empty string. The provider has not specified the response field structure.
Pricing
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Queries the Shopee product category hierarchy. Omit node_id to query top-level and second-level categories, or provide a category node ID as a string to query its child categories. The selected site and whether a category node ID is supplied do not affect the fixed charge per call.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
site | enum (Unknown | VN | ID | SG | TH | MY | TW | PH | BR) | No | Shopee site. | Unknown |
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.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_shopee_category_tree' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"node_id": "11040978",
"site": "TW"
}
}'{
"data": [
{
"category_name": "植栽、盆栽",
"node_id": "11040983"
}
],
"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.

