SHEIN API endpoint
Returns the subcategory navigation tabs for a SHEIN category, by the required numeric `cat_id`. Each tab has its `nav_id`, `nav_name`, `nav_type`, `nav_img` and the `goods_id` of a representative product.
/shein/category/navQuery parameters:
cat_id (required) — numeric SHEIN category id, e.g. 1766.Response data.navs is an array of {nav_id, nav_name, nav_type, nav_img, goods_id}.
| Field | Filled in, of 4 checked | Values in the sample |
|---|---|---|
| nav_id | 4 | |
| nav_name | 4 | “T-Shirts” and 3 other values |
| nav_type | 4 | 1 |
| nav_img | 4 | img.ltwebstatic.com |
| goods_id | 4 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| cat_id | string | Yes | Numeric SHEIN category id | 1766 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/shein/category/nav?cat_id=1766" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"cat_id": "1766",
"navs": [
{
"nav_id": "1738",
"nav_name": "T-Shirts",
"nav_type": "1",
"nav_img": "http://img.ltwebstatic.com/…",
"goods_id": "52544880"
},
{
"nav_id": "1733",
"nav_name": "Blouses & Shirts",
"nav_type": "1",
"goods_id": "63966027"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/shein.categoryNavResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | shein.CategoryNavResponse | No | ||||
| data.cat_id | string | No | 1766 | |||
| data.navs | array | No | ||||
| data.navs[].goods_id | string | No | 52544880 | |||
| data.navs[].nav_id | string | No | 1738 | |||
| data.navs[].nav_img | string | No | ||||
| data.navs[].nav_name | string | No | T-Shirts | |||
| data.navs[].nav_type | string | No | 1 | |||
| 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/shein/category/nav?cat_id=1766" \
-H "x-api-key: $CRAWLORA_API_KEY"