# Shopee Brand Shops & Category Scraper (`axlymxp/shopee-brands-deals-scraper`) Actor

Export Shopee's full official brand-shop directory — brand name, handle, direct URL and logo — plus the complete category tree, across 8 Shopee markets. No login, no cookies. Optional live shop stats (rating, rating count, followers). For brand monitoring and market research. Pay only for results.

- **URL**: https://apify.com/axlymxp/shopee-brands-deals-scraper.md
- **Developed by:** [axly](https://apify.com/axlymxp) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 dataset items

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

## Shopee Brand Shops & Category Scraper

Export structured data from **Shopee's open catalogue surface** — the official
**brand-shop directory** and the full **category tree** — across **8 Shopee
marketplaces** (Indonesia, Singapore, Malaysia, Thailand, Vietnam, Philippines,
Taiwan, Brazil). No account, no cookies, no browser. Export to JSON, CSV or
Excel, run on a schedule, or call it from the API.

Ideal for **brand monitoring**, **competitor & market research**, and **retail /
brand lead lists** (every official brand on Shopee with a direct shop link).

### What you can scrape

Pick one `mode` per run:

#### `official_shops` — the official brand directory (flagship)

Every official brand shop on the marketplace. One row per shop.

| Field | Description |
| --- | --- |
| `shopid`, `username` | Shop id and handle |
| `brand_name` | Brand name |
| `shop_url` | Direct link to the shop |
| `logo_url` | Brand logo image |
| `created_at` | Shop creation timestamp |

**Optional live stats** (`enrichShopStats`, one extra request per shop, read from
the shop's public page): `name`, `rating_star`, `rating_count`,
`follower_count_text` (as Shopee displays it, e.g. `84,2RB`) and
`follower_count_approx` (that value as a number, approximate).

#### `category_tree` — the full taxonomy

Every category and sub-category with `catid`, `name`, `parent_catid`.

### Input

| Field | Type | Description |
| --- | --- | --- |
| `mode` | enum | `official_shops` or `category_tree` |
| `region` | enum | `ID`, `SG`, `MY`, `TH`, `VN`, `PH`, `TW`, `BR` |
| `maxItems` | integer | Max rows to return (you pay per row) |
| `enrichShopStats` | boolean | Enrich each official shop with name, rating, rating count and followers from its public shop page (official_shops) |
| `categoryId` | integer | Limit the directory to one official-shop category id (0 = all) |
| `proxyConfiguration` | object | Optional; the open endpoints work from datacenter IPs |

#### Example input

```json
{
  "mode": "official_shops",
  "region": "ID",
  "maxItems": 500,
  "enrichShopStats": true
}
```

#### Example output (official_shops)

```json
{
  "shopid": 182364184,
  "username": "amaze_officialstore",
  "brand_name": "A\"MAZE",
  "shop_url": "https://shopee.co.th/amaze_officialstore",
  "logo_url": "https://down-th.img.susercontent.com/th-11134258-7ras8-m1f5ksr4viybf9",
  "entity_id": 9270,
  "created_at": 1612293888,
  "scraped_at": "2026-11-08T07:23:48Z",
  "name": "A'MAZE_OfficialStore",
  "rating_star": 4.85,
  "rating_count": 13974,
  "follower_count_text": "31.8k",
  "follower_count_approx": 31800
}
```

### Scheduling & integrations

Schedule runs to track new official brands over time. Results are available
through the Apify API, webhooks, and all Apify integrations (Make, Zapier, n8n,
Google Sheets, …).

### MCP / AI assistants

This Actor can be called by AI agents through Apify's MCP server, so an assistant
can pull Shopee brand, shop and deal data on demand.

### FAQ

**Do I need a Shopee account or cookies?** No. These are public catalogue
endpoints — no login, cookies or credentials.

**Does it do keyword product search or full product detail?** No. Keyword search
and product-detail pages are behind Shopee's per-request anti-bot signature; this
Actor focuses on the open surfaces (the official brand directory and the category
tree) that return reliably without it.

**How does `enrichShopStats` work?** For each shop the Actor fetches the shop's
public page with a link-preview User-Agent (`WhatsApp/2.23.20.0`), for which
Shopee server-renders the shop header, and reads the shop name, rating, rating
count and displayed follower count. Shopee's per-shop stats API (`get_shop_detail`)
requires a signed request since late October 2026, so item count, response rate,
location and verification flags are no longer available. If Shopee blocks 5 shop
pages in a row, the Actor stops enriching and returns the plain brand directory so
the run still succeeds.

**Which markets are supported?** Indonesia, Singapore, Malaysia, Thailand,
Vietnam, Philippines, Taiwan and Brazil. Set `region`.

**How fresh is the data?** Every run fetches live data at the moment you start it.

**Is scraping this legal?** The Actor collects only publicly available catalogue
data (no login, no personal data). As with any scraping, you are responsible for
how you use the data and for complying with applicable laws and terms.

**Why did a run return fewer rows than `maxItems`?** A category or flash-sale
session simply may not contain that many items; the Actor stops cleanly.

# Actor input Schema

## `mode` (type: `string`):

official_shops = directory of all official brand shops (brand name, handle, shop URL, logo; optional live stats). category_tree = the full category taxonomy.

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

Which Shopee marketplace to scrape.

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

Maximum number of rows to return. You are charged per row.

## `enrichShopStats` (type: `boolean`):

Off by default. When on, each official shop is enriched from its public shop page with the shop name, rating, rating count and follower count (as displayed, plus an approximate number). One extra request per shop. If Shopee blocks 5 shop pages in a row, the run stops enriching and returns the plain brand directory.

## `categoryId` (type: `integer`):

Limit the official-shops directory to one official-shop category id (0 = all categories). Run mode 'category_tree' or check the Store docs for ids.

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

Optional. The open endpoints work from datacenter IPs; add a proxy only if you hit rate limits.

## Actor input object example

```json
{
  "mode": "official_shops",
  "region": "ID",
  "maxItems": 200,
  "enrichShopStats": false,
  "categoryId": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "mode": "official_shops",
    "region": "ID",
    "maxItems": 200,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("axlymxp/shopee-brands-deals-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 = {
    "mode": "official_shops",
    "region": "ID",
    "maxItems": 200,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("axlymxp/shopee-brands-deals-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 '{
  "mode": "official_shops",
  "region": "ID",
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call axlymxp/shopee-brands-deals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,axlymxp/shopee-brands-deals-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/PD74FwZsjRgwCd1mc/builds/8fRZCSTqtxKndXyAy/openapi.json
