Shein Categories Scraper avatar
Shein Categories Scraper

Pricing

$4.00/month + usage

Go to Store
Shein Categories Scraper

Shein Categories Scraper

Developed by

Pinto Studio

Pinto Studio

Maintained by Community

The SHEIN Categories Actor is a web scraping tool that extracts category hierarchies from SHEIN's e-commerce website across different regional markets.

0.0 (0)

Pricing

$4.00/month + usage

0

Total users

1

Monthly users

1

Runs succeeded

>99%

Last modified

3 days ago

SHEIN Categories Actor Documentation

Overview

The SHEIN Categories Actor is a web scraping tool deployed on the Apify platform that extracts category hierarchies from SHEIN's e-commerce website across different regional markets. The actor retrieves structured category data including category IDs, names, parent-child relationships, and hierarchy levels for women's apparel and related categories.

Features

  • Scrapes complete category hierarchies from SHEIN
  • Supports 38+ regional markets with different country codes
  • Returns structured JSON data with category relationships
  • Handles nested subcategories with parent-child mapping
  • Provides comprehensive coverage of women's fashion categories

Input Parameters

Required Parameters

ParameterTypeDescriptionDefaultRequired
countryCodeStringTwo-letter country code for SHEIN regional site"us"Yes

Supported Country Codes

The actor supports the following country codes:

CodeCountryCodeCountryCodeCountry
usUnited StatesdeGermanyfrFrance
itItalychSwitzerlandplPoland
ptPortugalesSpainseSweden
ukUnited KingdomcaCanadamxMexico
brBrazilaeUAEsaSaudi Arabia
ruRussiajpJapankrSouth Korea
cnChinatwTaiwanhkHong Kong
auAustraliainIndiaidIndonesia
phPhilippinesmyMalaysiasgSingapore
trTurkeynlNetherlandsbeBelgium
atAustriadkDenmarknoNorway
fiFinlandieIrelandvnVietnam
thThailandilIsrael

Output Data Structure

The actor returns a structured JSON object containing category hierarchies:

{
"results": [
{
"children": [
{
"children": [
{
"children": [
{
"children": null,
"cat_id": "1727",
"cat_name": "Women Short Dresses",
"url_cat_id": null,
"cat_url_name": null,
"goods_type_id": null,
"parent_id": "12472",
"is_leaf": "1",
"cateCorrelation": "0"
}
],
"cat_id": "12472",
"cat_name": "Women Dresses",
"parent_id": "2030",
"is_leaf": "0"
}
],
"cat_id": "2030",
"cat_name": "Women Clothing",
"parent_id": "4436",
"is_leaf": "0"
}
],
"cat_id": "4436",
"cat_name": "Women Apparel",
"parent_id": "0"
}
],
"completedAt": "2025-06-04T12:04:51.531Z"
}

Data Fields Explanation

FieldTypeDescription
cat_idStringUnique category identifier
cat_nameStringDisplay name of the category
parent_idStringID of the parent category ("0" for root)
is_leafString"1" if leaf category, "0" if has children
childrenArray/nullArray of child categories or null if leaf
url_cat_idString/nullURL-specific category ID
cat_url_nameString/nullURL-friendly category name
goods_type_idString/nullProduct type identifier
cateCorrelationStringCategory correlation value

Category Hierarchy Examples

The actor captures comprehensive category structures including:

Main Categories

  • Women Apparel (Root category)
    • Women Clothing
    • Women Plus Clothing
    • Weddings & Events

Women Clothing Subcategories

  • Women Dresses

    • Women Short Dresses
    • Women Mini Dresses
    • Women Long Dresses
    • Women Midi Dresses
  • Women Tops, Blouses & Tee

    • Women Blouses
    • Women T-Shirts
    • Women Tank Tops & Camis
    • Women Tops
  • Women Bottoms

    • Women Skirts
    • Women Pants
    • Women Shorts
  • Women Outerwear

    • Women Coats
    • Women Jackets
    • Women Winter Coats
    • Women Faux Fur Coats
  • Women Beachwear

    • Women Bikini Sets
    • Women One-Pieces
    • Women Cover Ups
    • Women Swimming & Diving Suit

Usage Examples

Basic Usage

// Input
{
"countryCode": "us"
}

Regional Market Example

// Input for German market
{
"countryCode": "de"
}

Asian Market Example

// Input for Japanese market
{
"countryCode": "jp"
}

Error Handling

The actor includes comprehensive error handling:

  • Missing Country Code: Throws error if countryCode is not provided
  • Network Errors: Handles connection issues and API failures
  • Invalid Country Code: Validates against supported country list
  • Empty Results: Gracefully handles cases with no categories found

Best Practices

  1. Country Code Selection: Choose the appropriate country code for your target market
  2. Data Processing: The hierarchical structure allows for easy tree traversal
  3. Caching: Consider caching results as category structures change infrequently
  4. Error Handling: Always check for successful completion before processing results

Use Cases

  • E-commerce Analysis: Understanding SHEIN's category structure
  • Competitive Research: Analyzing product categorization strategies
  • Market Research: Comparing category availability across regions
  • Data Integration: Feeding category data into business intelligence systems
  • Automation: Building automated product categorization tools

Technical Requirements

  • Platform: Apify Cloud Platform
  • Runtime: Node.js environment
  • Dependencies: Built-in Apify SDK
  • Execution: Serverless container execution

Monitoring and Logging

The actor provides comprehensive logging:

  • Input parameter validation
  • Scraping progress updates
  • Success/failure notifications
  • Performance metrics
  • Error details and stack traces

Data Export Options

Results can be exported in multiple formats:

  • JSON (default)
  • CSV (flattened structure)
  • Excel
  • XML
  • RSS

Support

If you have any questions or encounter any issues, please consult the Apify documentation or reach out to us through one of the following channels: