Lazada API endpoint
Returns one Lazada country storefront's public category directory from the server-rendered LazMall navigation menu. The response includes top-level groups, categories, and subcategory links; it does not include product listings.
/lazada/categoriesReturns one Lazada country storefront's public category directory from the
LazMall navigation menu. groups contains top-level labels; each group has
categories and, where available, child-category links. This endpoint is a
reference taxonomy and does not return product listings -- pass a category's
url path segment (e.g. dien-thoai-di-dong from
https://www.lazada.vn/dien-thoai-di-dong/) as the category parameter to
category-products to browse its products.
Parameters:
country (optional): Lazada country storefront. Defaults to id.
Allowed values: id, ph, th, my, vn, sg.x-api-key (required): Crawlora API key.Example response (country=vn):
{
"code": 200,
"msg": "OK",
"data": {
"region": "VN",
"groups": [
{
"name": "Điện Thoại & Máy Tính Bảng",
"categories": [
{
"name": "Điện Thoại Di Động",
"url": "https://www.lazada.vn/dien-thoai-di-dong/",
"children": [
{
"name": "Smartphone",
"url": "https://www.lazada.vn/smartphone/"
}
]
}
]
}
],
"source_url": "https://pages.lazada.vn/wow/i/vn/LandingPage/lazmall?wh_weex=true",
"fetched_at": "2026-09-01T00:00:00Z"
}
}
| Field | Filled in, of 12 checked | Values in the sample |
|---|---|---|
| name | 12 | “Electronic Accessories” and 11 other values |
| categories | 12 | median 10 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| country | string | No | id | Lazada country storefront. Defaults to id. Allowed values: id, ph, th, my, vn, sg. | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/lazada/categories?country=us" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"region": "VN",
"groups": [
{
"name": "Điện Thoại & Máy Tính Bảng",
"categories": [
{
"name": "Điện Thoại Di Động",
"url": "https://www.lazada.vn/dien-thoai-di-dong/",
"children": [
{
"name": "Smartphone",
"url": "https://www.lazada.vn/smartphone/"
}
]
}
]
}
],
"source_url": "https://pages.lazada.vn/wow/i/vn/LandingPage/lazmall?wh_weex=true",
"fetched_at": "2026-09-01T00:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/lazada.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | lazada.CategoryDirectoryResponse | No | ||||
| data.fetched_at | string | No | 2026-08-28T04:00:00Z | |||
| data.groups | array | No | ||||
| data.groups[].categories | array | No | ||||
| data.groups[].categories[].children | array | No | ||||
| data.groups[].categories[].name | string | No | Laptop | |||
| data.groups[].categories[].url | string | No | https://www.lazada.co.id/shop-beli-laptop/ | |||
| data.groups[].name | string | No | Elektronik | |||
| data.region | string | No | ID | |||
| data.source_url | string | No | https://pages.lazada.co.id/wow/i/id/LandingPage/lazmall?wh_weex=true | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/lazada/categories?country=us" \
-H "x-api-key: $CRAWLORA_API_KEY"