# SHEIN Scraper — Products, Prices, Sizes & Reviews (`junipr/shein-scraper`) Actor

Extract public SHEIN product data, prices, colors, sizes, variants, size charts, reviews, images, and trend signals.

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

## Pricing

from $9.80 / 1,000 product page checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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 Scraper — Products, Prices, Sizes & Reviews

Extract public SHEIN product data, prices, colors, sizes, variants, size charts, reviews, images, and trend signals.

### What this actor does

Extract public SHEIN product data, prices, colors, sizes, variants, size charts, reviews, images, and trend signals. The actor is configured for public or user-supplied sources, evidence-backed output rows, capped runs, and KVS summaries for blocked, empty, duplicate, or capped work.

### What you can use it for

- Build repeatable shein scraper datasets for analysis and automation.
- Export records with source URLs, evidence fields, and run summaries.
- Run buyer-ready tasks for: Scrape one SHEIN product page; Export size and variant data; Collect SHEIN products by category.

Search-intent terms: shein scraper, shein product data, fashion ecommerce scraper, product variants, size chart scraper, reviews scraper.

### Inputs

The input schema supports the actor's source fields plus cost and quality controls. Important caps include `searchTerms`, `productUrls`, `categoryUrls`, `maxProducts`, `maxReviews`, `includeSizeChart`, `proxyConfiguration`. Public task examples below provide small, safe starting inputs.

### Outputs

Paid dataset rows and paid KVS artifacts are written only after the configured PPE charge succeeds. Rows include source/evidence fields where the actor can determine them and avoid fabricated values.

### Key-value store reports

Every run writes `SUMMARY.md` and `SUMMARY.json`. Diagnostic CSV or JSON reports are used for blocked pages, no-result pages, duplicates, unsupported inputs, and capped runs instead of paid dataset rows.

### Pricing

This actor uses pay-per-event pricing with Apify platform usage included in the event prices. Store discount tiers are configured for FREE, BRONZE, SILVER, and GOLD users.

| Event | Unit | FREE | BRONZE | SILVER | GOLD |
|---|---:|---:|---:|---:|---:|
| `actor-start` | run | $0.05000 | $0.05000 | $0.04500 | $0.04000 |
| `product-page-checked` | page | $0.00980 | $0.00980 | $0.00882 | $0.00784 |

Primary paid output event: `product-page-checked`. Runtime-paid dataset rows and runtime-paid artifacts use this active paid-output event unless a future pricing revision adds an actor-specific artifact boundary with matching code.

### Cost controls and max-charge behavior

Default max charge: $100.00. When the run reaches the max charge or an event-charge limit, it stops gracefully and writes free summary diagnostics without adding unpaid dataset rows.

### Platform usage / proxy / browser / API notes

The configured model is fixed-inclusive PPE: platform usage is included in event prices and the platform-usage pass-through toggle is off. Features that require browser rendering, proxies, provider APIs, or additional fetches are bounded by the input caps and priced through explicit events.

### Reliability notes and limitations

The actor processes public or permissioned inputs only. Blocked pages, login walls, unsupported formats, empty results, and provider errors are recorded as diagnostics. The actor does not fabricate rankings, prices, reviews, sentiment, traffic, compliance status, or private contact data when source evidence is unavailable.

### Example inputs

```json
{
  "searchTerms": [
    "Scrape one SHEIN product page"
  ],
  "productUrls": [],
  "categoryUrls": [],
  "maxProducts": 25,
  "includeReviews": false,
  "maxReviews": 25,
  "includeImages": false,
  "includeSizeChart": false,
  "country": "US",
  "currency": "USD",
  "sortBy": "relevance",
  "minPrice": 0,
  "maxPrice": 0,
  "sizeFilter": [],
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxChargeUsd": 10,
  "debugMode": false,
  "saveRawHtmlToKvs": false,
  "requestTimeout": 30000,
  "maxRetries": 1,
  "maxConcurrency": 1,
  "proxyConfiguration": {},
  "sourceMode": "livePublic",
  "suppliedSnapshotHtml": "shein scraper",
  "suppliedSnapshotJson": "shein scraper",
  "suppliedSnapshotText": "shein scraper"
}
```

### Public task examples

- Scrape one SHEIN product page: Dataset rows matching the scrape one shein product page use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.
- Export size and variant data: Dataset rows matching the export size and variant data use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.
- Collect SHEIN products by category: Dataset rows matching the collect shein products by category use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.

### Ethical/allowed-use notes

Use this actor only for public data, owned files, or sources you have permission to process. Respect source terms, privacy expectations, robots guidance, and applicable laws. Do not use the actor to collect secrets, bypass access controls, or make unsupported legal, financial, medical, or compliance decisions.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords to search for on Shein (e.g. "summer dress", "men's hoodie"). Provide at least one of searchTerms, productUrls, or categoryUrls.

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

Direct Shein product URLs to scrape. Must contain shein.com. Max 1,000 URLs.

## `categoryUrls` (type: `array`):

Shein category or collection page URLs to scrape products from. Max 50 URLs.

## `maxProducts` (type: `integer`):

Maximum number of products to extract per run.

## `includeReviews` (type: `boolean`):

Extract product reviews including customer photos, size feedback, and body type info.

## `maxReviews` (type: `integer`):

Maximum number of reviews to extract per product.

## `includeImages` (type: `boolean`):

Extract all product images (gallery photos).

## `includeSizeChart` (type: `boolean`):

Extract size chart and measurement data when available.

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

Target country for Shein catalog (ISO 3166-1 alpha-2 code). Different countries may show different products and prices.

## `currency` (type: `string`):

Display currency (ISO 4217 code, e.g. USD, EUR, GBP).

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

Sort order for search results.

## `minPrice` (type: `number`):

Filter results by minimum price. Leave empty or 0 for no minimum.

## `maxPrice` (type: `number`):

Filter results by maximum price. Leave empty or 0 for no maximum.

## `sizeFilter` (type: `array`):

Filter products by size (e.g. S, M, L, XL). Leave empty for all sizes.

## `proxyConfig` (type: `object`):

Residential proxy required — Shein uses Akamai Bot Manager. Defaults to Apify residential proxy (requires paid plan). Free-plan users can provide their own residential proxy URL.

## `maxChargeUsd` (type: `number`):

Stop before paid output would exceed the configured max charge.

## `debugMode` (type: `boolean`):

Write extra free diagnostics to the key-value store.

## `saveRawHtmlToKvs` (type: `boolean`):

Save raw snapshots as free debug artifacts when enabled.

## `requestTimeout` (type: `integer`):

Maximum time to wait for a request or page load.

## `maxRetries` (type: `integer`):

Maximum retry attempts per source.

## `maxConcurrency` (type: `integer`):

Maximum concurrent requests. High-risk marketplace and SERP actors default to a low value.

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

Run setting used to control cost, runtime, and output size.

## `sourceMode` (type: `string`):

Use public live targets, supplied snapshots, or provider-backed source data when supported.

## `suppliedSnapshotHtml` (type: `string`):

Optional HTML snapshot for deterministic public-data extraction tests or controlled source capture.

## `suppliedSnapshotJson` (type: `string`):

Optional JSON snapshot/provider response for deterministic public-data extraction tests or controlled source capture.

## `suppliedSnapshotText` (type: `string`):

Optional plain text snapshot for text-analysis actors.

## Actor input object example

```json
{
  "searchTerms": [
    "summer dress"
  ],
  "productUrls": [],
  "categoryUrls": [],
  "maxProducts": 1,
  "includeReviews": false,
  "maxReviews": 0,
  "includeImages": false,
  "includeSizeChart": false,
  "country": "US",
  "currency": "USD",
  "sortBy": "relevance",
  "minPrice": 0,
  "maxPrice": 0,
  "sizeFilter": [],
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxChargeUsd": 100,
  "debugMode": false,
  "saveRawHtmlToKvs": false,
  "requestTimeout": 30000,
  "maxRetries": 1,
  "maxConcurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "sourceMode": "livePublic"
}
```

# Actor output Schema

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

Scraped Shein product listings with full product details, variants, and metadata.

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

Billing, paid row, diagnostic, duplicate, and artifact summary.

## `runStatus` (type: `string`):

Free diagnostic run status, including no-result and blocked-page counters.

## `kvsArtifacts` (type: `string`):

Actor-specific CSV/JSON/Markdown report artifacts.

# 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 = {
    "searchTerms": [
        "summer dress"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("junipr/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 = {
    "searchTerms": ["summer dress"],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

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

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

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "summer dress"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call junipr/shein-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=junipr/shein-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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