Shopee API endpoint
Returns the homepage category tiles from the credential-free `api/v4/pages/get_homepage_category_list` JSON. Public, credential-free endpoint.
/shopee/home-categoriesPublic endpoint. Credential-free: no cookie, login or af-ac-enc-dat
anti-content header is required. Backed by Shopee's
api/v4/pages/get_homepage_category_list JSON.
Query parameters:
region (optional, default my) — one of my, sg, id, th, vn, ph, tw, br, mx, co, cl.Response includes region, total, and categories[] with category_id,
parent_category_id, name, display_name, image, and level.
| Field | Filled in, of 25 checked | Values in the sample |
|---|---|---|
| category_id | 25 | |
| name | 25 | “Mobile & Accessories” and 24 other values |
| display_name | 25 | |
| image | 25 | cf.shopee.com.my |
| level | 25 | 1 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| region | string | No | Shopee region: my, sg, id, th, vn, ph, tw, br, mx, co, cl (default my) Allowed values: my, sg, id, th, vn, ph, tw, br, mx, co, cl. | my | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/shopee/home-categories?region=my" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"region": "my",
"total": 25,
"categories": [
{
"category_id": 11000979,
"parent_category_id": 0,
"name": "Mobile & Accessories",
"display_name": "Mobile & Accessories",
"image": "https://cf.shopee.com.my/file/7ea3e07f",
"level": 1
}
]
}
}Request schema
No body schema
Response schema
#/definitions/shopee.homeCategoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | shopee.HomeCategoriesResponse | No | ||||
| data.categories | array | No | ||||
| data.categories[].category_id | integer | No | 11000979 | |||
| data.categories[].display_name | string | No | ||||
| data.categories[].image | string | No | ||||
| data.categories[].level | integer | No | 1 | |||
| data.categories[].name | string | No | Mobile & Accessories | |||
| data.categories[].parent_category_id | integer | No | ||||
| data.region | string | No | my | |||
| data.total | integer | No | 25 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/shopee/home-categories?region=my" \
-H "x-api-key: $CRAWLORA_API_KEY"