# Shopee Search Scraper - Keyword & Category Results, 11 Markets (`apimy/shopee-search-scraper`) Actor

Search Shopee by keyword or category in 11 markets: every product with its rank in results, track where your own products rank per keyword, several countries per run, and a free market summary (median price, shops). Example input: {"searchTerms":\["wireless earbuds"],"country":"BR","maxItems":30}

- **URL**: https://apify.com/apimy/shopee-search-scraper.md
- **Developed by:** [Nikita Iakovlev](https://apify.com/apimy) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 8 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.28 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 Search Scraper** scrapes **Shopee search results** by keyword or category in **11 Shopee marketplaces** and tells you **where each product ranks**. Every product row carries its **rank in Shopee's results**, page and position, price (also converted to USD or another currency), original price, discount, rating, shop name and shop rating. On top of the plain export it does three things other Shopee search scrapers do not: **tracks the rank of your own products and shops** for each keyword, searches **several countries in one run**, and adds a free **market summary per keyword** (lowest / median / highest price, share discounted, number of shops, top shops). No login, no API key, no browser.

Typical run: a 30-product search in about 15 seconds.

```json
{"searchTerms": ["wireless earbuds"], "country": "BR", "maxItems": 30}
```

### What you get that a plain Shopee search export does not

| Feature | Field | What it answers |
|---|---|---|
| **Rank in results** | `rank`, `page`, `position`, `sortedBy` on every product | "Who is #1–#40 for this keyword?" |
| **Track my products / shops** | `trackProducts` → one free `rank` row per keyword and item | "Where does my product rank for *phone holder*, and which shops are above it?" |
| **Several countries per run** | `countries` | "Same keywords in Thailand, Vietnam and Brazil, one dataset." |
| **Market summary** | free `market_summary` row per keyword and country | "What do sellers charge here — median price, share discounted, how many shops?" |
| **Country comparison** | free `country_comparison` row per keyword | "Which marketplace is cheapest for this keyword, in one currency?" |
| **Prices in one currency** | `priceConverted`, `originalPriceConverted`, `convertedCurrency`, `fxRate` | "Compare THB, VND and BRL prices side by side." |

Summary, comparison and rank rows are computed from what the run already read — they are **free** and add no requests to Shopee.

### Who this is not for

- **Stock levels and units sold.** Shopee shows neither to a visitor who is not logged in, so there is no stock field and no `minSold` filter. This Actor never logs in.
- **Full product pages in bulk.** For descriptions, specifications and variants of every product use [Shopee Product Scraper](https://apify.com/apimy/shopee-product-scraper); for reviews and shop profiles use [Shopee Scraper](https://apify.com/lergassy/shopee-scraper).
- **Some marketplaces' search is closed to visitors.** At the moment Shopee serves search in Singapore, Malaysia, the Philippines, Colombia and Chile only to logged-in users. There the run ends with a free notice that says so and charges nothing. Thailand, Vietnam, Taiwan, Brazil and Mexico work.

### Input

| Field | What it does |
|---|---|
| `searchTerms` | Keywords, one search per line. |
| `maxItems` | Products per keyword (default 40). Rank tracking looks as deep as this. |
| `country` | Marketplace: `ID`, `SG`, `MY`, `PH`, `TH`, `VN`, `BR`, `TW`, `MX`, `CO`, `CL`. |
| `countries` | Several marketplaces in one run (overrides `country`). |
| `trackProducts` | Your product links, IDs (`shopId.itemId`) or shop links / usernames. A link is looked for only in its own marketplace. |
| `marketSummary` | Free summary row per keyword and country (on by default). |
| `currency` | Currency for converted prices (default `USD`), rates of the day from open.er-api.com. |
| `categoryUrls` | Shopee category or search page links instead of keywords. |
| `sortBy`, `minPrice`, `maxPrice`, `minRating`, `officialShopOnly`, `preferredSellerOnly`, `freeShippingOnly`, `codAvailableOnly`, `discountedOnly`, `withVideoOnly`, `condition`, `shippedFrom`, `brand` | Shopee's own search filters — Shopee returns only matching products, so they cost nothing extra. Products dropped by a filter are not charged. |
| `enrichProducts` | Read each product's full page too (description, brand, specifications, variants) — billed as a full page. |

#### Example: where do my products rank, in two countries

```json
{
  "searchTerms": ["wireless earbuds"],
  "countries": ["BR", "MX"],
  "maxItems": 30,
  "trackProducts": ["https://shopee.com.br/product/1515741369/58259428458", "hexun.shop"]
}
```

Checked on 20 November 2026: 60 product rows, a `rank` row for each tracked item (the Brazilian product and shop found at rank 1 in Brazil; the Brazilian link is not looked for in Mexico), two `market_summary` rows and one `country_comparison` row.

### Output

A product row:

```json
{
  "type": "product",
  "title": "Fone Bluetooth A6S Sem Fio Wireless Airdots 2 pro TWS Bluetooth Com Led",
  "url": "https://shopee.com.br/Fone-Bluetooth-A6S-Sem-Fio-Wireless-Airdots-2-pro-TWS-Bluetooth-Com-Led-i.1515741369.58259428458",
  "country": "BR", "currency": "BRL",
  "price": 23.99, "originalPrice": 30, "discountPercent": 20, "rating": 4.7,
  "priceConverted": 4.07, "convertedCurrency": "USD",
  "rank": 1, "page": 0, "position": 1, "sortedBy": "relevancy",
  "shopName": "HEXUN SHOP", "shopUsername": "hexun.shop", "shopRating": 4.76,
  "searchTerm": "wireless earbuds"
}
```

A `rank` row (free): `target`, `found`, `rank`, `page`, `positionOnPage`, `resultsChecked`, `title`, `productUrl`, `price`, `shopsAbove` (shops ranked above it), `note` when not found.

A `market_summary` row (free): `products`, `priceMin`, `priceMedian`, `priceMax`, `priceAvg` (and converted), `avgRating`, `discountedShare`, `avgDiscountPercent`, `shops`, `topShops`, `mallShare` (known when `enrichProducts` is on), `cheapest`.

Filter rows by `type` (`product`, `rank`, `market_summary`, `country_comparison`, `notice`, `error`).

Shopee reshuffles results between visits, so a rank is what this run saw at that moment. Track it on a schedule to see the trend.

### Pricing

Pay per event (Free plan price; paid Apify plans pay less):

| Event | Price | Per 1,000 |
|---|---|---|
| Product from search | $0.001 | **$1.00** |
| Full product page (`enrichProducts`) | $0.0032 | **$3.20** |
| Run start | $0.005 per run | |

Rank, summary, comparison, notice and error rows are free. On the Apify Free plan a run reads up to 10 full product pages.

### 🤖 For AI Agents & LLM Apps

Compact reference for agents calling this Actor through the [Apify MCP server](https://mcp.apify.com) or the Apify API (`apimy/shopee-search-scraper`).

**Purpose:** Shopee search results for a keyword in 11 Shopee marketplaces with the rank of each product: price (also converted to USD), price range, rating and rating count, location and the shop with its rating.

**Timing:** the input below usually finishes in about 15 seconds, so `run-sync-get-dataset-items` works. Bigger lists take proportionally longer — past a few minutes start an asynchronous run and read the dataset when it finishes (the sync endpoint stops at 5 minutes).

**Minimal input:**

```json
{"searchTerms": ["iphone 15"], "country": "TH", "maxItems": 40}
```

**Output:** one dataset row per product. Main fields: `itemId`, `shopId`, `title`, `price`, `priceMin`, `priceMax`, `priceConverted`, `convertedCurrency`, `rating`, `ratingCount`, `location`, `shopName`, `shopRating`, `rank`, `page`, `position`, `searchTerm`, `url`.

### Related

- [Shopee Scraper](https://apify.com/lergassy/shopee-scraper) — the all-in-one Shopee Actor: search, product pages, shops and customer reviews.
- [Shopee Product Scraper](https://apify.com/apimy/shopee-product-scraper) — full product pages by link, ID or keyword, with cross-country price comparison.

### Like this Actor? Leave a review

If it did its job, a one-line [review](https://apify.com/apimy/shopee-search-scraper/reviews) tells the next buyer it works. Missing a field or a country — open an issue, requests decide what ships next.

# Actor input Schema

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

Keywords to search on Shopee, one search per line. Each search returns product cards with price, original price, discount, rating, shop name, shop rating, seller city and its rank in the results.

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

Stop after this many products per keyword or URL.

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

Shopee marketplace for keyword searches. URLs keep their own country.

## `countries` (type: `array`):

Search every keyword in each of these marketplaces (overrides Country). Rows carry their own country, each keyword-country pair gets its own free <code>market_summary</code> row, and one free <code>country_comparison</code> row per keyword lines up prices in one currency.

## `trackProducts` (type: `array`):

Your product links, IDs (<code>shopId.itemId</code>) or shop links / usernames. For every keyword you get one free <code>rank</code> row per item: found or not, its rank in Shopee's results, page and position, and the shops ranked above it. The search reads as deep as "Max products per search".

## `marketSummary` (type: `boolean`):

One free <code>market_summary</code> row per keyword and country: products read, lowest / median / highest price (also converted), average rating, share discounted, share from Shopee Mall (known when full product pages are on), number of shops and the top shops by products.

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

Every product row also gets <code>priceConverted</code> and <code>originalPriceConverted</code> in this currency at the day's exchange rate (open.er-api.com), so prices from different marketplaces line up. The marketplace's own price stays in <code>price</code>.

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

Optional: Shopee category pages (…-cat.123) or search result URLs from any marketplace. The filters below apply to them as well. Each link keeps its own country.

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

Order of search results.

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

Minimum price in the marketplace's own currency. Sent to Shopee and checked against the price on each card.

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

Maximum price in the marketplace's own currency. Sent to Shopee and checked against the price on each card.

## `minRating` (type: `number`):

Keep only products rated at least this (0–5 stars). Shopee's rating filter narrows the search first; the exact value is then checked on each card, and products without a rating are dropped. Dropped products are not charged.

## `officialShopOnly` (type: `boolean`):

Only products from Shopee Mall (official brand stores). Shopee's own filter.

## `preferredSellerOnly` (type: `boolean`):

Only products from Shopee Preferred and Preferred+ sellers (called Star and Star+ in Indonesia). Shopee's own filter.

## `freeShippingOnly` (type: `boolean`):

Only products Shopee marks as free shipping. Shopee's own filter.

## `codAvailableOnly` (type: `boolean`):

Only products that can be paid on delivery (COD). Shopee's own filter.

## `discountedOnly` (type: `boolean`):

Only products with a discount right now. Shopee's own filter, then checked on each card (the card must show an original price or a discount).

## `withVideoOnly` (type: `boolean`):

Only products that have a product video. Shopee's own filter.

## `condition` (type: `string`):

New or used items. Shopee's own filter.

## `shippedFrom` (type: `string`):

A location from Shopee's "Shipped From" filter, as Shopee writes it: e.g. <code>DKI Jakarta</code>, <code>Jawa Barat</code>, <code>Jabodetabek</code> (Indonesia), <code>Singapore</code> or <code>Mainland China</code> (Singapore). If the name is not in Shopee's list for your search, that search is skipped with a free notice listing the valid names.

## `brand` (type: `string`):

A brand name, e.g. <code>Spigen</code>. When Shopee's brand filter lists it for your search, Shopee filters by it; otherwise only products with the brand in their title are kept (checked after download, dropped products not charged).

## `includeShopAndReviews` (type: `boolean`):

Search results: add the seller's shop name and rating, the product's review count, brand and price range to every card. Read from each product's page — one extra request per card, no extra charge. Turn off for the fastest possible runs.

## `enrichProducts` (type: `boolean`):

Open each product page for description, brand, image gallery, category path and seller reputation. Slower and billed per product detail.

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

Shopee serves pages per region. Residential proxies in the marketplace country give the most stable results.

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

Parallel requests.

## Actor input object example

```json
{
  "searchTerms": [
    "iphone 15"
  ],
  "maxItems": 40,
  "country": "TH",
  "countries": [],
  "trackProducts": [],
  "marketSummary": true,
  "currency": "USD",
  "categoryUrls": [],
  "sortBy": "relevancy",
  "officialShopOnly": false,
  "preferredSellerOnly": false,
  "freeShippingOnly": false,
  "codAvailableOnly": false,
  "discountedOnly": false,
  "withVideoOnly": false,
  "condition": "any",
  "includeShopAndReviews": true,
  "enrichProducts": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 3
}
```

# Actor output Schema

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

One row per Shopee listing: title, price, original price and discount, currency, rating, units sold, seller location, category path and image. Enriched rows add brand, description, stock and the seller block; shop rows summarise a store.

## `runSummary` (type: `string`):

JSON counters for the run: rows delivered, filtered out, errors and request statistics.

## `notAttempted` (type: `string`):

JSON list of inputs the run did not reach (time limit or "Max cost per run"). Not charged — pass them as input to a new run to continue. Present only when the run stopped early.

# 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": [
        "iphone 15"
    ],
    "country": "TH",
    "categoryUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("apimy/shopee-search-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": ["iphone 15"],
    "country": "TH",
    "categoryUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("apimy/shopee-search-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 '{
  "searchTerms": [
    "iphone 15"
  ],
  "country": "TH",
  "categoryUrls": []
}' |
apify call apimy/shopee-search-scraper --silent --output-dataset

```

## MCP server setup

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