Shein Scraper avatar

Shein Scraper

Try for free

2 days trial then $30.00/month - No credit card required now

Go to Store
Shein Scraper

Shein Scraper

natanielsantos/shein-scraper
Try for free

2 days trial then $30.00/month - No credit card required now

Scrape product data from Shein with this reliable tool. Extract price, images, description, sizes, category, shipping price and much more. Download your data as HTML table, JSON, CSV, Excel, XML, and RSS feed.

What does Shein Scraper do?

Shein Scraper is a web scraper that collects product information from the Shein website.

This actor supports the following features:

  • Scrape product details - it allows users to scrape information such as product name, prices, description, images, shipping prices, category, rating and more.(more info below)
  • Scrape by search terms - you can get all the product data from the results of your specified search
  • Scrape products by categories and subcategories
  • Scrape products by collection

Input Parameters

FieldTypeDescription
start_urlsarray(optional) List of Shein URLs. You can provide a product detail URL or any URL that contains a list of products, such as category URL, top rated URL, etc.
max_items_countinteger(optional) Maximum number of items you want to scrape per run. It will automatically paginate through to each URL, until it reaches the limit.
max_items_per_urlinteger(optional) Instead of specifying Max items, you can specify how many items you want to scrape per URL. It will automatically paginate through to each listing URL of products that you provide in Start URLs. Leave this field blank if you want to use Max items instead.
shipping_tostring(optional) The country you want to get the shipping price. Default is US.
include_series_infoboolean(optional) If you want to scrape the series information. Default is true.
search_termstring(optional) Search term to use get the list of results. If you add a term, the start URLs will be ignored.
search_hoststring(optional) The shein host you want to get the results from. Default is us.shein.com.
search_sort_bystring(optional ) You can sort the search results by default top_rated, price_low_to_high, price_high_to_low, new_arrivals.
search_max_pages_countinteger(optional) Maximum number of pages of search terms results you want to scrape. Default is 1.

Check the Input Tab for more details.

Tips

  • When you want to have a scrape over a specific listing URL, just copy the url from the shein website and paste in start_urls
  • You can watch Apify Tutorials on how to use actors.

Input example

Scraping by URLs

1{
2    "start_urls": [
3        { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-3308015-cat-2990.html" },
4	    { "url": "https://us.shein.com/hotsale/Dresses-Top-Rated-sc-00329494.html" },
5        { "url": "https://us.shein.com/Women-Beachwear-c-2039.html" }
6    ],
7    "max_items_count": 2000,
8    "shipping_to": "US"
9}

Scraping by URLs (scrape 400 products from each URL)

1{
2    "start_urls": [
3        { "url": "https://us.shein.com/style/Dresses-sc-001148338.html" },
4	      { "url": "https://us.shein.com/hotsale/Dresses-Top-Rated-sc-00329494.html" },
5        { "url": "https://us.shein.com/Women-Beachwear-c-2039.html" }
6    ],
7    "max_items_per_url": 400,
8}

Scraping by search terms

1{
2    "max_items_count": 200,
3    "shipping_to": "BR",
4    "search_term": "red dress",
5    "search_sort_by": "default",
6    "search_host": "br.shein.com",
7    "search_max_pages_count": 2
8}

Output Example

The structure of each item in Shein products looks like this:

1{
2    "title": "SHEIN EZwear Solid Elastic Waist Slant Pocket Sweatpants",
3    "category_id": "2990",
4    "category_name": "Women Sweatpants",
5    "product_id": "3308015",
6    "sku": "sw2108033203383441",
7    "color": "Light Grey",
8    "average_rating": 4.8,
9    "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-3308015-cat-2990.html",
10    "images": [
11      "https://img.ltwebstatic.com/images3_pi/2021/08/04/162807432750b234398e1fb79074240a778d65d3e6.jpg",
12      "https://img.ltwebstatic.com/images3_pi/2021/08/04/16280743296b7d1b01d477b74c4d9adbb1d537be0f.jpg",
13      "https://img.ltwebstatic.com/images3_pi/2021/08/04/16280743312ce14b9c3c9f307af116baa46654fda1.jpg",
14      "https://img.ltwebstatic.com/images3_pi/2021/08/04/1628074333db49642edaff9a4d99d63f710c970fa8.jpg",
15      "https://img.ltwebstatic.com/images3_pi/2021/08/04/1628074336fb22692b0f79dda90d878b00cda08d31.jpg",
16      "https://img.ltwebstatic.com/images3_pi/2021/08/04/162807433931d231aa67162b1618cc0c1f267f101a.jpg",
17      "https://img.ltwebstatic.com/images3_pi/2021/08/04/16280742261f0f8de364c0a540201b00e0dbb080ab.jpg"
18    ],
19    "retail_price": {
20      "amount": 8.49,
21      "amount_with_symbol": "$8.49",
22      "usd_amount": 8.49,
23      "usd_amount_with_symbol": "$8.49"
24    },
25    "sale_price": {
26      "amount": 7.99,
27      "amount_with_symbol": "$7.99",
28      "usd_amount": 7.99,
29      "usd_amount_with_symbol": "$7.99"
30    },
31    "sizes": [
32      {
33        "attr_value_name": "S-XL",
34        "attr_value_name_en": "S-XL",
35        "is_sold_out": false
36      },
37      {
38        "attr_value_name": "0XL",
39        "attr_value_name_en": "0XL",
40        "attr_local_size_value": "12",
41        "is_sold_out": false
42      },
43      {
44        "attr_value_name": "1XL",
45        "attr_value_name_en": "1XL",
46        "attr_local_size_value": "14",
47        "is_sold_out": false
48      },
49      {
50        "attr_value_name": "2XL",
51        "attr_value_name_en": "2XL",
52        "attr_local_size_value": "16",
53        "is_sold_out": false
54      },
55      {
56        "attr_value_name": "3XL",
57        "attr_value_name_en": "3XL",
58        "attr_local_size_value": "18",
59        "is_sold_out": false
60      },
61      {
62        "attr_value_name": "4XL",
63        "attr_value_name_en": "4XL",
64        "attr_local_size_value": "20",
65        "is_sold_out": false
66      }
67    ],
68    "description": "Color: Light Grey\nType: Jogger\nPattern Type: Plain\nWaist Line: High Waist\nDetails: Pocket\nLength: Long\nFit Type: Regular Fit\nClosure Type: Elastic Waist\nFabric: Slight Stretch\nMaterial: Fabric\nComposition: 97% Polyester\nComposition: 3% Elastane\nCare Instructions: Machine wash or professional dry clean\nBody: Unlined\nSheer: No\n",
69    "specs": [
70      {
71        "name": "Color",
72        "value": "Light Grey"
73      },
74      {
75        "name": "Type",
76        "value": "Jogger"
77      },
78      {
79        "name": "Pattern Type",
80        "value": "Plain"
81      },
82      {
83        "name": "Waist Line",
84        "value": "High Waist"
85      },
86      {
87        "name": "Details",
88        "value": "Pocket"
89      },
90      {
91        "name": "Length",
92        "value": "Long"
93      },
94      {
95        "name": "Fit Type",
96        "value": "Regular Fit"
97      },
98      {
99        "name": "Closure Type",
100        "value": "Elastic Waist"
101      },
102      {
103        "name": "Fabric",
104        "value": "Slight Stretch"
105      },
106      {
107        "name": "Material",
108        "value": "Fabric"
109      },
110      {
111        "name": "Composition",
112        "value": "97% Polyester"
113      },
114      {
115        "name": "Composition",
116        "value": "3% Elastane"
117      },
118      {
119        "name": "Care Instructions",
120        "value": "Machine wash or professional dry clean"
121      },
122      {
123        "name": "Body",
124        "value": "Unlined"
125      },
126      {
127        "name": "Sheer",
128        "value": "No"
129      }
130    ],
131    "reviews_count": 1000,
132    "category_tree": [
133      {
134        "id": "4436",
135        "name": "Women Apparel",
136        "link": "https://us.shein.com/Women-Apparel-c-4436.html",
137        "children": [
138          {
139            "id": "2030",
140            "name": "Women Clothing",
141            "link": "https://us.shein.com/Women-Clothing-c-2030.html",
142            "children": [
143              {
144                "id": "1767",
145                "name": "Women Bottoms",
146                "link": "https://us.shein.com/Women-Bottoms-c-1767.html",
147                "children": [
148                  {
149                    "id": "2990",
150                    "name": "Women Sweatpants",
151                    "link": "https://us.shein.com/Women-Sweatpants-c-2990.html",
152                    "children": []
153                  }
154                ]
155              }
156            ]
157          }
158        ]
159      }
160    ],
161    "has_discount": true,
162    "discount_percentage": 56,
163    "variants": [
164      {
165        "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-3308086-cat-2990.html",
166        "product_id": "3308086",
167        "sku": "sw2108041156134861",
168        "image": "//img.ltwebstatic.com/images3_pi/2021/08/04/162807439309d19d1fb01493dd446206c5f83181fa.webp",
169        "discount_percentage": 0,
170        "retail_price": {
171          "amount": 8.89,
172          "amount_with_symbol": "$8.89",
173          "usd_amount": 8.89,
174          "usd_amount_with_symbol": "$8.89"
175        },
176        "sale_price": {
177          "amount": 6.76,
178          "amount_with_symbol": "$6.76",
179          "usd_amount": 6.76,
180          "usd_amount_with_symbol": "$6.76"
181        },
182        "has_discount": true,
183        "color": "Baby Blue",
184        "main_sale_attr": {
185          "id": 27,
186          "name": "Color",
187          "name_en": "Color",
188          "value": "Brown",
189          "value_en": "Brown",
190          "value_id": "140",
191          "is_sold_out": false
192        },
193        "second_sale_attrs": [
194          {
195            "id": "87",
196            "name": "Size",
197            "name_en": "Size",
198            "values": [
199              {
200                "id": "1",
201                "value": "0XL",
202                "value_en": "0XL",
203                "is_sold_out": false
204              },
205              {
206                "id": "4",
207                "value": "1XL",
208                "value_en": "1XL",
209                "is_sold_out": false
210              },
211              {
212                "id": "13",
213                "value": "2XL",
214                "value_en": "2XL",
215                "is_sold_out": false
216              },
217              {
218                "id": "24",
219                "value": "3XL",
220                "value_en": "3XL",
221                "is_sold_out": false
222              },
223              {
224                "id": "32",
225                "value": "4XL",
226                "value_en": "4XL",
227                "is_sold_out": false
228              }
229            ]
230          }
231        ],
232        "specs": [
233          {
234            "id": "101",
235            "name": "Style",
236            "name_en": "Style",
237            "value": "Casual",
238            "value_en": "Casual",
239            "value_id": "167"
240          },
241          {
242            "id": "92",
243            "name": "Sleeve Type",
244            "name_en": "Sleeve Type",
245            "value": "Regular Sleeve",
246            "value_en": "Regular Sleeve",
247            "value_id": "892"
248          },
249          {
250            "id": "27",
251            "name": "Color",
252            "name_en": "Color",
253            "value": "Brown",
254            "value_en": "Brown",
255            "value_id": "140"
256          },
257          {
258            "id": "73",
259            "name": "Pattern Type",
260            "name_en": "Pattern Type",
261            "value": "Colorblock",
262            "value_en": "Colorblock",
263            "value_id": "195"
264          },
265          {
266            "id": "73",
267            "name": "Pattern Type",
268            "name_en": "Pattern Type",
269            "value": "Figure",
270            "value_en": "Figure",
271            "value_id": "293"
272          },
273          {
274            "id": "73",
275            "name": "Pattern Type",
276            "name_en": "Pattern Type",
277            "value": "Halloween",
278            "value_en": "Halloween",
279            "value_id": "345"
280          },
281          {
282            "id": "66",
283            "name": "Neckline",
284            "name_en": "Neckline",
285            "value": "Round Neck",
286            "value_en": "Round Neck",
287            "value_id": "560"
288          },
289          {
290            "id": "90",
291            "name": "Sleeve Length",
292            "name_en": "Sleeve Length",
293            "value": "Short Sleeve",
294            "value_en": "Short Sleeve",
295            "value_id": "592"
296          }
297        ],
298        "images": [
299          "http://img.ltwebstatic.com/images3_pi/2024/08/02/cc/1722583356fd97043e261bc60a702156a3851800ca_thumbnail_750x999.webp",
300          "http://img.ltwebstatic.com/images3_pi/2024/08/02/5a/17225833525644ac1b88de8e879dc90eac9c9b82a4_thumbnail_750x999.webp",
301          "http://img.ltwebstatic.com/images3_pi/2024/08/02/3a/1722583349d641b1c2321651279d09ac1bde1fe599_thumbnail_750x999.webp",
302          "http://img.ltwebstatic.com/images3_pi/2024/08/02/d5/1722583359d40c779588620b960f0583061ab9bef5_thumbnail_750x999.webp",
303          "http://img.ltwebstatic.com/images3_pi/2024/08/02/69/1722583363ddc52dbe6a9665418f9e0c4dc57e0627_thumbnail_750x999.webp",
304          "http://img.ltwebstatic.com/images3_pi/2024/08/02/1d/172258336628e13c437b8e5ef5816b562849862315_thumbnail_750x999.webp",
305          "http://img.ltwebstatic.com/images3_pi/2024/08/02/db/17225833707dca3e214f7ba3834d7c18b7c6bd7a82_thumbnail_750x999.webp"
306        ]
307      },
308    ],
309    "shipping_info": [
310      {
311        "title": "STANDARD SHIPPING",
312        "starting_price": {
313          "amount": 3.99,
314          "amount_with_symbol": "$3.99",
315          "usd_amount": 3.99,
316          "usd_amount_with_symbol": "$3.99"
317        },
318        "shipping_country_name": "United States",
319        "supports_free_shipping": true,
320        "free_shipping_threshold": {
321          "amount": 29,
322          "amount_with_symbol": "$29.00",
323          "usd_amount": 29,
324          "usd_amount_with_symbol": "$29.00"
325        },
326        "expect_time": "10-12",
327        "type": "stand_shipping",
328        "transport_type": "standard_express"
329      },
330      {
331        "title": "EXPRESS SHIPPING",
332        "starting_price": {
333          "amount": 12.9,
334          "amount_with_symbol": "$12.90",
335          "usd_amount": 12.9,
336          "usd_amount_with_symbol": "$12.90"
337        },
338        "shipping_country_name": "United States",
339        "supports_free_shipping": true,
340        "free_shipping_threshold": {
341          "amount": 129,
342          "amount_with_symbol": "$129.00",
343          "usd_amount": 129,
344          "usd_amount_with_symbol": "$129.00"
345        },
346        "expect_time": "7-9",
347        "type": "express_shipping",
348        "transport_type": "urgent_express"
349      }
350    ],
351    "series_info": {
352      "id": 4475,
353      "name": "SHEIN EZwear",
354      "image": "http://img.ltwebstatic.com/images3_pi/2023/04/07/1680866124a4d774acfb4fd9e88e7740fd5939abaa.png",
355      "url": "https://us.shein.com/Series-recommend/EZwear-sc-667128262.html",
356      "url_id": "667128262",
357      "description": "SHEIN EZwear dials in casual-cool with the latest in laid-back threads."
358    }
359  }

Integrations and Shein Scraper

Last but not least, Shein Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Shein Scraper successfully finishes a run.

Using Shein Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details.

Giving feedback

If you have any feature requests or bug reports, please create an issue on the Issues page.

Developer
Maintained by Community

Actor Metrics

  • 19 monthly users

  • 6 stars

  • 99% runs succeeded

  • 24 days response time

  • Created in Apr 2023

  • Modified 12 days ago

Categories