SHEIN API endpoint
Returns the filter facets for a SHEIN category by the required numeric `cat_id`, such as sizes, colours and composition. Each group has a `node_id`, `node_name` and a list of options with their own ids and names. Also returns `min_price`, `max_price` and the `currency`.
/shein/category/filtersReturns the filter facets (sizes, colors, materials, …) and price range for a SHEIN category.
Query parameters:
cat_id (required) — numeric SHEIN category id, e.g. 1766.Response data includes min_price / max_price (in the category's currency),
currency, and a filters array of facet groups {node_id, node_name, options[]} where each option is {node_id, node_name}.
| Field | Filled in, of 15 checked | Values in the sample |
|---|---|---|
| node_id | 15 | |
| node_name | 15 | “Size” and 14 other values |
| options | 15 | median 15 entries |
| 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/filters?cat_id=1766" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"cat_id": "1766",
"min_price": 18,
"max_price": 569,
"currency": "HK$",
"filters": [
{
"node_id": "87",
"node_name": "Size",
"options": [
{
"node_id": "87_757",
"node_name": "XXS"
},
{
"node_id": "87_755",
"node_name": "XS"
}
]
},
{
"node_id": "62",
"node_name": "Composition",
"options": [
{
"node_id": "62_526",
"node_name": "Polyester"
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/shein.categoryFiltersResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | shein.CategoryFiltersResponse | No | ||||
| data.cat_id | string | No | 1766 | |||
| data.currency | string | No | HK$ | |||
| data.filters | array | No | Filter record, 5 fields: node_id, node_name, options. Described under SHEIN Categories API. | |||
| data.max_price | number | No | 569 | |||
| data.min_price | number | No | 18 | |||
| 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/filters?cat_id=1766" \
-H "x-api-key: $CRAWLORA_API_KEY"