# Tiktok Shop Scraper | No Login | No Cookie (`rexreus/tiktok-shop-scraper`) Actor

Fast, lightweight HTTP scraper for TikTok Shop. Extracts prices, discounts, ratings, sales volume, seller info, full descriptions, categories, and SKU variants across US, UK, ID, JP, and global regions. No browser or login required.

- **URL**: https://apify.com/rexreus/tiktok-shop-scraper.md
- **Developed by:** [REXREUS D.O](https://apify.com/rexreus) (community)
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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?

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

<img src="https://api.apify.com/v2/key-value-stores/QpGUP94DrfXeWudPK/records/tiktok-shop-scraper-banner.png" alt="TikTok Shop Scraper banner" width="100%" />

## TikTok Shop Scraper

High-performance, HTTP-only Apify Actor for scraping product details from TikTok Shop. Built with TypeScript, Node.js 20, ESM, Apify SDK v3, and `got-scraping`.

No browser. No login. No captcha solver. Fast and cost-effective.

### Features

- **Pure HTTP Execution**: Zero headless browser overhead (no Playwright/Puppeteer). Extremely low memory and CPU usage.
- **Rich Data Fields**: Extracts title, current price, original price, discount, rating, review count, sold count, seller info (name, ID, store URL), breadcrumb categories, detailed product description, SKU, variant specifications, and high-resolution images.
- **Multi-Region Support**: Supports global regions including `US`, `GB` (UK), `ID` (Indonesia / Tokopedia Shop), `JP` (Japan), `SG`, `MY`, `TH`, `VN`, `PH`, `MX`, `ES`, `IE`, `BR`, `FR`, `IT`, `DE`, `BE`, `NL`, `PL`.
- **Smart URL Normalization**: Automatically transforms legacy product URLs (`/view/product/{id}`) into modern canonical endpoints (`/shop/pdp/x/{id}`) for clean, direct response payloads.

### Input

Provide a list of TikTok Shop product URLs and target region.

```json
{
  "productUrls": [
    "https://shop.tiktok.com/view/product/1729410714690228362",
    "https://shop.tiktok.com/jp/pdp/1732770537612674223",
    "https://shop-id.tokopedia.com/view/product/1730076935147817454"
  ],
  "region": "US",
  "maxItems": 20
}
```

#### Input Parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `productUrls` | Array<string> | Yes\* | List of TikTok Shop product page URLs. |
| `queries` | Array<string> | No\* | Search queries (v1 input). |
| `region` | String | No | Target region (e.g. `US`, `GB`, `ID`, `JP`). Default: `US`. |
| `maxItems` | Integer | No | Maximum number of items to output. Default: `20`, Maximum: `200`. |

*\*At least one of `productUrls` or `queries` must be provided.*

### Output

Results are pushed directly to the Apify Dataset. Output contains standardized and localized product details:

```json
{
  "productId": "1732770537612674223",
  "title": "【mitas公式】国内防水検査合格 レインシューズカバー 防水 折りたたみ",
  "url": "https://shop.tiktok.com/jp/pdp/x/1732770537612674223",
  "region": "JP",
  "source": "url",
  "price": "986",
  "originalPrice": "1,517",
  "discount": "Saving 531円",
  "currency": "JPY",
  "description": "・雨の日の頼れる味方！レインシューズカバー...",
  "categories": [
    "日用雑貨",
    "生活雑貨",
    "レインシューズ・カバー"
  ],
  "sellerName": "ミタス（mitas）",
  "sellerId": "7494180861574087855",
  "sellerUrl": "https://shop.tiktok.com/jp/store/mitas/7494180861574087855",
  "sold": "1.3K+",
  "rating": 4.2,
  "reviewCount": 20,
  "images": [
    "https://p16-oec-sg.ibyteimg.com/.../image1.webp",
    "https://p16-oec-sg.ibyteimg.com/.../image2.webp"
  ],
  "sku": "1732771106388214959",
  "variants": [
    {
      "skuId": "1732771106388214959",
      "name": "mset-19143176",
      "spec": "Color: Black, Size: S"
    },
    {
      "skuId": "1732771106388280495",
      "name": "mset-19143171",
      "spec": "Color: Black, Size: M"
    }
  ]
}
```

### Security and Limits

- **HTTPS Only**: Disallows insecure protocols.
- **Allowed Hosts**: `shop.tiktok.com`, `www.tiktok.com`, `shop-id.tokopedia.com`.
- **SSRF Protection**: Prevents arbitrary host redirection or internal network access.
- **No Credentials**: Never accepts, stores, or leaks user credentials or cookies.

### FAQ

**Does it use a headless browser?**\
No. All requests are handled via fast HTTP requests with lightweight HTML/JSON parsing.

**Does it support Indonesia (Tokopedia Shop)?**\
Yes. Products hosted under `shop-id.tokopedia.com` are supported and parsed directly.

**Does it require TikTok login credentials?**\
No. Only public product data is extracted. No accounts or session cookies are needed.

# Actor input Schema

## `queries` (type: `array`):

Keywords to search on TikTok Shop.

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

Direct TikTok Shop product URLs to scrape (e.g. https://shop.tiktok.com/view/product/1729410714690228362).

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

ISO country code for proxy routing and localization.

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

Maximum number of product items to extract (1 - 200).

## Actor input object example

```json
{
  "region": "US",
  "maxItems": 20
}
```

# Actor output Schema

## `dataset` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("rexreus/tiktok-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("rexreus/tiktok-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 rexreus/tiktok-shop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rexreus/tiktok-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/BAcP6ckbHJxvYYcFV/builds/Jt0c1kusnIjdb3BBA/openapi.json
