# Shopee Shop Scraper (`axery/shopee-shop-scraper`) Actor

Extract product listings from any Shopee shop by username, shop ID, or shop URL across 11 countries. Fast HTTP-only, no browser or account required.

- **URL**: https://apify.com/axery/shopee-shop-scraper.md
- **Developed by:** [Axery](https://apify.com/axery) (community)
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 shop product results

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/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 Shop Scraper

Extract **complete product listings and catalogs from any Shopee seller** by username, shop ID, or shop URL across 11 countries (Indonesia, Singapore, Malaysia, Thailand, Philippines, Vietnam, Brazil, Taiwan, Mexico, Colombia, Chile).

Optionally enrich each item with full product details including variant models, stock, attributes, and seller performance metrics.

***

### ✨ Features

- 🏪 **Flexible Shop Input**: Supports shop username (e.g. `erigostore`), numeric shop ID (e.g. `30203584`), or full shop URL (`https://shopee.co.id/erigostore`).
- 🌍 **11 Supported Countries**: Indonesia (`id`), Singapore (`sg`), Malaysia (`my`), Thailand (`th`), Philippines (`ph`), Vietnam (`vn`), Brazil (`br`), Taiwan (`tw`), Mexico (`mx`), Colombia (`co`), and Chile (`cl`).
- ⚡ **Super Fast & Lightweight**: Direct HTTP extraction, no slow browser automation.
- 📦 **Dual Output Modes**:
  - **Default (Fast)**: Product cards with title, price, discount, ratings, sold count, location, and primary image.
  - **Enriched (`fetchDetail: true`)**: Deep product data with description, variant models, stock per SKU, attributes, and seller stats.
- 🛡️ **No Login or Account Required**: Extract public seller inventories anonymously.

***

### 🎯 Use Cases

- **Competitor Catalog Auditing**: Monitor rival shops to see their complete inventory, top sellers, and pricing strategies.
- **Price Tracking & Alerts**: Track price drops and discount promotions across an entire store over time.
- **Product & Trend Discovery**: Discover bestselling SKUs from leading brands and official stores.
- **E-Commerce Market Research**: Build structured catalogs for retail intelligence and benchmarking.

***

### 📥 Input Parameters

| Field | Type | Required | Default | Description |
|---|---|:---:|:---:|---|
| `shop` | `string` | **Yes** | — | Shop username (`erigostore`), shop ID (`30203584`), or shop URL (`https://shopee.co.id/erigostore`). |
| `country` | `string` | No | `"id"` | Shopee country domain (`id`, `sg`, `my`, `th`, `ph`, `vn`, `br`, `tw`, `mx`, `co`, `cl`). |
| `maxProducts` | `integer` | No | `40` | Maximum number of products to extract. |
| `fetchDetail` | `boolean` | No | `false` | If `true`, enriches every product with variant models, description, and attributes. |
| `proxyConfiguration` | `object` | No | `{"useApifyProxy": false}` | Optional Apify proxy settings. |

#### Example Input

```json
{
  "shop": "erigostore",
  "country": "id",
  "maxProducts": 40,
  "fetchDetail": false
}
```

***

### 📤 Output Structure

#### Default Mode (Product Cards)

```json
{
  "shop_id": 30203584,
  "item_id": 11089699432,
  "name": "Erigo T-Shirt Basic Cotton Combed Oversize",
  "url": "https://shopee.co.id/Erigo-T-Shirt-Basic-i.30203584.11089699432",
  "image_url": "https://down-id.img.susercontent.com/file/id-11134207-xxx",
  "price": 85000,
  "original_price": 150000,
  "discount_pct": 43,
  "rating": 4.88,
  "rating_count": 1250,
  "sold_count": 10500,
  "location": "KAB. TANGERANG",
  "is_mall": true,
  "currency": "IDR"
}
```

***

### 💻 Integration Examples

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run_input = {
    "shop": "erigostore",
    "country": "id",
    "maxProducts": 50
}

run = client.actor("axery/shopee-shop-scraper").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{item['name']}: {item['currency']} {item['price']:,} ({item['sold_count']} sold)")
```

#### Node.js (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

const input = {
    shop: 'erigostore',
    country: 'id',
    maxProducts: 50
};

const run = await client.actor('axery/shopee-shop-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(`Extracted ${items.length} products from shop.`);
```

# Actor input Schema

## `shop` (type: `string`):

Shop identifier: username (e.g. 'erigostore'), numeric ID (e.g. '30203584'), or full shop URL (e.g. 'https://shopee.co.id/erigostore').

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

Target regional Shopee marketplace.

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

Maximum number of products to return from the shop.

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

If true, fetches full description, variant models, attributes, brand, and image gallery for each product.

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

Optional proxy settings. Apify residential proxy is recommended for non-ID countries with full detail enrichment.

## Actor input object example

```json
{
  "country": "id",
  "maxProducts": 40,
  "fetchDetail": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

List of products from the target Shopee seller.

# 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("axery/shopee-shop-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("axery/shopee-shop-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 axery/shopee-shop-scraper --silent --output-dataset

```

## MCP server setup

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