# SHEIN Scraper – Products, Prices, Variants & Stock (`crawling-hulk/shein-scraper`) Actor

Scrape SHEIN product data by keyword, category or product URL. Get prices, discounts, variants, stock, ratings, review counts, images and categories as JSON, CSV or Excel. Multi-region, fast lite mode or full variant detail. Built for price monitoring, dropshipping and trend research.

- **URL**: https://apify.com/crawling-hulk/shein-scraper.md
- **Developed by:** [Ahmed Mousa](https://apify.com/crawling-hulk) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 lite products

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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, Variants & Stock

**SHEIN Scraper** extracts product data from [SHEIN](https://www.shein.com) by **search keyword**, **category URL** or **product URL**. Each run returns clean, structured data: product name, sale and retail price, discount, variants, stock, rating, review count, images and category. You can download it as **JSON, CSV, Excel or HTML**, or pull it through the Apify API.

No browser setup, proxies or anti-bot work needed on your side. Paste a keyword, press **Start**, and download the products.

### What data can you get from SHEIN?

| Field | Example |
|---|---|
| Product ID & SKU | `28322421`, `sx2312...` |
| Product name | Women's Slippers Fluffy Cozy Fashion Slippers |
| Product URL | `https://us.shein.com/...-p-28322421.html` |
| Sale price | `$15.56` |
| Retail price | `$24.70` |
| Discount | `37%` |
| Category | Women Home Slippers |
| In stock / stock level | `true` |
| Rating | `4.82` |
| Review count | `1001` |
| Main & color images | image URLs |
| Variants (full mode) | per-variant price, size, color and stock |

### How to scrape SHEIN

1. Enter one or more **keywords** (e.g. `summer dress`, `sneakers`), **category URLs** or **product URLs**.
2. Choose the **region** (`us` by default).
3. Pick the **detail level**:
   - **Lite**: fast. Best for listings, price tracking and catalog building.
   - **Full**: adds each variant's own price and stock, plus the full product detail.
4. Set **Max pages** (about 40 products per page) and an optional **Max products** cap.
5. Click **Start**, then export the results.

### Input example

```json
{
  "inputs": ["shoes", "https://us.shein.com/...-p-28322421.html"],
  "region": "us",
  "detail": "lite",
  "maxPages": 2,
  "maxItems": 100
}
```

### Output example

```json
{
  "goods_id": "28322421",
  "name": "Women's Slippers Fluffy Cozy Fashion Slippers Warm Soft House Slippers",
  "url": "https://us.shein.com/...-p-28322421.html",
  "image": "https://img.ltwebstatic.com/...jpg",
  "price": {
    "sale": { "amount": "15.56", "amount_with_symbol": "$15.56" },
    "retail": { "amount": "24.70", "amount_with_symbol": "$24.70" },
    "discount_percent": "37"
  },
  "category_name": "Women Home Slippers",
  "in_stock": true,
  "rating": "4.82",
  "review_count": 1001,
  "_input": "shoes",
  "_page": 1
}
```

### Use cases

- **SHEIN price monitoring**: track price drops and discounts on products or whole categories.
- **Competitor analysis**: compare your fast-fashion prices with SHEIN's.
- **Dropshipping & product research**: find trending, well-reviewed products.
- **Trend research**: see what's selling across categories and regions.
- **Datasets for analytics and AI**: build clean product catalogs for dashboards, BI tools or ML.

### How much does it cost to scrape SHEIN?

You pay **per product returned**, with no monthly subscription:

- **Lite** product: 1 product event
- **Full** product (with variants): 1 full-product event, priced at 2× a lite product

Failed requests and empty pages are free. Use **Max products** and Apify's spending limit to control costs exactly.

### Integrations

Connect SHEIN data to **Google Sheets, Slack, Zapier, Make, n8n, Airbyte** or your own app through webhooks and the [Apify API](https://docs.apify.com/api/v2). Schedule runs to monitor prices daily.

### FAQ

**Is it legal to scrape SHEIN?**
This Actor extracts publicly available product information only. No personal data or anything behind a login is collected. You are responsible for how you use the data in your jurisdiction.

**Which SHEIN regions are supported?**
Set the `region` field (e.g. `us`). It overrides the subdomain of any URL you pass.

**How many products per page?**
About 40 for keyword and category inputs.

**Can I get reviews?**
Rating and review count are included. Open an issue if you need full review text.

### Support

Found a bug or need an extra field? Open an issue on the **Issues** tab and I'll respond quickly.

# Actor input Schema

## `inputs` (type: `array`):

Search keywords, SHEIN category URLs or SHEIN product URLs. One per line.

## `region` (type: `string`):

SHEIN region code (e.g. us). Overrides the subdomain of a URL.

## `detail` (type: `string`):

lite is fast. full also fetches each variant's own price and stock (product) or enriches every item (keyword/category), and is slower.

## `startPage` (type: `integer`):

First results page for keyword/category inputs.

## `maxPages` (type: `integer`):

How many result pages to fetch per keyword/category (about 40 products per page).

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

Stop after this many products in total. 0 = no limit.

## Actor input object example

```json
{
  "inputs": [
    "summer dress"
  ],
  "region": "us",
  "detail": "lite",
  "startPage": 1,
  "maxPages": 1,
  "maxItems": 0
}
```

# Actor output Schema

## `results` (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 = {
    "inputs": [
        "summer dress"
    ]
};

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

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

```

## MCP server setup

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