Alert

Actor is under maintenance

This actor may be unreliable while under maintenance. Would you like to try a similar actor instead?

Shein Scraper

  • natanielsantos/shein-scraper
  • Modified
  • Users 15
  • Runs 286
  • Created by Author's avatarnathanist

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

Free trial for 5 days

Then $30.00/month

No credit card required now

Shein Scraper

Free trial for 5 days

Then $30.00/month

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 product reviews
  • 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.
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) Sort search results.
search_max_pages_countinteger(optional) Maximum number of pages of search terms results you want to scrape. Default is us.shein.com.
max_items_countinteger(optional) Maximum number of items you want to scrape per run. Default is 0, which means will scrape all the products from the pages you provided.
include_reviewsboolean(optional) If you want to scrape the reviews. Default is true.
sort_reviews_bystring(optional) Sort reviews by newest, oldest, or default.
max_reviews_countinteger(optional) Maximum number of reviews you want to get. You can scrape up to 1000 per run. Default is 0, which means you don't want to scrape reviews.
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.
include_related_searchesboolean(optional) If you want to scrape the related searches. Default is true.
proxySettingsobject(optional) Proxy configuration

Check the Input Tab for more details.

Tips

  • When you want to have a scrape over a specific listing URL, just copy and paste the link as one of the start_urls
  • To avoid getting blocked, it is recommended to use Proxy servers, either your own proxy servers or Apify Proxy.
  • You can watch Apify Tutorials on how to use actors.

Input example

Scraping by URLs

{ "start_urls": [ { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-3308015-cat-2990.html" }, { "url": "https://us.shein.com/hotsale/Dresses-Top-Rated-sc-00329494.html" }, { "url": "https://us.shein.com/Women-Beachwear-c-2039.html" } ], "max_items_count": 200, "include_reviews": true, "sort_reviews_by": "newest", "max_reviews_count": 40, "shipping_to": "BR", "search_term": "", "search_sort_by": "default", "search_host": "br.shein.com", "search_max_pages_count": 2, "proxySettings":{"useApifyProxy": true} }

Scraping by search terms

{ "max_items_count": 200, "include_reviews": true, "sort_reviews_by": "newest", "max_reviews_count": 40, "shipping_to": "BR", "search_term": "red dress", "search_sort_by": "default", "search_host": "br.shein.com", "search_max_pages_count": 2, "proxySettings":{"useApifyProxy": true} }

Output Example

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

{ "title": "SHEIN EZwear Solid Elastic Waist Slant Pocket Sweatpants", "category_id": "2990", "category_name": "Women Sweatpants", "product_id": "3308015", "sku": "sw2108033203383441", "color": "Light Grey", "average_rating": 4.8, "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-3308015-cat-2990.html", "images": [ "https://img.ltwebstatic.com/images3_pi/2021/08/04/162807432750b234398e1fb79074240a778d65d3e6.jpg", "https://img.ltwebstatic.com/images3_pi/2021/08/04/16280743296b7d1b01d477b74c4d9adbb1d537be0f.jpg", "https://img.ltwebstatic.com/images3_pi/2021/08/04/16280743312ce14b9c3c9f307af116baa46654fda1.jpg", "https://img.ltwebstatic.com/images3_pi/2021/08/04/1628074333db49642edaff9a4d99d63f710c970fa8.jpg", "https://img.ltwebstatic.com/images3_pi/2021/08/04/1628074336fb22692b0f79dda90d878b00cda08d31.jpg", "https://img.ltwebstatic.com/images3_pi/2021/08/04/162807433931d231aa67162b1618cc0c1f267f101a.jpg", "https://img.ltwebstatic.com/images3_pi/2021/08/04/16280742261f0f8de364c0a540201b00e0dbb080ab.jpg" ], "retail_price": { "amount": 14, "amount_with_symbol": "$14.00" }, "sale_price": { "amount": 6.18, "amount_with_symbol": "$6.18" }, "sizes": [ { "attr_id": 87, "attr_name": "Size", "attr_value_id": 755, "attr_value_name": "XS", "attr_value_name_en": "XS", "Length ": " 100.5 cm", "Waist Size ": " 60 cm", "Hip Size ": " 97 cm", "Thigh ": " 59.5 cm" }, { "attr_id": 87, "attr_name": "Size", "attr_value_id": 568, "attr_value_name": "S", "attr_value_name_en": "S", "Length ": " 102 cm", "Waist Size ": " 64 cm", "Hip Size ": " 101 cm", "Thigh ": " 61.5 cm" }, { "attr_id": 87, "attr_name": "Size", "attr_value_id": 417, "attr_value_name": "M", "attr_value_name_en": "M", "Length ": " 103.5 cm", "Waist Size ": " 68 cm", "Hip Size ": " 105 cm", "Thigh ": " 63.5 cm" }, { "attr_id": 87, "attr_name": "Size", "attr_value_id": 387, "attr_value_name": "L", "attr_value_name_en": "L", "Length ": " 105 cm", "Waist Size ": " 74 cm", "Hip Size ": " 111 cm", "Thigh ": " 66.5 cm" } ], "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", "specs": [ { "name": "Color", "value": "Light Grey" }, { "name": "Type", "value": "Jogger" }, { "name": "Pattern Type", "value": "Plain" }, { "name": "Waist Line", "value": "High Waist" }, { "name": "Details", "value": "Pocket" }, { "name": "Length", "value": "Long" }, { "name": "Fit Type", "value": "Regular Fit" }, { "name": "Closure Type", "value": "Elastic Waist" }, { "name": "Fabric", "value": "Slight Stretch" }, { "name": "Material", "value": "Fabric" }, { "name": "Composition", "value": "97% Polyester" }, { "name": "Composition", "value": "3% Elastane" }, { "name": "Care Instructions", "value": "Machine wash or professional dry clean" }, { "name": "Body", "value": "Unlined" }, { "name": "Sheer", "value": "No" } ], "reviews_count": 1000, "category_tree": [ { "id": "4436", "name": "Women Apparel", "link": "https://us.shein.com/Women-Apparel-c-4436.html", "children": [ { "id": "2030", "name": "Women Clothing", "link": "https://us.shein.com/Women-Clothing-c-2030.html", "children": [ { "id": "1767", "name": "Women Bottoms", "link": "https://us.shein.com/Women-Bottoms-c-1767.html", "children": [ { "id": "2990", "name": "Women Sweatpants", "link": "https://us.shein.com/Women-Sweatpants-c-2990.html", "children": [] } ] } ] } ] } ], "has_discount": true, "discount_percentage": 56, "related_searches": [ "Women Clothing", "US Hot Sale", "sads", "US Clothing", "bottoms", "2021 Best Sellers Women Clothing", "111111", "2021 Best Sellers", "Best Selling", "Best sellers of Office and School Supplies", "cases sale", "FW21 Hot Sale", "HOT SUMMER RED SWEATER", "Best sellers of Holiday Decor Storage", "Best Selling Clothing", "Bottoms On Sale", "Influencer Top Picks", "Japan Osaka Popup store", "Bestsellers On Sale", "Women Clothing WI", "Cuccoo Elegant" ], "variants": [ { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-3308086-cat-2990.html", "product_id": "3308086", "sku": "sw2108041156134861", "image": "//img.ltwebstatic.com/images3_pi/2021/08/04/162807439309d19d1fb01493dd446206c5f83181fa.webp", "discount_percentage": 0, "retail_price": { "amount": 10.99, "amount_with_symbol": "$10.99" }, "sale_price": { "amount": 10.99, "amount_with_symbol": "$10.99" }, "has_discount": false, "color": "Baby Blue" }, { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-5559757-cat-2990.html", "product_id": "5559757", "sku": "sw2110048857736268", "image": "https://img.ltwebstatic.com/images3_pi/2021/10/09/1633777268750ec25b7bb48491279c10cd83199aa8.webp", "discount_percentage": 0, "retail_price": { "amount": 11.49, "amount_with_symbol": "$11.49" }, "sale_price": { "amount": 11.49, "amount_with_symbol": "$11.49" }, "has_discount": false, "color": "Rust Brown" }, { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-5560857-cat-2990.html", "product_id": "5560857", "sku": "sw2110044308313792", "image": "https://img.ltwebstatic.com/images3_pi/2021/10/09/16337772507df5464618930a1ec94a9ec3b777c1e1.webp", "discount_percentage": 0, "retail_price": { "amount": 11.49, "amount_with_symbol": "$11.49" }, "sale_price": { "amount": 11.49, "amount_with_symbol": "$11.49" }, "has_discount": false, "color": "Dark Grey" }, { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-9867750-cat-2990.html", "product_id": "9867750", "sku": "sw2202201402811968", "image": "https://img.ltwebstatic.com/images3_pi/2022/02/23/164561127345258805d9d297314695af257ac35fda.webp", "discount_percentage": 0, "retail_price": { "amount": 10.99, "amount_with_symbol": "$10.99" }, "sale_price": { "amount": 10.99, "amount_with_symbol": "$10.99" }, "has_discount": false, "color": "Green" }, { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-9867871-cat-2990.html", "product_id": "9867871", "sku": "sw2202204431181581", "image": "https://img.ltwebstatic.com/images3_pi/2022/02/23/164559997531ec7cf2671c8e84432dd99bdced7f97.webp", "discount_percentage": 0, "retail_price": { "amount": 10.99, "amount_with_symbol": "$10.99" }, "sale_price": { "amount": 10.99, "amount_with_symbol": "$10.99" }, "has_discount": false, "color": "Apricot" }, { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-11590084-cat-2990.html", "product_id": "11590084", "sku": "sw2108032237867186", "image": "https://img.ltwebstatic.com/images3_pi/2022/10/14/1665733884f21635789978b6aaac8bab6ef87ef692.webp", "discount_percentage": 0, "retail_price": { "amount": 10.99, "amount_with_symbol": "$10.99" }, "sale_price": { "amount": 10.99, "amount_with_symbol": "$10.99" }, "has_discount": false, "color": "Navy Blue" }, { "url": "https://us.shein.com/SHEIN-EZwear-Solid-Elastic-Waist-Slant-Pocket-Sweatpants-p-10745804-cat-2990.html", "product_id": "10745804", "sku": "sw2205079989925929", "image": "https://img.ltwebstatic.com/images3_pi/2022/06/02/16541338460de837302f68311a2bcaf25e1d82f574.webp", "discount_percentage": 0, "retail_price": { "amount": 11.49, "amount_with_symbol": "$11.49" }, "sale_price": { "amount": 11.49, "amount_with_symbol": "$11.49" }, "has_discount": false, "color": "Royal Blue" } ], "reviews": [ { "id": "896852743", "user_name": "P***l", "member_id": "73768079", "rating": 5, "language": "en", "date": "2021-09-20 23:14:09", "order_date": "2021-09-09 03:37:20", "color": "Grey", "content": "These are so cute and soft!!! they be any other cheap sweatpants I’ve had for example from Walmart and target. definitely size up if you like that baggy look. they are actually super flattering and snatcher on your waist!! all of my measurements are correct please give this a like if it helps you", "likes": "6804", "dislikes": "0", "product_id": "3308015", "size": "L", "images": [ "https://img.ltwebstatic.com/images3/2021/09/20/16321508092786c60d21f46662b888c9c13c68962d.jpg", "https://img.ltwebstatic.com/images3/2021/09/20/16321508118864aa76f59b1dbdac51572596771319.jpg", "https://img.ltwebstatic.com/images3/2021/09/20/1632150813584f6dfaafac9f8759fe98724bd87c04.jpg" ] }, { "id": "906116553", "user_name": "a***2", "member_id": "1062714083", "rating": 5, "language": "en", "date": "2021-09-26 00:10:55", "order_date": "2021-09-06 00:14:47", "color": "Grey", "content": "sooo comfy not see through !", "likes": "5159", "dislikes": "0", "product_id": "3308015", "size": "S", "images": [ "https://img.ltwebstatic.com/images3/2021/09/26/1632586248d2005e8ac39d24fbe552676254e5a991.jpg", "https://img.ltwebstatic.com/images3/2021/09/26/163258624956f2a12b8c327f05aec0e6bbcead90f8.jpg", "https://img.ltwebstatic.com/images3/2021/09/26/163258625189e524d74570872ceb995fcd6be7777e.jpg" ] }, ], "shipping_info": [ { "title": "STANDARD SHIPPING", "starting_price": { "amount": 3.99, "amount_with_symbol": "$3.99", "usd_amount": 3.99, "usd_amount_with_symbol": "$3.99" }, "shipping_country_name": "United States", "supports_free_shipping": true, "free_shipping_threshold": { "amount": 29, "amount_with_symbol": "$29.00", "usd_amount": 29, "usd_amount_with_symbol": "$29.00" }, "expect_time": "10-12", "type": "stand_shipping", "transport_type": "standard_express" }, { "title": "EXPRESS SHIPPING", "starting_price": { "amount": 12.9, "amount_with_symbol": "$12.90", "usd_amount": 12.9, "usd_amount_with_symbol": "$12.90" }, "shipping_country_name": "United States", "supports_free_shipping": true, "free_shipping_threshold": { "amount": 129, "amount_with_symbol": "$129.00", "usd_amount": 129, "usd_amount_with_symbol": "$129.00" }, "expect_time": "7-9", "type": "express_shipping", "transport_type": "urgent_express" } ], "series_info": { "id": 4475, "name": "SHEIN EZwear", "image": "http://img.ltwebstatic.com/images3_pi/2023/04/07/1680866124a4d774acfb4fd9e88e7740fd5939abaa.png", "url": "https://us.shein.com/Series-recommend/EZwear-sc-667128262.html", "url_id": "667128262", "description": "SHEIN EZwear dials in casual-cool with the latest in laid-back threads." } }

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.