# 🛍️ SHEIN Product Scraper — Prices, Ratings & Reviews (`hipersoft/shein-scraper`) Actor

Search SHEIN by keyword or paste product links and export one clean row per product — title, sale price, original price, discount, rating, review count, image and product URL. Download as JSON, CSV or Excel.

- **URL**: https://apify.com/hipersoft/shein-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.0015 / product scraped

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/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🛍️ SHEIN Product Scraper — Prices, Ratings & Reviews

Search **SHEIN** by keyword or paste product links and export clean, structured product data. Type in a search term like `dress`, `men hoodie` or `summer sandals` and get one tidy row per product: title, sale price, original price, discount, star rating, review count, image and the product link. Add specific product URLs to pull full details — price, original price, stock, size variants and image gallery. Download everything as **JSON, CSV or Excel**, or pull it straight from the API.

Great for fashion price monitoring, competitor and catalog research, discount tracking, building a product feed, dropshipping research, or dashboards and market analysis.

### What it does

- 🔎 **Keyword search** — search SHEIN for any term and collect every matching product across as many pages as you need.
- 🔗 **Product URLs** — paste product links (or ids) to fetch full per-product details.
- 🌍 **21 storefronts** — read the US, UK, Irish, French, German, Spanish, Italian, Dutch, Belgian, Austrian, Portuguese, Finnish, Greek, Swedish, Danish, Norwegian, Swiss, Polish, Czech, Romanian or Hungarian site, each with its own prices and local currency.
- 🎛️ **Filters that match the site** — sort by price or newest, set a price band, or pin the search to one category.
- 🏷️ **Clean price fields** — sale price, original price and the discount percentage for each product.
- ⭐ **Ratings & reviews** — average star rating and total review count.
- 🖼️ **Images** — the main product image, plus the full image gallery on detail records.
- 🎽 **Size & variant details** — available variants and stock on product-detail records.
- 📊 **Flat, ready-to-use output** — one record per product, ideal for spreadsheets, databases and dashboards.

### Input

| Field | Description |
| --- | --- |
| **Search queries** | One or more keywords or phrases to search on SHEIN. Each is paged through to collect matching products. |
| **Product URLs** | Optional list of SHEIN product page URLs (or bare product ids) to pull full details for. |
| **Storefront country** | Which of the 21 SHEIN storefronts to read — the US, UK, Ireland, France, Germany, Spain, Italy, Netherlands, Belgium, Austria, Portugal, Finland, Greece, Sweden, Denmark, Norway, Switzerland, Poland, Czechia, Romania or Hungary. Prices, currency, discounts and availability all follow this choice. |
| **Sort results by** | Recommended, Most popular, Newest arrivals, Price low to high, or Price high to low. |
| **Min price / Max price** | Only return products inside a price band, in the storefront's own currency. |
| **Category ID** | Only return products in one category. Every row carries its own `catId`, so run a search first and copy the ID you want. |
| **Max items per query** | Maximum number of products to collect for each search query (default 100). |
| **Max items (overall)** | Overall cap across everything (0 = no limit). |

#### Example input

```json
{
  "searchQueries": ["dress", "men hoodie"],
  "country": "US",
  "sortBy": "price_low_to_high",
  "minPrice": "10",
  "maxPrice": "40",
  "maxItemsPerQuery": 100,
  "maxItems": 0
}
```

Or fetch details for specific products:

```json
{
  "productUrls": [
    "https://www.shein.com/some-product-p-68770207.html",
    "56762174"
  ]
}
```

### Output

Each product is one record. Search results look like this:

```json
{
  "source": "search",
  "query": "dress",
  "goodsId": "68770207",
  "goodsSn": "sz2411164769699111",
  "spu": "z24111647696",
  "name": "SHEIN LUNE Women Casual/Holiday Ruched A-Line Midi Dress",
  "price": "6.37€",
  "retailPrice": "12.99€",
  "discountPercent": "50",
  "rating": "4.61",
  "reviews": 1001,
  "image": "https://img.ltwebstatic.com/.../thumbnail_405x552.jpg",
  "url": "https://www.shein.com/SHEIN-LUNE-...-p-68770207.html"
}
```

Product-detail records add stock, variants and the full image gallery:

```json
{
  "source": "detail",
  "inputUrl": "56762174",
  "goodsId": "56762174",
  "name": "Breezaya Ditsy Floral Print Square Neck A-Line Dress",
  "price": "6.86€",
  "retailPrice": "13.99€",
  "stock": 20,
  "image": "https://img.ltwebstatic.com/.../product.jpg",
  "images": ["https://img.ltwebstatic.com/.../1.jpg"],
  "variants": [],
  "url": "https://www.shein.com/pdp-p-56762174.html"
}
```

#### Output fields

| Field | Description |
| --- | --- |
| `source` | `search` for keyword results, `detail` for product-URL lookups. |
| `query` / `inputUrl` | The search term or the product URL/id the record came from. |
| `goodsId`, `goodsSn`, `spu` | Product identifiers. |
| `name` | Product title. |
| `price` | Current sale price (with currency symbol). |
| `retailPrice` | Original price before discount. |
| `discountPercent` | Discount percentage (search results). |
| `rating` | Average star rating (search results). |
| `reviews` | Number of reviews (search results). |
| `stock` | Units in stock (detail records). |
| `image` | Main product image URL. |
| `images` | Full image gallery (detail records). |
| `variants` | Available size/variant details (detail records). |
| `url` | Link to the product page. |
| `country` / `currency` | The storefront the row was read from, and the currency its prices are in. |
| `catId` | The product's category ID — paste it back into **Category ID** to narrow a search. |

### Tips

- Add several terms to **Search queries** to build a broad catalog in one run.
- Use **Max items per query** to keep each search focused, or **Max items (overall)** to cap the whole run.
- Paste product links into **Product URLs** when you want stock and variant details for specific items.

### FAQ

**What can it collect?** Public product data from SHEIN — titles, prices, discounts, ratings, review counts, images and links.

**Can I export to Excel or CSV?** Yes — download the dataset as JSON, CSV, Excel or HTML, or pull it via the API.

**How many products can I collect?** As many as the searches return — use the max-items fields to set your own limits.

**How does billing work?** Pay only for what you get, with no monthly fee and a negligible start fee. Search results and full product details are charged separately, so a keyword run only ever pays the search rate — you are charged the detail rate solely for the complete product records you asked for by URL.

# Actor input Schema

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

One or more keywords or phrases to search on SHEIN (e.g. "dress", "men hoodie", "summer sandals"). Each query is paged through and returns matching products with title, price, rating and more.

## `productUrls` (type: `array`):

Optional list of SHEIN product page URLs (or bare product ids) to pull full details for — price, original price, stock, variants and images. Paste links straight from your browser.

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

Which SHEIN storefront to read. Prices, currency, discounts and availability all follow this country.

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

Order the search results. 'Recommended' is the storefront default.

## `minPrice` (type: `string`):

Only return products at or above this price, in the storefront's own currency (e.g. 20). Leave empty for no minimum.

## `maxPrice` (type: `string`):

Only return products at or below this price, in the storefront's own currency (e.g. 100). Leave empty for no maximum.

## `categoryId` (type: `string`):

Only return products in one category. Every scraped row includes its own catId, so run a search first and copy the ID you want. Leave empty for all categories.

## `maxItemsPerQuery` (type: `integer`):

Maximum number of products to collect for each search query.

## `maxItems` (type: `integer`):

Maximum number of products to collect across everything (0 = no overall limit).

## `proxyConfiguration` (type: `object`):

Required. A residential proxy is needed for this Actor to reach SHEIN reliably. The default (Apify residential, US) works out of the box — leave it as is unless you have a specific proxy setup.

## Actor input object example

```json
{
  "searchQueries": [
    "dress"
  ],
  "productUrls": [],
  "country": "US",
  "sortBy": "recommended",
  "maxItemsPerQuery": 100,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

The results as dataset items.

# 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": [
        "dress"
    ],
    "productUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/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": ["dress"],
    "productUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/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": [
    "dress"
  ],
  "productUrls": []
}' |
apify call hipersoft/shein-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/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/VjPr5KbozvShBzzre/builds/XW2t5wA6ZcEj8KcOC/openapi.json
