# Shopee Scraper – All In One (`data_wiki/shopee-scraper-all-in-one`) Actor

Scrape Shopee products from 9 marketplaces by keyword, category, shop or link: prices, discounts, ratings, sellers, vouchers and reviews. No login needed. Great for price monitoring, competitor research and finding winning products to sell.

- **URL**: https://apify.com/data_wiki/shopee-scraper-all-in-one.md
- **Developed by:** [Data WiKi](https://apify.com/data_wiki) (community)
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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?

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

### Shopee Scraper – products, prices, sellers

Shopee Scraper – All In One collects public Shopee data from nine marketplaces (Indonesia, Singapore, Malaysia, Thailand, Philippines, Vietnam, Brazil, Taiwan, Mexico). Give it keywords, category ids, shop ids or Shopee links and it returns each product's name, price, discount, rating, location and image, plus shop vouchers and reviews. Every response is structured JSON, ready to pass directly to an LLM, index into a vector store, or feed a price-monitoring pipeline. **No Shopee account or cookies needed.** Next, add your entries and watch the Output tab fill while the run is going.

### Why Choose Shopee Scraper – All In One?

- One input field takes everything: keywords, categories, shops, product links, search links and short links, mixed in any order.
- Rows appear in the Output tab as soon as they are found, split into separate tables per section.
- It starts without a proxy and only switches to a stronger one when Shopee refuses a request. The log tells you when that happens.
- Failed entries land in their own table instead of silently disappearing.

### Key Features

- **Shopee scraper for 9 marketplaces** with one country setting. A link keeps its own marketplace.
- **Scrape Shopee products by keyword**, by category id or category link, or from a whole shop.
- **Shopee product link details**: gallery images, category breadcrumb, shop vouchers and the item's reviews.
- **Shop details**: shop vouchers, shop categories and recent reviews from every star level.
- **Sort and price filter**: relevance, best selling, newest, price low to high, price high to low, plus a minimum and maximum price.
- **Live log** with one line per product as it is saved.

### Input

```json
{
  "urls": ["gaming laptop", "shop:agresid", "https://shopee.co.id/product/250649369/51717983340"],
  "country": "id",
  "sort": "relevance",
  "minPrice": 1000000,
  "maxPrice": 15000000,
  "maxItems": 40,
  "fetchDetail": true
}
```

| Field | What it does |
|-------|--------------|
| `urls` (required) | One per line: a keyword, `cat:<id>` or a category link, `shop:<id>` (numeric shop id) or a shop link, a product link, or any Shopee search link. |
| `country` | `id`, `sg`, `my`, `th`, `ph`, `vn`, `br`, `tw`, `mx`. Default `id`. |
| `sort` | `relevance`, `sales`, `newest`, `price_asc`, `price_desc`. |
| `minPrice`, `maxPrice` | Price limits in the marketplace's local currency. |
| `maxItems` | Products per keyword, category or shop. `0` means everything reachable. Default 40. |
| `fetchDetail` | Adds a seller summary to each product when Shopee provides it. |
| `maxReviewsPerShop`, `maxVouchersPerShop` | How many reviews and vouchers to collect for shop entries. |
| `maxConcurrency`, `maxRequestRetries`, `requestDelay` | Speed and retry settings. |
| `proxyConfiguration` | No proxy by default; the run switches to a proxy only if Shopee refuses requests. |

### Output

One row per product in the products table:

```json
{
  "type": "product",
  "query": "laptop",
  "country": "id",
  "item_id": 43183281382,
  "shop_id": 1795901678,
  "name": "Laptop Gaming 15.6 FHD IPS Intel Core i7 16GB RAM 1TB SSD",
  "url": "https://shopee.co.id/...-i.1795901678.43183281382",
  "image": "https://down-id.img.susercontent.com/file/id-11134207-81ztd-ms9m03gz98uf6a",
  "currency": "IDR",
  "price": 5991303.0,
  "original_price": 6418000.0,
  "discount_pct": 7,
  "rating": 5.0,
  "location": "Tangerang",
  "labels": [],
  "has_voucher": true,
  "scraped_at": "2026-10-23T15:21:27+00:00"
}
```

The Output tab also shows separate tables: **shops**, **shop categories**, **vouchers**, **reviews**, **product images**, **product categories**, **searches** and **failed inputs**. Product link entries add `images`, `image_count`, `categories`, `category_path`, `vouchers`, `reviews` and `price_source` to the product row.

### How to Use (Apify Console)

1. Log in at https://console.apify.com and open Actors.
2. Open Shopee Scraper – All In One.
3. Add your keywords, shops or links, pick the marketplace and the limits.
4. Click **Start** and watch the log: every saved product is printed as it arrives.
5. Open the **Output** tab when the run completes and switch between the tables.
6. Export to JSON, CSV or Excel.

### Use via API / MCP

```bash
curl -X POST "https://api.apify.com/v2/actors/<ACTOR_ID>/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"urls":["gaming laptop"],"country":"id","maxItems":40}'
```

To use this Actor from an AI agent, add the hosted Apify MCP server: `claude mcp add --transport http apify "https://mcp.apify.com"`. The agent finds this Actor through the server's search, details and call tools.

### Best Use Cases

- Track competitor prices and discounts for a keyword or a whole shop.
- Build a product catalogue for one category.
- Compare the same search across marketplaces.
- Monitor shop vouchers and recent reviews.

### Known Limits

- No sold count, stock, variants, brand or description text.
- `original_price` is only filled where Shopee shows a struck-through price; `discount_pct` comes from the badge.
- Search pages do not paginate. Very large `maxItems` values can return fewer rows than asked; the searches table says why.
- Seller profile details can be unavailable. Fields that Shopee does not provide stay empty instead of being guessed.
- Unlisted or sold-out items get an empty price. Product link gallery and categories can be empty.

### Frequently Asked Questions

**Do I need a Shopee account?** No. The Actor reads public pages only.

**Why did the run switch to a proxy?** Shopee refused a request, so the run continued with a proxy.

**Why are some products missing a rating or original price?** Shopee does not show them on every card.

**What if Shopee changes its pages?** The Actor logs a clear warning and keeps the rows it already collected.

### Support and Feedback

Use the Issues tab of the Actor page to report a problem or request a feature.

# Actor input Schema

## `urls` (type: `array`):

One per line: a keyword (gaming laptop), a category (cat:11044440 or a category link), a shop (shop:agresid, a shop id or a shop link), a product link, or any Shopee search link. Duplicates are removed.

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

Products to collect for each keyword, category or shop. Use 0 for everything reachable. A product link always returns one product. Free plan: up to 10 products per run in total; paid plans have no run limit.

## `fetchDetail` (type: `boolean`):

Looks up the seller of every product and adds a seller summary when Shopee provides it. Turn off for a faster run.

## `maxReviewsPerShop` (type: `integer`):

For shop entries: newest reviews to collect, mixed across all star levels. Use 0 for none.

## `maxVouchersPerShop` (type: `integer`):

For shop and product entries: live shop vouchers to collect. Use 0 for none.

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

The Shopee marketplace to read. A link keeps its own marketplace.

## `sort` (type: `string`):

Order of search and category results.

## `minPrice` (type: `integer`):

Lowest price in the local currency of the marketplace. Leave empty for no minimum.

## `maxPrice` (type: `integer`):

Highest price in the local currency of the marketplace. Leave empty for no maximum.

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

Requests sent at the same time once a proxy is active. Without a proxy the run stays gentle and uses fewer.

## `maxRequestRetries` (type: `integer`):

How often a failed request is tried again.

## `requestDelay` (type: `number`):

Seconds to wait between request starts. 0 means no extra delay.

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

No proxy is used by default. The run switches to a proxy only if Shopee refuses a request.

## Actor input object example

```json
{
  "urls": [
    "gaming laptop"
  ],
  "maxItems": 10,
  "fetchDetail": true,
  "maxReviewsPerShop": 5,
  "maxVouchersPerShop": 5,
  "country": "id",
  "sort": "relevance",
  "maxConcurrency": 6,
  "maxRequestRetries": 3,
  "requestDelay": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per product.

## `pricing` (type: `string`):

Price, original price, discount and vouchers per product.

## `seller` (type: `string`):

Seller profile summary per product.

## `productDetail` (type: `string`):

Gallery, categories, vouchers and reviews for product link entries.

## `shops` (type: `string`):

One row per seller shop profile fetched in this run.

## `shopCategories` (type: `string`):

One row per category inside a shop.

## `vouchers` (type: `string`):

One row per live shop voucher.

## `reviews` (type: `string`):

One row per shop review (shop entries) or per review of the item (product link entries).

## `productImages` (type: `string`):

One row per gallery image (product link entries).

## `productCategories` (type: `string`):

One row per breadcrumb level (product link entries).

## `searches` (type: `string`):

One row per keyword, link or shop you gave, with how many products it returned.

## `failedInputs` (type: `string`):

Entries that could not be processed.

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

Counts and timing of the run.

# 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 = {
    "urls": [
        "gaming laptop"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("data_wiki/shopee-scraper-all-in-one").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 = {
    "urls": ["gaming laptop"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("data_wiki/shopee-scraper-all-in-one").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 '{
  "urls": [
    "gaming laptop"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call data_wiki/shopee-scraper-all-in-one --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data_wiki/shopee-scraper-all-in-one"
        }
    }
}
```

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/SFMidDUmNRIT6TrZx/builds/D2AJNMJfUuF3rhA5m/openapi.json
