aliexpress_category_ids
Discover AliExpress web category IDs from a keyword or category listing page; each result includes parent, depth, and full path for category inspection.
Instructions
Discover AliExpress web category ids. Returns the AliExpress web category ids that its own product cards carry on one listing page, with each id's parent, depth and full category path. Pass q to discover the categories of products matching a keyword, or category_id to inspect one category listing. Pass exactly one of them. The ids are the same web category ids used in /category//.html URLs and by the search endpoint's cat_id parameter; they are NOT the platform/taxonomy ids returned by the categories endpoint. A parent category listing contains products from its descendants, so inspecting a category reveals its child ids, and every returned path names that id's ancestors: the value space is discoverable by walking from a keyword or a category id rather than guessing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text keywords whose result cards' web category ids are returned; pass exactly one of q or category_id | |
| page | No | 1-indexed listing page to inspect (1-60), defaults to 1 | |
| category_id | No | AliExpress web category id whose listing is inspected; a parent category reveals its descendants' ids. Pass exactly one of q or category_id |