# SHEIN Product Scraper (`fetchfinch/shein-product-scraper`) Actor

\[💰 $0.70 / 1K] Scrape SHEIN search, category, selection, tag, and product pages over HTTP. Get clean product IDs, titles, images, prices, discounts, URLs, and optional detail-page metadata in an Apify dataset.

- **URL**: https://apify.com/fetchfinch/shein-product-scraper.md
- **Developed by:** [Fetch Finch](https://apify.com/fetchfinch) (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.70 / 1,000 product results

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/actors/running/actors-in-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

### Scrape SHEIN products for research, monitoring, and catalog workflows

![No API key required](https://img.shields.io/badge/No%20API%20key-required-43A047)
![HTTP only](https://img.shields.io/badge/HTTP%20only-no%20browser-3178C6)
![Input](https://img.shields.io/badge/Input-URL%20or%20keyword-7E57C2)
![Export](https://img.shields.io/badge/Export-JSON%20%7C%20CSV%20%7C%20Excel-F39C12)
![Detail data](https://img.shields.io/badge/Detail%20data-optional-00897B)
![Pricing](https://img.shields.io/badge/Pricing-%240.70%20%2F%201%2C000%20results-5C6BC0)

Collect structured product data from public SHEIN search, category, selection, tag, and product pages. Get product IDs, titles, URLs, images, prices, discounts, and optional product-detail metadata in a clean Apify dataset.

The Actor is designed for practical ecommerce research and automation. Run it manually, schedule repeat collections, download the results, or connect the dataset to an API, webhook, spreadsheet, or no-code workflow.

### Pricing

Launch pricing is **$0.70 per 1,000 dataset records** (`$0.0007` per record). Apify also applies its standard small run-start event charge. The final charge is shown by Apify before and after a run, and users can set a maximum cost limit.

There is no separate API key charge for users. Optional detail enrichment is billed through the records written to the dataset.

### Why use SHEIN Product Scraper?

- **Product research** — Build a structured catalog from a SHEIN search or category page.
- **Price monitoring** — Compare current prices, original prices, and discount labels across repeat runs.
- **Catalog analysis** — Track product names, IDs, images, category identifiers, and source URLs.
- **Keyword discovery** — Search for product groups such as `bluetooth headphones`, `summer dresses`, or `phone cases`.
- **Optional enrichment** — Fetch product pages for descriptions, brands, additional images, availability, and detail-page pricing.
- **Automation-ready output** — Use Apify datasets, schedules, webhooks, the API, or built-in exports.

### How to use it

1. Provide a public SHEIN listing URL, product URL, or search term.
2. Set `results_wanted` to the maximum number of products to collect.
3. Enable `extractDetails` if you also need product-page metadata.
4. Start the run and inspect the dataset preview.
5. Download the results or connect the dataset to your workflow.

### Ready-to-run tasks

Use these public task templates to try common workflows without configuring the input from scratch:

- [Find SHEIN Bluetooth Headphones](https://apify.com/fetchfinch/shein-product-scraper/examples/bluetooth-headphones-discovery) — discover listings for the keyword `bluetooth headphones`.
- [Enrich a SHEIN Product Page](https://apify.com/fetchfinch/shein-product-scraper/examples/product-detail-enrichment) — extract normalized detail data from one product URL.

### Input parameters

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `startUrl` | String | No\* | — | One public SHEIN search, category, selection, tag, or product URL. |
| `startUrls` | Array | No\* | `[]` | Multiple SHEIN URLs to process in one run. |
| `searchTerms` | Array | No\* | `[]` | Search phrases converted into SHEIN search URLs. |
| `locale` | String | No | `us` | SHEIN locale, such as `us`, `uk`, `de`, or `au`. |
| `results_wanted` | Integer | No | `20` | Maximum number of unique product records. |
| `page` | Integer | No | `1` | Starting listing page. |
| `maxPages` | Integer | No | `1` | Maximum listing pages per source URL. |
| `extractDetails` | Boolean | No | `false` | Fetch product pages for additional metadata. |
| `maxDetailPages` | Integer | No | `20` | Maximum product-detail requests when enrichment is enabled. |
| `includeHtml` | Boolean | No | `false` | Include a truncated product-page HTML snapshot in enriched records. |
| `proxyConfiguration` | Object | No | Disabled | Optional Apify Proxy configuration for direct HTTP fallback. |

\* Provide at least one of `startUrl`, `startUrls`, or `searchTerms`. If none is supplied, the Actor uses SHEIN sitemap discovery.

### Basic examples

#### Search by keyword

```json
{
  "searchTerms": ["bluetooth headphones"],
  "results_wanted": 20
}
```

#### Scrape a SHEIN search or category URL

```json
{
  "startUrl": "https://us.shein.com/pdsearch/bluetooth%2Bheadphones/",
  "results_wanted": 50,
  "maxPages": 2
}
```

#### Enrich products with detail-page data

```json
{
  "startUrl": "https://us.shein.com/pdsearch/bluetooth%2Bheadphones/",
  "results_wanted": 10,
  "extractDetails": true,
  "maxDetailPages": 10
}
```

#### Process multiple sources

```json
{
  "startUrls": [
    { "url": "https://us.shein.com/pdsearch/bluetooth%2Bheadphones/" },
    { "url": "https://us.shein.com/pdsearch/wireless%2Bearbuds/" }
  ],
  "results_wanted": 50
}
```

### Output data

Each dataset item represents one product, a visible block/error event, or a sitemap status record. Empty values are omitted, and duplicate products are filtered during a run.

#### Product fields

| Field | Description |
| --- | --- |
| `productId`, `product_id`, `goods_id` | SHEIN product or goods identifier. |
| `title`, `goods_name` | Product title. |
| `url` | Product page or source URL. |
| `sourceUrl` | Listing URL where the product was discovered. |
| `sourceType`, `source_type` | Source classification such as `search`, `category`, `listing`, or `detail`. |
| `image`, `image_url`, `goods_img` | Primary product image URL. |
| `images`, `detail_image` | Additional product image URLs when available. |
| `sale_price`, `salePrice` | Current or sale price. |
| `original_price`, `retailPrice` | Original or retail price. |
| `discount_text` | Discount label when supplied by SHEIN. |
| `description` | Product description when detail enrichment is available. |
| `brand` | Product brand when available. |
| `sku` | Product SKU when available. |
| `category_id` | SHEIN category identifier when available. |
| `price`, `currency`, `availability` | Detail-page pricing and availability fields when available. |
| `status`, `blocked`, `fetchedAt` | HTTP status, block status, and collection timestamp. |

Fields can vary by page type and locale. A missing field does not necessarily indicate a failed run.

### Example output

```json
{
  "recordType": "product",
  "productId": "169561314",
  "product_id": "169561314",
  "title": "JBL Tune 510BT Wireless On-Ear Headphones",
  "url": "https://us.shein.com/JBL-Tune-510BT-Wireless-On-Ear-Headphones-p-169561314.html",
  "image": "https://img.ltwebstatic.com/example.jpg",
  "sale_price": "$24.99",
  "sourceType": "search",
  "status": 200,
  "blocked": false,
  "fetchedAt": "2026-09-20T14:00:00.000Z"
}
```

Apify provides JSON, CSV, Excel, XML, and other dataset export formats automatically.

### HTTP-only and anti-bot behavior

This Actor uses HTTP requests and does not require a browser or Chromium at runtime. Upstream access is handled internally so users do not need to configure a third-party API key.

If SHEIN returns a verification or anti-bot page, the Actor does not attempt to solve the challenge. Instead, it emits a visible blocked or error record so the run result remains inspectable.

### Tips for reliable runs

- Start with `results_wanted: 20` to validate a URL before scaling up.
- Use a complete public SHEIN URL rather than a temporary redirect or tracking link.
- Use the locale that matches the catalog and prices you want to monitor.
- Enable `extractDetails` selectively because it adds product-page requests and increases run time.
- Review several records before treating a missing field as an extraction problem.
- For recurring monitoring, save datasets from each run and compare prices and availability over time.

### Exports and integrations

- Apify API and dataset URLs
- JSON, CSV, Excel, XML, and other Apify exports
- Schedules and webhooks
- Google Sheets, Airtable, Make, Zapier, and custom applications

### Frequently asked questions

#### Can I search SHEIN by keyword?

Yes. Pass one or more phrases in `searchTerms`, for example `"bluetooth headphones"` or `"summer dresses"`.

#### Can I scrape one product page?

Yes. Provide the product URL in `startUrl` and set `extractDetails` to `true` if you want additional product-page metadata.

#### Can I scrape category and selection pages?

Yes. The Actor accepts common public SHEIN category, selection, search, and tag-style listing URLs.

#### Are descriptions, sizes, ratings, and reviews always included?

No. This Actor focuses on product identity, titles, links, images, pricing, discounts, and selected detail-page metadata. Fields are included only when the source page provides them and the current parser supports them.

#### Can I run it on a schedule?

Yes. Create an Apify schedule to collect the same search or category source hourly, daily, weekly, or on a custom interval.

### Legal and responsible use

This Actor is intended for legitimate collection of publicly available product information. You are responsible for complying with SHEIN's terms of service, applicable laws, privacy requirements, and any restrictions on storing or using marketplace data.

### Support

For bug reports, extraction issues, feature requests, or questions about a run, use the Issues tab on the Actor page.

# Actor input Schema

## `startUrl` (type: `string`):

One SHEIN search/category/product URL. This matches the common public actor input format.

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

Additional SHEIN search/category/product URLs. Sitemap discovery is used only when this and searchTerms are empty.

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

Terms such as bluetooth headphones. Each term becomes a SHEIN /pdsearch/ URL.

## `locale` (type: `string`):

SHEIN hostname prefix, for example us, uk, de, or au.

## `results_wanted` (type: `integer`):

Maximum unique product records to emit. This name matches the public competitor actor.

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

Alias for results\_wanted, retained for backwards compatibility with the MVP.

## `page` (type: `integer`):

Page number to start with for listing URLs.

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

Maximum pages to fetch per listing URL.

## `extractDetails` (type: `boolean`):

Fetch each product detail page to add descriptions, brand, JSON-LD, prices, and availability. This uses one additional request per product.

## `maxDetailPages` (type: `integer`):

Limit optional detail-page enrichment requests.

## `maxSitemaps` (type: `integer`):

Maximum sitemap documents to fetch, including the root sitemap.

## `requestDelayMs` (type: `integer`):

Delay used between HTTP requests. Keep this conservative for personal use.

## `includeHtml` (type: `boolean`):

Include a truncated product-detail HTML snapshot in enriched product records.

## `proxyUrl` (type: `string`):

Optional HTTP/HTTPS proxy URL. SHEIN\_PROXY\_URL is used when this is empty.

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

Optional standard Apify proxy configuration. Used when proxyUrl and SHEIN\_PROXY\_URL are empty.

## Actor input object example

```json
{
  "startUrl": "",
  "startUrls": [],
  "searchTerms": [],
  "locale": "us",
  "page": 1,
  "maxPages": 1,
  "extractDetails": false,
  "maxDetailPages": 20,
  "maxSitemaps": 10,
  "requestDelayMs": 1000,
  "includeHtml": false,
  "proxyUrl": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `products` (type: `string`):

Normalized SHEIN product records with IDs, titles, URLs, images, prices, discounts, and optional detail data.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("fetchfinch/shein-product-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("fetchfinch/shein-product-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 '{}' |
apify call fetchfinch/shein-product-scraper --silent --output-dataset

```

## MCP server setup

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