Query Parameters
Shopee storefront code. The category tree is localized per market.Examples: sg, my, th, vn
Response
Storefront the tree applies to.
Recursive array of category nodes.
Parent category ID (0/null for top-level).
Human-facing localized name.
Category icon/thumbnail CDN URL (nullable).
Recursive array of child category nodes.
Example Response
{
"market": "sg",
"categories": [
{
"category_id": 11000001,
"parent_id": 0,
"name": "Mobile & Gadgets",
"display_name": "Mobile & Gadgets",
"image": "https://cf.shopee.sg/file/cat-mobile",
"children": [
{
"category_id": 11012345,
"parent_id": 11000001,
"name": "Audio",
"display_name": "Audio",
"image": "https://cf.shopee.sg/file/cat-audio",
"children": []
}
]
}
]
}
The category tree costs 2 credits. Failed requests are not charged.