Amazon Category Tree

1 credits/call
ae_amazon_category_tree

Browse the product category structure of an Amazon marketplace using amz_site. Leave node_id empty or omit it to retrieve top-level and second-level categories, or provide a node_id to retrieve its child categories. Both inputs are optional; amz_site defaults to "Unknow" and node_id to an empty string. The provider does not specify a fixed output schema.

Productivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Use amz_site to select the Amazon marketplace. Omit node_id or leave it empty to return top-level and second-level categories; provide node_id to return that node’s child categories. The marketplace and category node selections do not affect the fixed fee per call.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
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.""
amz_siteenum (Unknow | US | GB | DE | FR | IN | CA | JP | ES | IT | MX | AE | AU | BR | SA)NoAmazon marketplace site. Unknow

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_amazon_category_tree' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "amz_site": "AU",
    "node_id": "10554305051"
  }
}'
Response exampleresponse.json
JSON
{
  "data": [
    {
      "category_name": "Indoor-Outdoor String Lights",
      "node_id": "10554306051"
    }
  ],
  "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."
  }
}