# Tokopedia Product Shop Scraper - Low-cost💲🔥🛒🏬 (`delectable_incubator/tokopedia-product-shop-scraper-low-cost`) Actor

🛒🔎 Extract Tokopedia product & shop listings with ease. Collect product names, prices, discounts, ratings, sales, categories, shop names, locations, official store status, favorites, images and URLs. Ideal for e-commerce research, price monitoring, competitor analysis and marketplace datasets 📊🚀

- **URL**: https://apify.com/delectable\_incubator/tokopedia-product-shop-scraper-low-cost.md
- **Developed by:** [Prime Scrape](https://apify.com/delectable_incubator) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.00005 / actor start

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

<p align="center">
  <img src="https://i.ibb.co/jkNS73wX/readme.png" alt="Tokopedia.com Product & Shop Search Scraper" width="100%">
</p>

***

## 🛒🏬 Tokopedia.com Product & Shop Search Scraper | Bulk Search URL Scraper | Products & Shops | Apify Actor

### 🚀 Extract Tokopedia Products & Shops in Seconds (No Code)

The **Tokopedia.com Product & Shop Search Scraper (Apify Actor)** is a powerful, scalable, and SEO-optimized scraping solution designed to extract **public Tokopedia.com product and shop search results** using **bulk search URLs**.

Scrape **Tokopedia product search pages and shop search pages** and collect structured datasets including product names, prices, discounts, ratings, sales, categories, shop information, official store status, locations, favorites, product counts, images, and URLs.

Perfect for **e-commerce research, product intelligence, price monitoring, competitor analysis, marketplace analytics, shop discovery, seller research, lead generation, AI datasets, and automation.**

***

## 🔥 Why This Tokopedia Scraper?

✔ Best Tokopedia Scraper on Apify

✔ Supports Bulk Search URLs

✔ Scrape Products & Shops

✔ Automatic Search Type Detection

✔ Product Infinite Scroll

✔ Shop Page-by-Page Pagination

✔ Fast & Scalable Extraction

✔ Structured Product & Shop Data

✔ JSON / CSV / Excel Ready

✔ No Coding Required

***

## 🎯 What This Scraper Does

This Apify Actor extracts public search results directly from **Tokopedia.com**.

The search type is automatically detected from the URL:

#### 🛍️ Product Search

URLs using `st=` or `st=product` are treated as **product searches**.

The scraper collects products through Tokopedia's live data requests with HTML fallback and automatically scrolls until:

- The requested `maxitems` is reached
- No new products are found after consecutive scrolls
- No more results are available

Example:

```
https://www.tokopedia.com/search?st=&q=game
```

#### 🏬 Shop Search

URLs using `st=shop` are treated as **shop searches**.

Shop results are collected using classic page-by-page pagination:

```
https://www.tokopedia.com/search?q=phone&st=shop
```

The scraper continues through pages until:

- The requested `maxitems` is reached
- A page returns no new shops

***

## 📌 Core Features

✅ Bulk Search URL Scraping

✅ Product Search

✅ Shop Search

✅ Automatic Search Type Detection

✅ Product Infinite Scroll

✅ Shop Pagination

✅ Product Names

✅ Product Prices

✅ Original Prices

✅ Discount Percentages

✅ Ratings

✅ Sold Counts

✅ Categories

✅ Shop Names

✅ Shop Cities

✅ Shop URLs

✅ Shop Locations

✅ Official Store Status

✅ PM Pro Status

✅ Favorite Counts

✅ Product Counts

✅ Sample Products

✅ Product Images

✅ Product URLs

✅ Fast Cloud Scraping

✅ Structured Output

***

## ⚡ Input Configuration

### 🔥 BULK URL MODE 🚀

Add one or hundreds of Tokopedia search URLs.

```
{
  "urls": [
    "https://www.tokopedia.com/search?st=&q=game&srp_component_id=02.01.00.00",
    "https://www.tokopedia.com/search?q=phone&st=shop"
  ],
  "maxitems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

Each URL is processed independently and returns up to **maxitems** products or shops.

**Residential proxies are strongly recommended for Tokopedia scraping reliability.**

***

## 🛍️ Product Search Example

Use a Tokopedia product search URL:

```
https://www.tokopedia.com/search?st=&q=game
```

The scraper automatically detects the product search and collects product results.

Typical product data includes:

- Product name
- Product URL
- Product image
- Current price
- Numeric price
- Original price
- Discount
- Rating
- Sold count
- Category
- Shop information

***

## 🏬 Shop Search Example

Use a Tokopedia shop search URL:

```
https://www.tokopedia.com/search?q=phone&st=shop
```

The scraper automatically detects the shop search and collects shop results.

Typical shop data includes:

- Shop name
- Shop URL
- Shop city
- Shop location
- Official store status
- PM Pro status
- Total favorites
- Product count
- Sample products

***

## 📊 Extracted Data

| Field              | Description                  |
| ------------------ | ---------------------------- |
| type               | Result type: product or shop |
| id                 | Product or shop ID           |
| name               | Product or shop name         |
| url                | Product or shop URL          |
| imageUrl           | Product/shop image           |
| price              | Formatted product price      |
| priceNumber        | Numeric product price        |
| originalPrice      | Original product price       |
| discountPercentage | Discount percentage          |
| rating             | Product rating               |
| sold               | Number of products sold      |
| category           | Product category             |
| shopName           | Shop name                    |
| shopCity           | Shop city                    |
| shopUrl            | Shop URL                     |
| shopLocation       | Shop location                |
| isOfficial         | Official Store status        |
| isPMPro            | PM Pro status                |
| totalFavorite      | Total shop favorites         |
| productCount       | Number of products           |
| sampleProducts     | Sample products from shop    |

***

## 💡 Use Cases

Perfect for:

🛒 E-commerce Market Research

📊 Marketplace Analytics

💰 Product Price Monitoring

🏷️ Discount Tracking

🔎 Competitor Research

🏬 Seller & Shop Research

📈 Product Intelligence

🛍️ Product Discovery

🌏 Indonesian Marketplace Research

🤖 AI Training Datasets

📋 E-commerce Catalog Building

⚙️ Automation Workflows

***

## 🚀 Key Features

⚡ Bulk URL Support

🛍️ Product Search Scraping

🏬 Shop Search Scraping

🔄 Automatic Search Type Detection

📜 Infinite Scroll for Products

📄 Pagination for Shops

💰 Product Pricing

🏷️ Discount Information

⭐ Ratings

📦 Sales Data

🏪 Seller Information

📍 Shop Locations

✅ Official Store Detection

❤️ Favorite Counts

📊 Product Counts

🖼️ Product Images

🔗 Direct URLs

💾 Export-Ready Datasets

⚙️ Enterprise-Ready Apify Actor

***

## 📤 Export Formats

✔ JSON

✔ CSV

✔ Excel (XLSX)

✔ XML

✔ HTML

✔ RSS

***

## 📦 Example Product Output

```
{
  "type": "product",
  "id": "123456789",
  "name": "Gaming Mouse RGB",
  "url": "https://www.tokopedia.com/example/gaming-mouse-rgb",
  "imageUrl": "https://...",
  "price": "Rp 199.000",
  "priceNumber": 199000,
  "originalPrice": "Rp 249.000",
  "discountPercentage": "20%",
  "rating": "4.8",
  "sold": "1rb+",
  "category": "Gaming",
  "shopName": "Example Store",
  "shopCity": "Jakarta",
  "shopUrl": "https://www.tokopedia.com/example-store",
  "shopLocation": "Jakarta",
  "isOfficial": false,
  "isPMPro": true
}
```

***

## 📦 Example Shop Output

```
{
  "type": "shop",
  "id": "987654321",
  "name": "Example Official Store",
  "url": "https://www.tokopedia.com/example-store",
  "imageUrl": "https://...",
  "shopCity": "Jakarta",
  "shopUrl": "https://www.tokopedia.com/example-store",
  "shopLocation": "Jakarta, Indonesia",
  "isOfficial": true,
  "isPMPro": true,
  "totalFavorite": "125K",
  "productCount": "5.2K",
  "sampleProducts": "Gaming Mouse, Keyboard, Headset"
}
```

***

## 🔥 Why This is the BEST Tokopedia Scraper on Apify?

✔ Optimized for Apify Search Ranking

✔ Bulk Search URL Support

✔ Products & Shops in One Actor

✔ Automatic Search Type Detection

✔ Infinite Scroll Product Extraction

✔ Shop Pagination

✔ Rich E-commerce Metadata

✔ Pricing & Discount Information

✔ Seller & Shop Intelligence

✔ Official Store Detection

✔ Structured Export-Ready Datasets

✔ Enterprise-Ready Scalability

***

## 💸 Pricing

This scraper runs on a **pay-per-result** pricing model.

You only pay for successfully extracted products or shops.

**💳 Price: $0.89 / 1,000 results**

***

## ❓ FAQ

#### Can I scrape multiple Tokopedia URLs?

Yes.

Bulk URL mode is fully supported. You can provide one or hundreds of Tokopedia search URLs.

***

#### Can I scrape both products and shops?

Yes.

The scraper automatically detects whether each URL is a **product search** or **shop search**.

***

#### How does product scraping work?

Product search pages use automatic scrolling and live Tokopedia data extraction until the requested number of products is reached or no more results are available.

***

#### How does shop scraping work?

Shop searches use classic page-by-page pagination until the requested number of shops is reached or no additional shops are found.

***

#### Can I scrape thousands of results?

Yes.

Increase **maxitems** and add multiple search URLs to scale your scraping jobs.

***

#### Are Residential proxies recommended?

Yes.

Residential proxies are strongly recommended for the best Tokopedia scraping reliability.

***

#### Is coding required?

No.

Everything runs directly on Apify.

***

#### Can I export the data?

Yes.

The dataset can be exported to JSON, CSV, Excel, XML, HTML and RSS.

***

## ⚠️ Disclaimer

This tool is an independent data extraction solution and is **not affiliated with Tokopedia**.

Users are responsible for complying with Tokopedia's Terms of Service and all applicable laws.

***

## 🔗 Related Actors

We are building the complete **PrimeScrape E-commerce Intelligence Suite.**

More premium marketplace, product, shop, pricing, retail, and e-commerce data scrapers are coming soon.

🚀 Stay tuned.

***

## 🌍 PrimeScrape Ecosystem

Built for large-scale data extraction, automation, AI datasets, and business intelligence.

🛒 E-commerce Intelligence

📊 Marketplace Analytics

💰 Price Monitoring

🏷️ Discount Tracking

🏬 Seller Intelligence

📈 Competitor Research

🤖 AI Training Datasets

⚙️ Automation Pipelines

🌐 Public Data Extraction

***

## 📬 Support

⭐⭐⭐⭐⭐

If this scraper saves you time, please leave a review.

For enterprise scraping solutions, custom Apify Actors, or large-scale e-commerce scraping projects, feel free to contact **PrimeScrape**.

# Actor input Schema

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

List of Tokopedia.com search-result URLs to scrape.

The search type is auto-detected from the `st` query param:

🛍️:
https://www.tokopedia.com/search?st=\&q=game\&srp\_component\_id=02.01.00.00

🏬 Shops (st=shop) — classic page-by-page pagination (?page=N, no scrolling), until maxitems is reached or a page returns no new shops:
https://www.tokopedia.com/search?st=shop\&q=TV

⚠️ URLs must be from tokopedia.com.

## `maxitems` (type: `integer`):

Maximum number of results (products or shops) to collect per search URL.

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

Proxies to use for the requests. Residential proxies are strongly recommended for Tokopedia.

## Actor input object example

```json
{
  "urls": [
    "https://www.tokopedia.com/search?st=&q=game&srp_component_id=02.01.00.00&srp_page_id=&srp_page_title=&navsource=",
    "https://www.tokopedia.com/search?q=phone&st=shop"
  ],
  "maxitems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ID"
  }
}
```

# 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 = {
    "urls": [
        "https://www.tokopedia.com/search?st=&q=game&srp_component_id=02.01.00.00&srp_page_id=&srp_page_title=&navsource=",
        "https://www.tokopedia.com/search?q=phone&st=shop"
    ],
    "maxitems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "ID"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("delectable_incubator/tokopedia-product-shop-scraper-low-cost").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": [
        "https://www.tokopedia.com/search?st=&q=game&srp_component_id=02.01.00.00&srp_page_id=&srp_page_title=&navsource=",
        "https://www.tokopedia.com/search?q=phone&st=shop",
    ],
    "maxitems": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "ID",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("delectable_incubator/tokopedia-product-shop-scraper-low-cost").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": [
    "https://www.tokopedia.com/search?st=&q=game&srp_component_id=02.01.00.00&srp_page_id=&srp_page_title=&navsource=",
    "https://www.tokopedia.com/search?q=phone&st=shop"
  ],
  "maxitems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ID"
  }
}' |
apify call delectable_incubator/tokopedia-product-shop-scraper-low-cost --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,delectable_incubator/tokopedia-product-shop-scraper-low-cost"
        }
    }
}

```

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/2wPViwemMTjEJ4182/builds/Y2U17tycWLw2lKhga/openapi.json
