Shopee Category Tree

1 credits/call
ae_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.

Productivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 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.

ParameterTypeRequiredDescriptionDefault
siteenum (Unknown | VN | ID | SG | TH | MY | TW | PH | BR)NoShopee site.Unknown
node_idstringNoOptional: 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-Key
Request coderequest.sh
curl --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"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "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.