# TikTok Shop Indonesia (Shop | Tokopedia) Scraper (`wyle/tiktok-shop-sea-scraper`) Actor

Pull TikTok Shop Indonesia (Shop | Tokopedia) product listings, native product/seller IDs, live IDR prices, discounts, sales counts, ratings, and categories by keyword, shop URL, or product URL.

- **URL**: https://apify.com/wyle/tiktok-shop-sea-scraper.md
- **Developed by:** [Willy Lengkong](https://apify.com/wyle) (community)
- **Categories:** E-commerce, Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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

## TikTok Shop Indonesia (Shop | Tokopedia) Scraper

Extract product listings, native TikTok Shop product IDs (`ttsProductID`) and seller IDs (`ttsSellerID`), direct `tiktok.com/view/product/...` links, live IDR prices, discounts, sales counts, ratings, and categories from Indonesia's integrated Shop | Tokopedia marketplace. Fast and browser-free, with no login or session cookies required.

### Modes

| Mode | Input | What you get |
|---|---|---|
| Keyword Search | `searchKeywords` | Search results with native `ttsProductID`, `tiktokShopUrl`, pricing, sold counts, and seller metadata, sorted by your chosen `sortBy`. |
| Shop Catalog | `shopUrls` | Storefront catalog items from any Shop | Tokopedia seller URL or store slug (`moell-official`). |
| Product Details | `productUrls` | Direct product pricing, sold counts, ratings, and seller details from individual product URLs. |

### Supported Countries

| Code | Domain |
|---|---|
| `ID` | `www.tokopedia.com` / `www.tiktok.com` (Shop | Tokopedia Indonesia) |

### Data Modes & Proxy Tips

- **No Login Required**: Operates on public Shop | Tokopedia catalog data with zero account credentials or cookies.
- **Country Proxy Recommendation**: Works directly for light runs; for cloud or high-volume runs, Indonesian Residential Proxies (`apifyProxyCountry: "ID"`) are recommended (on Apify Cloud without custom proxy settings, an Indonesian residential proxy is configured automatically).
- **TikTok Shop Linking & Limits**: Search and shop queries include `ttsProductID`, `ttsSellerID`, `tiktokShopUrl`, and `isTikTokShop` so you can match products directly to TikTok Shop storefronts. Supports up to `maxItems` (`1`–`50000`) products per run.

### Use Cases

- **Viral Product & Trend Discovery**: Spot fast-selling beauty, fashion, and consumer products across Indonesia's TikTok Shop ecosystem.
- **Affiliate & Creator Sourcing**: Find high-velocity items with native `ttsProductID` and `tiktokShopUrl` links for creator campaigns.
- **Competitive Pricing & Promo Tracking**: Monitor live sale prices, original prices, discount percentages, and promotional badges.
- **Brand & Reseller Monitoring**: Audit authorized stores, merchant cities, and pricing compliance across Shop | Tokopedia sellers.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `searchKeywords` | `Array` | `["skincare"]` | Search queries or product keywords to scrape. |
| `shopUrls` | `Array` | `[]` | Optional Shop | Tokopedia seller URLs or store slugs (e.g., `moell-official`). |
| `productUrls` | `Array` | `[]` | Optional direct product URLs to extract. |
| `sortBy` | `String` | `"best_selling"` | Sort order: `"best_selling"`, `"relevance"`, `"highest_rating"`, `"lowest_price"`, `"highest_price"`, or `"newest"`. |
| `maxItems` | `Integer` | `50` | Maximum number of products to collect across all queries (`1`–`50000`). |
| `proxyConfiguration` | `Object` | `{"useApifyProxy": false}` | Optional Apify Proxy configuration (`ID` residential recommended for large or cloud runs). |

### Sample Output

```json
{
  "id": "1729991287383296695",
  "ttsProductID": "1729991287383231159",
  "title": "YOU THE RADIANCE WHITE BRHTENING SERIES - SKINCARE WHITE ORINAL",
  "price": 140000,
  "priceFormatted": "Rp140.000",
  "originalPrice": null,
  "originalPriceFormatted": null,
  "discountPercentage": null,
  "currency": "IDR",
  "rating": 0.0,
  "soldCount": null,
  "soldCountFormatted": null,
  "url": "https://www.tokopedia.com/cv-yamato/you-the-radiance-white-brhtening-series-skincare-white-orinal-1729991287383296695",
  "tiktokShopUrl": "https://www.tiktok.com/view/product/1729991287383231159",
  "imageUrl": "https://p16-images-common-sign-sg.tokopedia-static.net/tos-maliva-i-o3syd03w52-us/baf42b1867074cb99434d48e211329f4~tplv-o3syd03w52-resize-jpeg:300:300.jpeg",
  "shop": {
    "id": "7495558917579115191",
    "ttsSellerID": "7495558917579115191",
    "name": "cv yamato",
    "url": "https://www.tokopedia.com/cv-yamato",
    "city": "Depok",
    "tier": 1,
    "isOfficial": false
  },
  "category": {
    "id": "61",
    "name": "Kecantikan",
    "breadcrumb": "kecantikan/perawatan-wajah/paket-perawatan-wajah"
  },
  "badges": ["Depok", "Hemat s.d  8% Pakai Bonus", "Bisa COD"],
  "isTikTokShop": true,
  "scrapedAt": "2026-10-02T17:26:36.530922+00:00"
}
```

# Actor input Schema

## `searchKeywords` (type: `array`):

List of search queries or keywords to scrape products for (e.g. 'skincare', 'hijab', 'tas wanita', 'iphone').

## `shopUrls` (type: `array`):

Optional list of Shop | Tokopedia seller URLs or store slugs to extract catalogs from (e.g. 'https://www.tokopedia.com/moell-official' or 'moell-official').

## `productUrls` (type: `array`):

Optional list of direct product URLs to extract pricing, sales count, rating, and seller details from.

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

Sort order for scraped products.

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

Maximum number of products to scrape across all queries.

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

Optional Apify Proxy configuration. Indonesian residential proxies are recommended for large-scale or cloud runs.

## Actor input object example

```json
{
  "searchKeywords": [
    "skincare"
  ],
  "shopUrls": [],
  "productUrls": [],
  "sortBy": "best_selling",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "searchKeywords": [
        "skincare"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/tiktok-shop-sea-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 = { "searchKeywords": ["skincare"] }

# Run the Actor and wait for it to finish
run = client.actor("wyle/tiktok-shop-sea-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 '{
  "searchKeywords": [
    "skincare"
  ]
}' |
apify call wyle/tiktok-shop-sea-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wyle/tiktok-shop-sea-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/5UNbvZnjHST4DdsmZ/builds/MconA5lkL5d0EdNM5/openapi.json
