# SHEIN Scraper: Products, Prices, Ratings and Discounts (`themineworks/shein-scraper`) Actor

Scrape SHEIN products by keyword or category link on the Canada, Australia and New Zealand stores: price, sale price, discount, rating, reviews count, fit, brand, store, bestseller rank and images. No login.

- **URL**: https://apify.com/themineworks/shein-scraper.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.72 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SHEIN Scraper: Products, Prices, Ratings and Discounts

[![20 SHEIN products with price, rating, reviews count and fit in about a minute](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/shein-scraper-hero.png)](https://console.apify.com/actors/g66btJQVZgkMwWaAF/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

Returns SHEIN products by keyword or category link from the Canada, Australia and New Zealand stores (these three only; the US, UK and EU stores are not served), one row per product with name, product id, SKU, price, sale price, discount, rating, reviews count, fit (true to size, small, large), category, brand, store, bestseller rank label, stock flag and images. No login, no cookies, no API key. You pay $0.90 per 1,000 products on the Free plan and $0.72 per 1,000 on the Gold plan, plus a $0.003 start fee per run.

**Part of The Mine Works E-commerce and marketplaces family:** [Ozon.ru Scraper](https://apify.com/themineworks/ozon-product-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [⭐ Amazon Reviews Scraper](https://apify.com/themineworks/amazon-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Etsy Listings Scraper](https://apify.com/themineworks/etsy-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [AliExpress Scraper](https://apify.com/themineworks/aliexpress-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Kleinanzeigen.de Scraper](https://apify.com/themineworks/kleinanzeigen-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral).

Updated 20 Nov 2026: first release. Keywords and category, search and selection links; wider search over SHEIN's sort orders and price bands, up to about 160 products per keyword or link. Bookmark this Actor on its Store page so it is one click away next time.

### Why choose this actor?

- **The numbers you compare, in columns.** `price`, `original_price`, `discount_percent`, `price_usd`, `rating`, `reviews_count` and the three fit percentages are plain numbers on every row, so a whole search sorts by price, discount or rating in a spreadsheet without cleaning text.
- **Fit and rank in the same row.** Every row has the share of shoppers who found the item true to size, small or large, the bestseller rank label SHEIN shows ("#2 Bestseller in Yellow Women Short Dresses") and the brand or label.
- **Real SHEIN data, read from SHEIN.** Every row comes from the SHEIN store page itself, not from Google Shopping or a cached feed, in the store's own currency with the US dollar value next to it.
- **Pay per product, nothing for errors.** Links that are not SHEIN links, the summary row and products found twice in one run are never charged.

[![Run it on Apify](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/button-run.png)](https://console.apify.com/actors/g66btJQVZgkMwWaAF/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

### Try it in one minute

Paste this into the input (JSON view) and press Start. It returns the first 20 products for "linen pants" on the Canada store. It took about a minute in our test runs:

```json
{
  "searchQueries": ["linen pants"],
  "maxItemsPerSearch": 20
}
```

Put several keywords on separate lines to run several searches at once, or paste a category link into `startUrls`.

Apify's free plan includes $5 of credit every month, which covers about 5,000 products at this actor's price.

#### Copy to your AI assistant

```text
themineworks/shein-scraper on Apify. Searches SHEIN (Canada, Australia or New Zealand store only) by keyword or category link and returns one flat row per product with price, original price, discount, rating, reviews count, fit, category, brand, store and images, with no login. Call ApifyClient("TOKEN").actor("themineworks/shein-scraper").call(run_input={"searchQueries": ["linen pants"], "country": "CA", "maxItemsPerSearch": 60}), then client.dataset(run["defaultDatasetId"]).list_items().items. Give searchQueries (keywords), startUrls (ca.shein.com, au.shein.com or nz.shein.com category, search or selection links) or both. Optional: country (CA default, AU, NZ), maxItemsPerSearch (default 40, 1 to 1000; SHEIN shows 20 per screen, so about 160 at most per keyword), widerSearch (default true: also reads SHEIN's price bands and other sort orders), sortBy (recommended, newest, top-rated, price-low, price-high, most-popular). Rows: product_id, sku, spu, name, url, country, currency, price, original_price, discount_percent, on_sale, price_usd, rating, reviews_count, fit_true_to_size_percent, fit_small_percent, fit_large_percent, category, category_id, brand, store_code, rank_label, quick_ship, in_stock, image, images, search_query, position, total_results. Single product links are not read. Rows with _type summary, info or error are never charged. Full spec: GET https://api.apify.com/v2/acts/themineworks~shein-scraper/builds/default (Bearer TOKEN).
```

### Key features

- Keywords, category links (`-c-1727.html`), search links (`/pdsearch/...`) and selection links (`-sc-...html`).
- Canada (CAD), Australia (AUD) and New Zealand (NZD) stores, with the USD value of every price.
- Wider search: SHEIN shows 20 products per listing screen to visitors like this one, so the actor also reads the same search in SHEIN's own price bands and in the New Arrivals, Top Rated, Price High to Low and Most Popular orders, and removes duplicates. That gives up to about 160 products per keyword or link.
- Each run ends with a summary row: products delivered, screens read, pages SHEIN refused and why a search stopped.

### How to use it

#### Price research across a category

```json
{
  "startUrls": ["https://ca.shein.com/Women-Dresses-c-1727.html"],
  "maxItemsPerSearch": 100,
  "sortBy": "most-popular"
}
```

#### Australia store, top rated first

```json
{
  "searchQueries": ["linen pants", "bikini"],
  "country": "AU",
  "sortBy": "top-rated",
  "maxItemsPerSearch": 60
}
```

### Input parameters

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchQueries` | array | | Keywords, one search each. |
| `startUrls` | array | | Category, search or selection links from ca.shein.com, au.shein.com or nz.shein.com. |
| `country` | string | `CA` | Store for keywords: `CA`, `AU` or `NZ` (the only stores served). |
| `maxItemsPerSearch` | integer | 40 | Most products per keyword or link, 1 to 1,000 (SHEIN allows about 160 per keyword or link). |
| `widerSearch` | boolean | true | Also read price bands and other sort orders, 20 products per screen. |
| `sortBy` | string | `recommended` | SHEIN's order for the first screen. |
| `connection` | string | `auto` | Apify datacenter proxy, then a little residential proxy if SHEIN refuses datacenter. |
| `maxResidentialMb` | integer | 10 | Cap on residential proxy data per run; 0 turns it off. |

### What data do you get?

| Field | Example |
|---|---|
| `product_id`, `sku`, `spu` | `403764088`, `sz260123113767211704207`, `z2511177136240` |
| `name`, `url` | product title and link on the store |
| `price`, `original_price`, `discount_percent`, `on_sale` | `26.88`, `26.88`, `0`, `false` |
| `currency`, `price_text`, `price_usd`, `original_price_usd` | `CAD`, `CA$26.88`, `18.83`, `18.83` |
| `rating`, `reviews_count`, `reviews_count_text` | `4.24`, `714`, `500+` |
| `fit_true_to_size_percent`, `fit_small_percent`, `fit_large_percent` | `79`, `5`, `16` |
| `category`, `category_id`, `parent_category_ids` | `Women Short Dresses`, `1727` |
| `brand`, `brand_code`, `store_code` | `INAWLY`, `1sj00`, `8903961424` |
| `rank_label` | `#2 Bestseller in Yellow Women Short Dresses` |
| `quick_ship`, `is_clearance`, `in_stock` | `false`, `false`, `true` |
| `image`, `images`, `video_url`, `other_colors` | image links |
| `search_query`, `source_url`, `listing_variant`, `position`, `total_results` | where the row came from |

#### Output example

```json
{
  "product_id": "403764088",
  "sku": "sz260123113767211704207",
  "name": "INAWLY Women's Vintage Sexy European Polka Dot Sleeveless Dress,Pale Yellow,Summer,Tropical,Holiday,Vacation,Ruched Floral Decor,Tiered Bubble Hem",
  "url": "https://ca.shein.com/INAWLY-Women-s-Vintage-Sexy-European-Polka-Dot-Sleeveless-Dress-Pale-Yellow-Summer-Tropical-Holiday-Vacation-Ruched-Floral-Decor-Tiered-Bubble-Hem-p-403764088.html",
  "country": "CA",
  "currency": "CAD",
  "price": 26.88,
  "original_price": 26.88,
  "discount_percent": 0,
  "price_usd": 18.83,
  "rating": 4.24,
  "reviews_count": 714,
  "reviews_count_text": "500+",
  "fit_true_to_size_percent": 79,
  "fit_small_percent": 5,
  "fit_large_percent": 16,
  "category": "Women Short Dresses",
  "category_id": "1727",
  "brand": "INAWLY",
  "rank_label": "#2 Bestseller in Yellow Women Short Dresses",
  "in_stock": true,
  "search_query": "summer dress",
  "position": 1,
  "total_results": 19558
}
```

### Pricing

| Event | When | Free | Bronze | Silver | Gold |
|---|---|---|---|---|---|
| `product-scraped` | Once per product row | $0.90 per 1,000 | $0.84 per 1,000 | $0.78 per 1,000 | $0.72 per 1,000 |
| `run-start` | Once per run, after the first products are found | $0.003 | $0.003 | $0.003 | $0.003 |

Proxy and platform costs are included. Error, info and summary rows are free.

### How it compares

| | This actor | Shein Product Scraper (shahidirfan) | Shein Scraper (axlymxp) | SHEIN Product Scraper (native_emblem) |
|---|---|---|---|---|
| Users | new | 393 | 314 | 306 |
| Per 1,000 products, Free plan | $0.90 | $1.00 | $50.00 | $5.00 |
| Per 1,000 products, Gold plan | $0.72 | $0.80 | $50.00 | $5.00 |
| Keyword search | yes | no (department feed) | yes | yes |
| Sizes and stock per size | no | no | no | yes |
| Start fee | $0.003 | $0.0005 | none | $0.00005 |

Checked 20 Nov 2026 from the public Store listings.

### Run it on a schedule

Apify Console, this Actor, Schedules, Add schedule: pick how often (daily suits price tracking) and save. Each run is a dated snapshot in `scraped_at`.

### FAQ

#### Is it legal to scrape SHEIN?

The actor reads public product data that SHEIN shows to anyone without logging in. It collects no personal data. SHEIN's terms restrict automated access; decide for yourself whether your use is acceptable, and follow the law that applies to you. This is general information, not legal advice. SHEIN is a trademark of its owner; this actor is independent and not affiliated with it.

#### Do I need an account, cookies or an API key?

No. You need only an Apify account. The actor opens SHEIN's pages in a normal browser on Apify, the same pages any visitor sees.

#### Which SHEIN stores are served?

Canada, Australia and New Zealand only. The US, UK, EU, Mexico and Singapore stores answer every automated visitor with a CAPTCHA or a block page, and this actor never solves CAPTCHAs, so it does not offer them.

#### Why do some searches return fewer products than asked?

SHEIN shows 20 products per listing screen and refuses the next page to automated visitors. With wider search on, the actor reads the same search in each of SHEIN's price bands and four other sort orders, so a keyword or link gives up to about 160 products. For more, split the keyword into narrower ones or use category links. The summary row says why each search stopped.

#### Which currency are prices in?

The store's own currency (CAD, AUD or NZD) in `price`, and US dollars in `price_usd`, as SHEIN shows them.

#### Can I use it from Claude, ChatGPT or Cursor (MCP)?

Yes, through Apify's MCP server: https://mcp.apify.com/?tools=themineworks/shein-scraper

### Integrations

- **Google Sheets**: send each run's products to a sheet with Apify's Google Sheets integration.
- **Make, Zapier and n8n**: start a run and read its dataset with the Apify apps and nodes.
- **Webhooks**: have Apify call your URL when a run succeeds, then fetch the dataset.
- **API and SDKs**: run it from Python or JavaScript with the Apify client.

### More from The Mine Works

**E-commerce and marketplaces**

- [Ozon.ru Scraper](https://apify.com/themineworks/ozon-product-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [⭐ Amazon Reviews Scraper](https://apify.com/themineworks/amazon-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Etsy Listings Scraper](https://apify.com/themineworks/etsy-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [AliExpress Scraper](https://apify.com/themineworks/aliexpress-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Kleinanzeigen.de Scraper](https://apify.com/themineworks/kleinanzeigen-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Carsales.com.au Scraper](https://apify.com/themineworks/carsales-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [eBay Product Listings Scraper](https://apify.com/themineworks/ebay-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Shopify Store Scraper](https://apify.com/themineworks/shopify-store-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [🛒 TikTok Shop Scraper](https://apify.com/themineworks/tiktok-shop-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Walmart Product & Price Scraper](https://apify.com/themineworks/walmart-product-price-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Vinted Scraper](https://apify.com/themineworks/vinted-listings-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Social media and video**

- [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Reddit Scraper](https://apify.com/themineworks/reddit-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Threads Search Scraper](https://apify.com/themineworks/threads-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Instagram Profile Scraper](https://apify.com/themineworks/instagram-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Leads and business directories**

- [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Skip Trace Lookup](https://apify.com/themineworks/skip-trace-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Maps Email Scraper](https://apify.com/themineworks/maps-leads?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [2GIS Places Scraper](https://apify.com/themineworks/2gis-places-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Marketing, SEO and reviews**

- [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**LinkedIn**

- [LinkedIn Company Scraper](https://apify.com/themineworks/linkedin-company-details?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Post Scraper](https://apify.com/themineworks/linkedin-post-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Employees Scraper](https://apify.com/themineworks/linkedin-employees?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Profile Scraper](https://apify.com/themineworks/linkedin-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Real estate**

- [Zillow Rentals Scraper](https://apify.com/themineworks/zillow-rental-listings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zillow Sold Comps Scraper](https://apify.com/themineworks/zillow-recently-sold?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Real Estate MCP](https://apify.com/themineworks/india-real-estate-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Housing.com Scraper](https://apify.com/themineworks/housing-com-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Science, health and government data**

- [Academic Research MCP](https://apify.com/themineworks/academic-research-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [CourtListener Scraper](https://apify.com/themineworks/courtlistener-court-records?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Socrata Open Data Scraper](https://apify.com/themineworks/socrata-open-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [OpenAlex Scraper](https://apify.com/themineworks/openalex-scholarly-works?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Jobs and hiring**

- [Foundit Monster India Jobs](https://apify.com/themineworks/foundit-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Hirist Jobs Scraper](https://apify.com/themineworks/hirist-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Jobs MCP](https://apify.com/themineworks/india-jobs-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naukri Jobs Scraper](https://apify.com/themineworks/naukri-jobs?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Company and business data**

- [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [SEC EDGAR Filings Scraper](https://apify.com/themineworks/sec-edgar-filings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Food and local services**

- [NoBroker Scraper](https://apify.com/themineworks/nobroker-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Swiggy Restaurant Scraper](https://apify.com/themineworks/swiggy-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zomato Scraper](https://apify.com/themineworks/zomato-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Developer and AI tools**

- [Website to Markdown Crawler](https://apify.com/themineworks/rag-crawler?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Skill Finder](https://apify.com/themineworks/github-skill-discovery?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Repo Scraper](https://apify.com/themineworks/github-repo-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Trending Scraper](https://apify.com/themineworks/github-trending-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**More tools**

- [G2 Reviews Scraper](https://apify.com/themineworks/g2-reviews-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naver Blog Scraper](https://apify.com/themineworks/naver-blog-posts-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [WeChat Article Scraper 微信公众号文章](https://apify.com/themineworks/wechat-article-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Taobao Products Scraper 淘宝 天猫](https://apify.com/themineworks/taobao-products-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

If this actor saved you time, a short rating on the Store helps other buyers find it.

### Support

Found a search that returns fewer products than you expected, or an empty field? Open an issue in the Issues tab with the input and the run ID. For a field you need, email dmineworks@gmail.com.

*Search SHEIN by keyword or category link and get every product back as one row, with price, discount, rating, reviews count, fit and brand, no login.*

# Actor input Schema

## `searchQueries` (type: `array`):

Words you would type in the SHEIN search box, one per line, for example summer dress, cargo pants, phone case. Each keyword is one search. Up to 50 searches per run.

## `startUrls` (type: `array`):

SHEIN category, search or selection links copied from your browser on ca.shein.com, au.shein.com or nz.shein.com, for example https://ca.shein.com/Women-Dresses-c-1727.html. Filters and sort in the link are kept. Single product links are not read in this version.

## `country` (type: `string`):

Store for keywords: Canada, Australia or New Zealand only. Prices and currency follow it. Links keep their own store. The US, UK and EU stores show a CAPTCHA to every automated visitor and are not served.

## `maxItemsPerSearch` (type: `integer`):

The most products to return for each keyword or link, 1 to 1,000. SHEIN shows 20 products per listing screen; wider search reads more screens (other sort orders and price bands).

## `widerSearch` (type: `boolean`):

On: after the first screen, the same search is also read in SHEIN's price bands and in the New Arrivals, Top Rated, Price High to Low and Most Popular orders, 20 new products each, until the max is reached. Off: the first screen only.

## `sortBy` (type: `string`):

SHEIN's own order for the first screen.

## `connection` (type: `string`):

Auto (recommended): Apify datacenter proxy with a fresh IP per session, then a small amount of residential proxy in the store's country if SHEIN refuses datacenter three times.

## `maxResidentialMb` (type: `integer`):

Cap on residential proxy data used as the last fallback. 0 turns residential off.

## Actor input object example

```json
{
  "searchQueries": [
    "linen pants"
  ],
  "country": "CA",
  "maxItemsPerSearch": 20,
  "widerSearch": true,
  "sortBy": "recommended",
  "connection": "auto",
  "maxResidentialMb": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "linen pants"
    ],
    "maxItemsPerSearch": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/shein-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQueries": ["linen pants"],
    "maxItemsPerSearch": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/shein-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "linen pants"
  ],
  "maxItemsPerSearch": 20
}' |
apify call themineworks/shein-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,themineworks/shein-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/g66btJQVZgkMwWaAF/builds/fJV4fikMKRuSKf3AG/openapi.json
